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 side whenever the packet get's dropped
or captured.

Regards,
Fedor

On Sun, Aug 21, 2016 at 5:31 PM, Mitescu George Dan <mitesc...@gmail.com>
wrote:

> Hello,
>
> I am trying to use Net::RawIP in order to craft UDP packets, which have
> a custom source ip. The packets get sent, but tcpdump reports that the
> checksum which is automatically computed (according to the docs) is
> incorrect.
>
> There is a single post about this issue on perlmonks, I've also seen
> examples on the internet using Net::RawIP for this, so I've figured
> that I might be doing something wrong. I also remember Net::RawIP
> complain about being compiled for a different Perl version, but I've
> solved that by deleting perl5/site_perl/RawIP* and reinstalling the
> cpan module.
>
> You can also give me suggestions about other modules which are as easy
> to use as this one for changing the source address. :D
>
> Regards,
> Mitescu George Dan
>
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
>

Reply via email to