Fix SYN scan under FreeBSD 10.0 and later. #196

Closed
wants to merge 1 commit into
from

Projects

None yet

1 participant

@trasz
trasz commented Aug 6, 2015

The byte order of some IP header fields has changed, see:

https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/versions.html

This fixes problem that manifested like this:

sendto in send_ip_packet_sd: sendto(5, packet, 44, 0, 127.0.0.1, 16) => Invalid argument
Offending packet: TCP 127.0.0.1:62353 > 127.0.0.1:995 S ttl=40 id=64012 iplen=11264 seq=1481935911 win=1024 <mss 1460>

@trasz trasz Fix SYN scan under FreeBSD 10.0 and later.
The byte order of some IP header fields has changed, see:

https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/versions.html

This fixes problem that manifested like this:

sendto in send_ip_packet_sd: sendto(5, packet, 44, 0, 127.0.0.1, 16) => Invalid argument
Offending packet: TCP 127.0.0.1:62353 > 127.0.0.1:995 S ttl=40 id=64012 iplen=11264  seq=1481935911 win=1024 <mss 1460>
b21dae1
@trasz
trasz commented Aug 6, 2015

Ah, I forgot!

Sponsored by: The FreeBSD Foundation

@nmap-bot nmap-bot closed this in 9ab82ec Aug 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment