Documentation of pyshark module is very modest. Can you help me with understanding basic ouput of my code?
import pyshark
capture = pyshark.LiveCapture(interface='eno1')
for packet in capture.sniff_continuously(packet_count=1):
if packet['eth']:
print(packet['eth'])
And this is the example output:
Layer ETH:
Destination: ff:ff:ff:ff:ff:ff
Address: ff:ff:ff:ff:ff:ff
.... ..1. .... .... .... .... = LG bit: Locally administered address (this is NOT the factory default)
.... ...1 .... .... .... .... = IG bit: Group address (multicast/broadcast)
Source: 02:eb:9f:67:c9:42
Type: Unknown (0x8942)
Address: 02:eb:9f:67:c9:42
.... ..1. .... .... .... .... = LG bit: Locally administered address (this is NOT the factory default)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
What does the lines destination, address, source etc means? First destination and address are broadcast info, right?