Nmap Development mailing list archives

Re: [PATCH] Incorrect SCTP checksum calculation on 64-bit architecture


From: David Fifield <david () bamsoftware com>
Date: Sat, 1 Dec 2012 15:04:19 -0800

On Sat, Dec 01, 2012 at 06:16:59PM +0100, Pontus Andersson wrote:
I found that all SCTP scans were silently discarded on receiver side when
running nmap on 64-bit architecture.
The discards were due to incorrect checksum on SCTP level and might result
in a false negative.

Patch is attached.

Thank you, this is a great find. I have committed you patch, and
verified that an SCTP without the patch fails and one with the patch
succeeds.

# nmap -sY scanme.roe.ch
PORT    STATE SERVICE
7/sctp  open  echo
9/sctp  open  discard
80/sctp open  http

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


Current thread: