Re: Creating and transmitting raw IP packets
Thanks for pointing out that manpage, that's illuminating more aspects of raw IP packet creation in FreeBSD.
I modified the two packet fields to be set to host byte order as indicated.
ip_len = ntohs(20);
ip_off = ntohs(0);
Still getting the...
My goal is to create an IP packet with just headers and no payload. I am using http://www.enderunix.org/docs/en/rawipspoof/ as a guide. The current issue is that I cannot appease sendto() and I'm not sure how to get more verbose feedback on which parameter is invalid and how it is invalid...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.