wie kann ich den dump nur, ausgehenden IP-Paketen in tcpdump?

Ich bin dumping ausgehenden Datenverkehr. Ich will nur TCP-und UDP-Pakete bestimmt außerhalb meines LAN, sonst nichts. Ich habe gerade verwendet die folgenden filter mit tcpdump:

ip and (tcp or udp) and (not icmp) and src host myIPAddr and not dst net myNet/myNetBits and not ip broadcast

Aber ich nahm das folgende Paket:

###[ Ethernet ]###
  dst       = ff:ff:ff:ff:ff:ff
  src       = 00:1e:4a:e0:9e:00
  type      = 0x806
###[ ARP ]###
     hwtype    = 0x1
     ptype     = 0x800
     hwlen     = 6
     plen      = 4
     op        = who-has
     hwsrc     = 00:1e:4a:e0:9e:00
     psrc      = X.X.X.X
     hwdst     = 00:00:00:00:00:00
     pdst      = Y.Y.Y.Y
###[ Padding ]###
        load      = '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'

Was ist hier passiert? Ich dachte, ich war dumping nur IP-Pakete.

InformationsquelleAutor Ricky Robinson | 2012-06-05

Schreibe einen Kommentar