Date: Sun, 11 Jan 2004 15:35:33 +0000 From: Bruce M Simpson <bms@spc.org> To: YACINE GHANJAOUI <001VA36979@stud.alakhawayn.ma> Cc: freebsd-hackers@freebsd.org Subject: Re: freebsd-hackers Digest, Vol 42, Issue 6 Message-ID: <20040111153533.GH17555@saboteur.dek.spc.org> In-Reply-To: <Pine.SOL.3.96.1040109155656.15980B-100000@stud.alakhawayn.ma> References: <Pine.SOL.3.96.1040109075752.16064A-100000@stud.alakhawayn.ma> <Pine.SOL.3.96.1040109155656.15980B-100000@stud.alakhawayn.ma>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 09, 2004 at 03:57:07PM +0000, YACINE GHANJAOUI wrote: > when trying to intercept UDP packet after changing the protocol number > from 17 to a user one (99) in the ip_input.c file. when trying to > regenrate the packet after inserting some bit errors an error message > appears in the reciever telling that The udp checksum is incorrect even if > i just change the ip Header. > What do you think the problem is? You didn't read how UDP checksums were calculated, did you? Here is one free clue: Look at the definition of in_pseudo() and where it is used. Use the source. look! BMS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040111153533.GH17555>