|
|||||||||||
|
an other bug?
From: sandr8 <sandr8(at)blu.it>
Date: Fri Jun 20 2003 - 16:41:02 EDT
---8<------------ begin extract from libnet_build_ipv4 ----------------------------------- if (sum == 0 && l->injection_type != LIBNET_RAW4) {
/*
this is not a rare thing... just suppose an ipv4 in ipv4... or an ipv4 in an upper layer... well when somebody specifies 0 as checksum for a pblock and doesn't libnet_toggle_checksum() over that pblock his intention is to have the pblock checksummed by us... so if it doesn't happen we are not adhering the contract with the user programmer... maybe in his intention that inner ip will somewhere be extracted and sent over a network and in that moment it's important that it has the right checksum (if the user programmer wanted it checksummed).
if you confirm it's a bug,
if (sum == 0)
To unsubscribe, e-mail: libnet-unsubscribe@securityfocus.com For additional commands, e-mail: libnet-help@securityfocus.com Received on Sat Jun 21 13:15:57 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:24 EDT |
||||||||||
|
|||||||||||