Re: ip_input - chksum - why is it done so early in ip_input?

2004-01-26 Thread Ruslan Ermilov
On Sat, Jan 17, 2004 at 12:50:04AM +0100, Sten Daniel S?rsdal wrote: Apologies for the cross-post, i wasnt sure if this was hackers or net material. I've often wondered why ip checksumming is done on every incoming packet and not only on the packets that need to be delivered locally. It

Re: ip_input - chksum - why is it done so early in ip_input?

2004-01-18 Thread Crist J. Clark
On Sat, Jan 17, 2004 at 12:50:04AM +0100, Sten Daniel S?rsdal wrote: Apologies for the cross-post, i wasnt sure if this was hackers or net material. I've often wondered why ip checksumming is done on every incoming packet and not only on the packets that need to be delivered locally. It

Re: ip_input - chksum - why is it done so early in ip_input?

2004-01-17 Thread Andre Oppermann
Sten Daniel Sørsdal wrote: Apologies for the cross-post, i wasnt sure if this was hackers or net material. I've often wondered why ip checksumming is done on every incoming packet and not only on the packets that need to be delivered locally. Only the IP header checksum is checked. We

Re: ip_input - chksum - why is it done so early in ip_input?

2004-01-17 Thread Robert Watson
On Sat, 17 Jan 2004, Andre Oppermann wrote: Besides that i'd like to add that FreeBSD has the fastest forwarding engine i've seen on any free OS. It's in my opinion a very suitable OS for routing/forwarding. We are working on it to make it even faster. If you are using 5.2 or -current

ip_input - chksum - why is it done so early in ip_input?

2004-01-16 Thread Sten Daniel Sørsdal
Apologies for the cross-post, i wasnt sure if this was hackers or net material. I've often wondered why ip checksumming is done on every incoming packet and not only on the packets that need to be delivered locally. It looks like a very expensive way of doing it, especially on high PPS.