Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SYN scan under FreeBSD 10.0 and later. #196

Closed
wants to merge 1 commit into from
Closed

Conversation

trasz
Copy link

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

None yet

1 participant