Hi all,
I guess that everything is fine with Net::RawIP.
tcpdump can't verify checksums if UDP / TCP checksum offloading(TCO) isn't
turned off.
See, for example -
https://sokratisg.net/2012/04/01/udp-tcp-checksum-errors-from-tcpdump-nic-hardware-offloading/
You can also check on the receiver si
This is my current code. I have also tried declaring the header data
inside the constructor, with no change.
my $fdp = Net::RawIP->new({udp =>{}});
$fdp->set({
ip => {
saddr => $ip->{dest_ip},
daddr => $ip->{src_ip}
},
udp => {
This is my current code. I have also tried setting the header data
inside the constructor, but with no difference. This is also how it's
written inside the perldoc.
my $fdp = Net::RawIP->new({udp =>{}});
$fdp->set({
ip => {
saddr => $ip->{dest_ip},
daddr => $ip->{src