Re: ESP Raw Socket: Returned IP packet incorrect

2011-08-08 Thread Matthew Cini Sarreo
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: >

Re: ESP Raw Socket: Returned IP packet incorrect

2011-07-12 Thread Matthew Cini Sarreo
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

ESP Raw Socket: Returned IP packet incorrect

2011-07-11 Thread Matthew Cini Sarreo
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