Subject: | UDP Checksum Error |
The UDP checksum calculation is wrong because the UDP length field was
omitted from the pseudo-header. This can be fixed by applying the
attached patch.
Subject: | netpacket_udp_cksum_fix.patch |
--- NetPacket/UDP.pm.orig 2010-03-30 13:27:41.000000000 -0400
+++ NetPacket/UDP.pm 2010-04-02 14:22:06.000000000 -0400
@@ -122,6 +122,7 @@
$dest_ip,
0,
$proto,
+ $self->{len},
# proper UDP part
$self->{src_port},
$self->{dest_port},