So I noticed in my packet captures that something on the lan is broadcasting LLC TEST packets. I read the 802.2 standard and it sounds like it is essentially a layer 2 PING function and it is required. I thought this is great! I can broadcast an L2 ping and get a reply from every node on the lan, whether it is running IP or not. Alas, after using scapy to craft and send one, I get no replies. So my question is, why am I not getting a reply? Am I misunderstanding the standard or does nobody bother to comply with it? Bonus points if you have any idea why something on the lan is broadcasting these packets that don't seem to work. The LLC header decode is:
Full packet capture here asked 06 Dec '13, 12:02 psusi edited 09 Dec '13, 06:58 |
One Answer:
Because that feature is (apparently) not widely implemented.
According to the MAC address in the frame, it comes from a device of "Senao International Co., Ltd.", which builds all kinds of networking devices. Maybe they use LLC TEST for internal purposes (finding other Senao devices or similar). You should be able to find the port of that devices by looking at the CAM table of your switch. It will show you the port that device is connected to and then you can 'follow the cables', unless your switch documentation already contains some information about that device ;-) Regards answered 09 Dec '13, 07:42 Kurt Knochner ♦ edited 09 Dec '13, 07:46 Am I misinterpreting the standard though, which seems to say that support for this packet is REQUIRED. I find it hard to believe that nobody bothers to follow a mandatory part of the standard, and what's more, even this Senao device that is sending them doesn't reply to them, which is really weird. (09 Dec '13, 08:02) psusi
well, I guess it's as always. Some people read the docs differently than others. Here is the text from the standard
Cite:
To be able to respond does not mean it is mandatory to actually respond ;-)) Some devices might be able to respond but that feature is disabled by default. Another possibilty: (most) developers stopped reading after the word optional.
well, if you look at the history of standards and the rate of fulfillment in the field, you will believe it ;-))
There you have it. Even those who use that feature don’t implement it fully ;-)) But that’s something only the vendor of that device can answer. Another possibility would be, that your hand crafted frame (scapy) was bogus. Can you post that as a capture file? (09 Dec ‘13, 08:18) Kurt Knochner ♦ @Kurt Knochner, it was identical to the one sent by the Senao device, save for the source MAC address, which I switched to my own. (10 Dec ‘13, 06:42) psusi So, do you get a TEST answer now? EDIT: I misunderstood your answer. Never mind… (10 Dec ‘13, 06:44) Kurt Knochner ♦ |
Is it possible to post the full frame in a capture file (Google drive,dropbox, cloudshark.org vor mega.co.nz)?
@Kurt Knochner, done.