Date: Fri, 11 Oct 2002 14:57:40 +0330 From: "soheil hassas yeganeh" <soheil_h_y@hotmail.com> To: freebsd-net@FreeBSD.ORG Subject: IP bad cksum (0!) Message-ID: <F83YiMCIqtQvAauNjVu0000036e@hotmail.com>
next in thread | raw e-mail | index | archive | help
Hi list to recompute the checksum of the ip packets i wrote this lines in the ip_input.c files : ip->ip_sum =0 ; if(hlen == sizeof(struct ip)) ip->ip_sum = in_cksum_hdr(ip); else ip->ip_sum = in_cksum(m,hlen); When i make a dump it says that it has bad cksum 0! 12:25:11.858759 62.217.112.165 > 66.201.71.98: icmp: echo reply (ttl 42, id 17879, len 84, bad cksum 0!) I don't know why this doesn't work ?????? THANX _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F83YiMCIqtQvAauNjVu0000036e>