Skip to content

Fix SYN scan under FreeBSD 10.0 and later.#196

Closed
trasz wants to merge 1 commit into
nmap:masterfrom
trasz:master
Closed

Fix SYN scan under FreeBSD 10.0 and later.#196
trasz wants to merge 1 commit into
nmap:masterfrom
trasz:master

Conversation

@trasz
Copy link
Copy Markdown

@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>

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
Copy link
Copy Markdown
Author

trasz commented Aug 6, 2015

Ah, I forgot!

Sponsored by: The FreeBSD Foundation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant