Nmap Development mailing list archives

Re: [PATCH] UDP --badsum fix


From: Andreas Ericsson <ae () op5 se>
Date: Tue, 23 Jan 2007 16:20:47 +0100

Kris Katterjohn wrote:
Fyodor wrote:
On Mon, Jan 22, 2007 at 12:07:45PM -0800, doug () hcsw org wrote:
Small fix. I was reading the UDP RFC http://www.ietf.org/rfc/rfc768.txt
Great catch!  Would you apply it to /nmap ?  Also, I think the change
should probably go into at least the osscan.cc:174 instance below
(changing to a decrement should be fine):

I just searched through the other RFCs, and it looks like only UDP has
this rule. So, yeah, only the osscan.cc should be changed.


Search through the various kernel sources instead, and you'll find that
the same holds for IP, ICMP and pretty much every packet-type availabled.
UDP might be the only protocol it's RFC'd for, but it's done for all of
them (on most systems).

-- 
Andreas Ericsson                   andreas.ericsson () op5 se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: