Issue 132 in dpkt: IPv6 doesn't handle ESP packets sanely

4 views
Skip to first unread message

dp...@googlecode.com

unread,
Sep 12, 2014, 12:27:08 PM9/12/14
to dp...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 132 by nux...@gmail.com: IPv6 doesn't handle ESP packets sanely
https://code.google.com/p/dpkt/issues/detail?id=132

Under IPv6, ESP packets are "handled" as an Extension Heaeder and dpkt
raises a NotImplemented Exception.


Since the next-hdr field of an ESP header refers to the encrypted payload,
I don't think there is really much that could be done here. Firing an
exception is a bit extreme, I think it is better to just not consider this
an extension and let the parser stop there.


Attached is a diff that removes ESP from the list of extension headers.

Attachments:
ip6-esp.diff 973 bytes

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages