Re: [Openvpn-devel] question about openvpn_ethhdr and openvpn_iphdr

2013-12-20 Thread Abdullah Alshalan
Thank you Gert, no wonder my code was working when I used the tab interface. Now that I'm using tun interface, my code worked by eliminating the ethernet header processing. Thanks again! - Abdullah On Dec 20, 2013, at 1:19 AM, Gert Doering wrote: > Hi, > > On Thu, Dec 19, 2013 at 06:56:19PM -

Re: [Openvpn-devel] question about openvpn_ethhdr and openvpn_iphdr

2013-12-20 Thread Gert Doering
Hi, On Thu, Dec 19, 2013 at 06:56:19PM -0700, Abdullah Alshalan wrote: > I tried to print out the ethernet and IP headers of the packets in the > incoming_tun buffer. The methods that does the printing is mentioned below. > I run the modified openvpn code and established a VPN tunnel.. I establis

[Openvpn-devel] question about openvpn_ethhdr and openvpn_iphdr

2013-12-20 Thread Abdullah Alshalan
Hi, I've been working on modifying openvpn code for certain requirements I wanna implement and I'm running into a few problems which I hope someone in this mailing list could help me with or just give me some insight about them. I tried to print out the ethernet and IP headers of the packets in