[求助]snmp(net-snmp)问题
本帖最后由 ichni 于 2011-02-23 10:40 编辑
snmpd启动后,过一段时间后就消失了,用TCPDUMP看了一下数据包,
发现每次都是发生在接受GetBulk数据包时后,有谁遇到过吗??
------------------------
13:51:11.941255 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: UDP (17), length: 214) HOSTA.55867 > HOSTB.snmp: { SNMPv2c { GetBulk(169) R=1104625242 N=10 M=1 25.1.6 25.2.2 E:2021.10.1.5.0 E:2021.10.1.5.1 E:2021.10.1.5.2 E:2021.4.3 E:2021.4.4 E:2021.4.5 E:2021.4.6 E:2021.4.11 } }
13:51:11.941705 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: UDP (17), length: 244) HOSTB.snmp > HOSTA.55867: { SNMPv2c { GetResponse(199) R=1104625242 25.1.6.0=160 25.2.2.0=2076620 E:2021.10.1.5.1=0 E:2021.10.1.5.2=1 E:2021.10.1.5.3=0 E:2021.4.3.0=3911816 E:2021.4.4.0=3911752 E:2021.4.5.0=2076620 E:2021.4.6.0=219740 E:2021.4.11.0=4131492 } }
13:51:11.942263 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: UDP (17), length: 210) HOSTA.55867 > HOSTB.snmp: { SNMPv2c { GetBulk(165) R=1104625244 N=10 M=1 E:2021.4.13 E:2021.4.14 E:2021.4.15 E:2021.4.100 E:2021.11.3 E:2021.11.4 E:2021.11.7 E:2021.11.8 E:2021.11.50 E:2021.11.51 } }
13:51:11.942477 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: UDP (17), length: 23 HOSTB.snmp > HOSTA.55867: { SNMPv2c { GetResponse(193) R=1104625244 E:2021.4.13.0=0 E:2021.4.14.0=574352 E:2021.4.15.0=803804 E:2021.4.100.0=0 E:2021.11.3.0=0 E:2021.11.4.0=0 E:2021.11.7.0=-3 E:2021.11.8.0=-2 E:2021.11.50.0=5302022 E:2021.11.51.0=2731713 } }
13:51:11.943004 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: UDP (17), length: 210) HOSTA.55867 > HOSTB.snmp: { SNMPv2c { GetBulk(165) R=1104625246 N=10 M=1 E:2021.11.52 E:2021.11.53 E:2021.11.54 E:2021.11.55 E:2021.11.56 E:2021.11.57 E:2021.11.58 E:2021.11.59 E:2021.11.60 E:2021.11.61 } }
13:51:11.943200 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: UDP (17), length: 259) HOSTB.snmp > HOSTA.55867: { SNMPv2c { GetResponse(214) R=1104625246 E:2021.11.52.0=31374366 E:2021.11.53.0=3202606329 E:2021.11.54.0=6859225 E:2021.11.55.0=21171545 E:2021.11.56.0=2727482 E:2021.11.57.0=1480407654 E:2021.11.58.0=513775536 E:2021.11.59.0=2444853612 E:2021.11.60.0=1152816085 E:2021.11.61.0=7475339 } }
13:51:11.943762 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: UDP (17), length: 292) HOSTA.55867 > HOSTB.snmp: { SNMPv2c { GetBulk(246) R=1104625248 N=6 M=2 E:2021.11.62 E:2021.11.63 E:8072.1.3.2.4.1.2.18.109.121.115.113.108.95.115.108.111.119.95.113.117.101.114.105.101.115.0 E:8072.1.3.2.4.1.2.13.109.121.115.113.108.95.113.117.101.114.105.101.115.0 E:8072.1.3.2.4.1.2.9.109.121.115.113.108.95.113.112.115.0 E:8072.1.3.2.4.1.2.17.109.121.115.113.108.95.112.114.111.120.121.95.113.117.101.117.101.0 interfaces.ifTable.ifEntry.ifDescr interfaces.ifTable.ifEntry.ifSpeed interfaces.ifTable.ifEntry.ifInOctets interfaces.ifTable.ifEntry.ifInUcastPkts } }
13:51:19.146726 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: UDP (17), length: 292) HOSTA.55867 > HOSTB.snmp: { SNMPv2c { GetBulk(246) R=1104625248 N=6 M=2 E:2021.11.62 E:2021.11.63 E:8072.1.3.2.4.1.2.18.109.121.115.113.108.95.115.108.111.119.95.113.117.101.114.105.101.115.0 E:8072.1.3.2.4.1.2.13.109.121.115.113.108.95.113.117.101.114.105.101.115.0 E:8072.1.3.2.4.1.2.9.109.121.115.113.108.95.113.112.115.0 E:8072.1.3.2.4.1.2.17.109.121.115.113.108.95.112.114.111.120.121.95.113.117.101.117.101.0 interfaces.ifTable.ifEntry.ifDescr interfaces.ifTable.ifEntry.ifSpeed interfaces.ifTable.ifEntry.ifInOctets interfaces.ifTable.ifEntry.ifInUcastPkts } }
13:51:26.348653 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: UDP (17), length: 292) HOSTA.55867 > HOSTB.snmp: { SNMPv2c { GetBulk(246) R=1104625248 N=6 M=2 E:2021.11.62 E:2021.11.63 E:8072.1.3.2.4.1.2.18.109.121.115.113.108.95.115.108.111.119.95.113.117.101.114.105.101.115.0 E:8072.1.3.2.4.1.2.13.109.121.115.113.108.95.113.117.101.114.105.101.115.0 E:8072.1.3.2.4.1.2.9.109.121.115.113.108.95.113.112.115.0 E:8072.1.3.2.4.1.2.17.109.121.115.113.108.95.112.114.111.120.121.95.113.117.101.117.101.0 interfaces.ifTable.ifEntry.ifDescr interfaces.ifTable.ifEntry.ifSpeed interfaces.ifTable.ifEntry.ifInOctets interfaces.ifTable.ifEntry.ifInUcastPkts } }
13:51:33.550655 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: UDP (17), length: 292) HOSTA.55867 > HOSTB.snmp: { SNMPv2c { GetBulk(246) R=1104625248 N=6 M=2 E:2021.11.62 E:2021.11.63 E:8072.1.3.2.4.1.2.18.109.121.115.113.108.95.115.108.111.119.95.113.117.101.114.105.101.115.0 E:8072.1.3.2.4.1.2.13.109.121.115.113.108.95.113.117.101.114.105.101.115.0 E:8072.1.3.2.4.1.2.9.109.121.115.113.108.95.113.112.115.0 E:8072.1.3.2.4.1.2.17.109.121.115.113.108.95.112.114.111.120.121.95.113.117.101.117.101.0 interfaces.ifTable.ifEntry.ifDescr interfaces.ifTable.ifEntry.ifSpeed interfaces.ifTable.ifEntry.ifInOctets interfaces.ifTable.ifEntry.ifInUcastPkts } }
13:51:40.752555 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: UDP (17), length: 292) HOSTA.55867 > HOSTB.snmp: { SNMPv2c { GetBulk(246) R=1104625248 N=6 M=2 E:2021.11.62 E:2021.11.63 E:8072.1.3.2.4.1.2.18.109.121.115.113.108.95.115.108.111.119.95.113.117.101.114.105.101.115.0 E:8072.1.3.2.4.1.2.13.109.121.115.113.108.95.113.117.101.114.105.101.115.0 E:8072.1.3.2.4.1.2.9.109.121.115.113.108.95.113.112.115.0 E:8072.1.3.2.4.1.2.17.109.121.115.113.108.95.112.114.111.120.121.95.113.117.101.117.101.0 interfaces.ifTable.ifEntry.ifDescr interfaces.ifTable.ifEntry.ifSpeed interfaces.ifTable.ifEntry.ifInOctets interfaces.ifTable.ifEntry.ifInUcastPkts } }}
--------------------------
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
本帖最后由 ichni 于 2011-02-23 10:41 编辑
HOSTB接到这个包,snmpd就crash了,有人看的懂这个包吗。
13:51:11.943762 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: UDP (17), length: 292) HOSTA.55867 > HOSTB.snmp: { SNMPv2c { GetBulk(246) R=1104625248 N=6 M=2 E:2021.11.62 E:2021.11.63 E:8072.1.3.2.4.1.2.18.109.121.115.113.108.95.115.108.111.119.95.113.117.101.114.105.101.115.0 E:8072.1.3.2.4.1.2.13.109.121.115.113.108.95.113.117.101.114.105.101.115.0 E:8072.1.3.2.4.1.2.9.109.121.115.113.108.95.113.112.115.0 E:8072.1.3.2.4.1.2.17.109.121.115.113.108.95.112.114.111.120.121.95.113.117.101.117.101.0 interfaces.ifTable.ifEntry.ifDescr interfaces.ifTable.ifEntry.ifSpeed interfaces.ifTable.ifEntry.ifInOctets interfaces.ifTable.ifEntry.ifInUcastPkts } }