Hello all;
I have recently encountered a problem when using raw sockets on FreeBSD 8
(8.0-RELEASE) when using ESP raw sockets.
I have created a raw esp socket using:
socket(AF_INET, SOCK_RAW, 50);
which works fine. However, when there is a packet on the socket, recvfrom()
returns a packet where t
On Jul 11, 2011, at 5:26 PM, Matthew Cini Sarreo wrote:
> Hello all;
>
> I have recently encountered a problem when using raw sockets on FreeBSD 8
> (8.0-RELEASE) when using ESP raw sockets.
>
> I have created a raw esp socket using:
> socket(AF_INET, SOCK_RAW, 50);
> which works fine. However,
Thanks for your reply. Where can I find documentation about this? (Or would
it be possible for you to direct me at the proper sources?)
Thanks & Regards
Matt
On 11 July 2011 18:01, Michael Tüxen wrote:
> On Jul 11, 2011, at 5:26 PM, Matthew Cini Sarreo wrote:
>
> > Hello all;
> >
> > I have rece
On Jul 12, 2011, at 11:23 AM, Matthew Cini Sarreo wrote:
> Thanks for your reply. Where can I find documentation about this? (Or would
> it be possible for you to direct me at the proper sources?)
At
http://fxr.watson.org/fxr/source/netinet/ip_input.c#L464
the length field is converted to host by
On 11.07.2011 17:26, Matthew Cini Sarreo wrote:
Hello all;
I have recently encountered a problem when using raw sockets on FreeBSD 8
(8.0-RELEASE) when using ESP raw sockets.
I have created a raw esp socket using:
socket(AF_INET, SOCK_RAW, 50);
which works fine. However, when there is a packet
I have tested the provided patch and can confirm that the IP header length
for raw sockets now properly includes the length of the IP header and not
just the data.
Thanks & Regards,
Matt
On 5 August 2011 19:29, Andre Oppermann wrote:
> On 11.07.2011 17:26, Matthew Cini Sarreo wrote:
>
>> Hello