Nmap Development mailing list archives

A patch to fix the SCTP (-PY) ping


From: Marin Maržić <marzic () gmail com>
Date: Wed, 15 May 2013 21:15:54 +0200

Found that -PY did not work when Nmap was actually getting SCTP
responses. The responses came and were logged, but the host was never
marked as active. The -sY scan did not have these problems and correctly
identified ports as open (init-ack response) or closed (abort response).

Had to take the daring first look at the source. Turns out there was a
'==' that should have been '!='. Wonder how long that's been there. The
1 byte patch is attached.

This seems to be a nice testing server for SCTP:
nmap -d --packet-trace -n -sn -PY80 scanme.roe.ch

Marin

Attachment: nmap.patch
Description:

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

Current thread: