In __str__ in the class IP6, IP6 sets the checksum of the payload (TCP or
ICMP6) to
self.data.sum = dpkt.in_cksum_done(s + self.nxt + len(p))
The correct statement is
self.data.sum = dpkt.in_cksum_done(s + socket.htons(self.nxt + len(p)))
Original issue reported on code.google.com by avkulka...@gmail.com on 15 Aug 2008 at 5:39
Original issue reported on code.google.com by
avkulka...@gmail.com
on 15 Aug 2008 at 5:39