Issue 77 in dpkt: icmp6 type/code slip duplicate?

1 view
Skip to first unread message

dp...@googlecode.com

unread,
Sep 27, 2011, 10:33:40 AM9/27/11
to dp...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 77 by ruy.su...@gmail.com: icmp6 type/code slip duplicate?
http://code.google.com/p/dpkt/issues/detail?id=77

What steps will reproduce the problem?

>>> print binascii.b2a_hex(buf)
002314008b3c000c29ea6fad86dd6000000000203afffe80000000000000020c29fffeea6fadfe80000000000000655dc7efb798391387000be800000000fe80000000000000655dc7efb79839130101000c29ea6fad
>>> frame = dpkt.ethernet.Ethernet(buf)
>>> print binascii.b2a_hex(str(frame))
002314008b3c000c29ea6fad86dd6000000000203afffe80000000000000020c29fffeea6fadfe80000000000000655dc7efb798391387000be887000be800000000fe80000000000000655dc7efb79839130101000c29ea6fad

icmp6 type and code and the back 4bytes is duplicate unpacked.

What is the expected output? What do you see instead?
The above.

What version of the product are you using? On what operating system?
First line of icmp6.py
# $Id: icmp6.py 23 2006-11-08 15:45:33Z dugsong $

Please provide any additional information below.

***** C:\DEV\PYTHON\ICMP6_ORIGINAL.PY
71: except (KeyError, dpkt.UnpackError):
72: self.data = buf
***** C:\DEV\PYTHON\ICMP6.PY
71: except (KeyError, dpkt.UnpackError):
72: pass
*****

Same icmp.py.
Maybe work.

dp...@googlecode.com

unread,
Oct 20, 2011, 9:14:32 AM10/20/11
to dp...@googlegroups.com

Comment #1 on issue 77 by ruy.su...@gmail.com: icmp6 type/code slip
duplicate?
http://code.google.com/p/dpkt/issues/detail?id=77

It was the same problem as Issue 59.
Sorry.

Reply all
Reply to author
Forward
0 new messages