linux – tcpdump:“ethertype Unknown”?

在调试DNS问题时(显然UDP数据包在网络上丢失),我绊倒了许多(但不是全部)“ethertype UnkNown”消息,如下所示. Tcpdump使用“-n -i any port 53”运行

17:34:43.826196 IP 127.0.0.1.46508> 127.0.0.1.53:57861 A? collector-123.newrelic.com. (44)
17:34:43.826221 IP 127.0.0.1.46508> 127.0.0.1.53:20016 AAAA? collector-123.newrelic.com. (44)
17:34:43.826314 IP 127.0.0.1.53> 127.0.0.1.46508:57861 1/0/0 A 50.31.164.223(60)
17:34:43.826505 IP 82.94.181.250.38280> 208.78.70.21.53:4554 AAAA? collector-123.newrelic.com. (44)
17:34:43.826510 Out 00:25:90:4b:94:dc ethertype UnkNown(0x0067),长度92:
0x0000:0000 0800 4500 0048 ef3d 4000 4011 2cab …. E..H.= @.@.,.
0x0010:525e b5fa d04e 4615 9588 0035 0034 1f02 R ^ … NF …. 5.4 ..
0x0020:11ca 0000 0001 0000 0000 0000 0d63 6f6c …………. col
0x0030:6c65 6374 6f72 2d31 3233 086e 6577 7265 lector-123.newre
0x0040:6c69 6303 636f 6d00 001c 0001 lic.com …..
17:34:43.826512 Out 00:25:90:4b:94:dc ethertype UnkNown(0x0067),.
0x0010:525e b5fa d04e 4615 9588 0035 0034 1f02 R ^ … NF …. 5.4 ..
0x0020:11ca 0000 0001 0000 0000 0000 0d63 6f6c …………. col
0x0030:6c65 6374 6f72 2d31 3233 086e 6577 7265 lector-123.newre
0x0040:6c69 6303 636f 6d00 001c 0001 lic.com …..
17:34:43.828629 00:1e:13:c1:52:00 ethertype UnkNown(0x0067),长度159:
0x0000:0000 0800 4500 008b b1dd 0000 3611 b3c8 …. E ……. 6 …
0x0010:d04e 4615 525e b5fa 0035 9588 0077 8a5a .NF.R ^ … 5 … w.Z
0x0020:11ca 8400 0001 0000 0001 0000 0d63 6f6c …………. col
0x0030:6c65 6374 6f72 2d31 3233 086e 6577 7265 lector-123.newre
0x0040:6c69 6303 636f 6d00 001c 0001 c01a 0006 lic.com ………
0x0050:0001 0000 0e10 0037 036e 7331 0370 3231 ……. 7.ns1.p21
0x0060:0664 796e 6563 7403 6e65 7400 0c64 6f6d .dynect.net..dom
0x0070:6169 6e2d 6164 6d69 6ec0 1a00 0002 3400 ain-admin ….. 4.
0x0080:000e 1000 0002 5800 093a 8000 000e 10 …… X ..:…..

什么会导致这些?它可能与硬件卸载到nic有关吗?有害吗?

解决方法

看起来转储中有4个字节的偏移量. ethertype是“0800”,但tcpdump认为ethertype是“0045”,这实际上是IP头的开头.

也许您正在使用VLAN(向帧添加4个字节).是的,它可以与卸载或接口相关(例如,使用eth0.X而不是eth0,其中X是VLAN).不,它听起来并不有害.

相关文章

Linux中的ARP防火墙主要用于防御ARP欺骗攻击,其效果取决于多...
insmod和modprobe加-f参数导致Invalid module format错误 这...
将ArchLinux安装到U盘 几个月前入门Arch的时候上网搜了不少安...
1、安装Apache。 1)执行如下命令,安装Apache服务及其扩展包...
一、先说一下用ansible批量采集机器信息的实现办法: 1、先把...
安装配置 1. 安装vsftpd 检查是否安装了vsftpd # rpm -qa | ...