Thanks Sascha,

You are receiving a "Destination Unreachable" response packet, with a bad checksum. It is "unexpected" because we already got a ping result for the device, as you have seen. I don't know why you are getting these phantom pings, nor do I know why they would be failing the checksum.

(Eric goes off and reads the RFCs...)

I believe the response is coming from 84.203.146.8 although the original ping went to 84.203.146.138. Perhaps you could start with 84.203.146.8 and figure out why it feels the need to volunteer with its dirty packets.

If you change:

   icmppkt = icmp.Packet(ipreply.data)

to:

  icmppkt = icmp.Packet(ipreply.data, 0)

In $ZENHOME/Products/ZenStatus/AsyncPing.py, then it won't fail the checksum and log the error, but you will still get "unexpected" log messages.

-Eric


Sascha Luck wrote:
Hi Eric,

On Wed, Jan 03, 2007 at 08:59:35AM -0500, Eric Newton wrote:
If you can determine what kind of device is sending you the bad ping,
please let us know.

Doesn't appear to be tied to any particular device. The devices pinged
immediately before the error respond normally to CLI pings ans do the
others...

If you add:
   plog.debug('pkt' + `data`)
This will print out the ping packet in a format that we can use to
diagnose why the packet is bad.

Cool, here is a log run with the above line and -v 10:

DEBUG:zen.Ping:unexpected pkt 84.203.161.180 <ICMP packet 0 0 7118 6>
DEBUG:zen.Ping:pkt:
'E\x00$\x00\xd7\x17\x00\x00>\x01\xf5HT\xcb\x92\x08[\x8en\x03\x03\x01\x1c\xa6\x00\x00\x00\x00E\x00p\x00J?\x00\x00=\x01\x82{[\x8en\x03T\xcb\x92\x8a\x08\x00\x02)\xce\x1b\x08\x00'
ERROR:zen.Ping:receiving packet error: ŠEpJ?={[nT)Î
raceback (most recent call last):
  File "/usr/local/zenoss/Products/ZenStatus/AsyncPing.py", line 143, in
recvPackets
    icmppkt = icmp.Packet(ipreply.data)
  File "/usr/local/zenoss/Products/ZenStatus/icmp.py", line 48, in
__init__
    self.__disassemble(packet, cksum)
  File "/usr/local/zenoss/Products/ZenStatus/icmp.py", line 85, in
__disassemble
    raise ValueError, packet
ValueError: ŠEpJ?={[nT)Î

EBUG:zen.Ping:pkt:
'E\x00H\x00+z\x00\x00>\x01\x91hT\xcb\xa1b[\x8en\x03\x00\x00?\xcb\xce\x1b\t\x00\x08\x00\x00\x00N\xcc\x9bE\xef\x06\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
DEBUG:zen.Ping:unexpected pkt 84.203.161.98 <ICMP packet 0 0 7118 9>
DEBUG:zen.Ping:pkt:
'E\x00$\x00\x00\x00\x00\x00\xfd\x01\x07OT\xcb\x98\x19[\x8en\x03\x0b\x00jY\x00\x00\x00\x00E\x00\\\x00J=\x00\x00\x01\x01u\xc9[\x8en\x03T\xcb\xdb>\x08\x00\xad\x8a\xce\x1b\x07\x00'
ERROR:zen.Ping:receiving packet error:
                                       jYE\J=uÉ[nTËÛ­Î
raceback (most recent call last):
  File "/usr/local/zenoss/Products/ZenStatus/AsyncPing.py", line 143, in
recvPackets
    icmppkt = icmp.Packet(ipreply.data)
  File "/usr/local/zenoss/Products/ZenStatus/icmp.py", line 48, in
__init__
    self.__disassemble(packet, cksum)
  File "/usr/local/zenoss/Products/ZenStatus/icmp.py", line 85, in
__disassemble
    raise ValueError, packet
ValueError:
            jYE\J=uÉ[nTËÛ­Î

EBUG:zen.Ping:pkt:
'E\x00H\x00\x0b\xbf\x00\x00>\x01\xbaiT\xcb\x98\x1c[\x8en\x03\x00\x00(R\xce\x1b\n\x00\x08\x00\x00\x00N\xcc\x9bE\x05\x80\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'

Cheers,
Sascha Luck
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users


_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to