warjiang / dpkt

Automatically exported from code.google.com/p/dpkt
Other
0 stars 0 forks source link

multiple IPv6 extension headers of the same type aren't handled #133

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
dpkt stores ipv6 extension headers in a way that only allows it to store one 
extension header of each type.

While most of the headers may only appear once, the destination options header 
is allowed to appear twice and dpkt will only keep the 2nd copy when parsing a 
packet. In general it would be nice if invalid packets containing multiple 
instances of any of the options was parsed too.

Original issue reported on code.google.com by nux...@gmail.com on 12 Sep 2014 at 4:41