sorry, I made a mistake, the tcpdump can capture the IP packet, but I don't
know why the HTTP server (python -m SimpleHTTPServer) responds such an
strange IP packet. when I use normal web browser to access it, it works
fine.

On Tue, Oct 20, 2015 at 1:23 PM, liu wen <caonimagongl...@gmail.com> wrote:

> Hi, all:
>
>
>     I run the following command lines to create a Virtual interface tun2
>      sudo openvpn --mktun --dev tun2
>      sudo ip link set tun2 up
>      sudo ip addr add 10.0.0.1/24 dev tun2
>
>     and I run a simple HTTP server on 10.0.0.1:8000
>
>     then I wrote a TCP program which transfer tcp packets from a web
> browser to the HTTP server through the TUN interface(tun2). (so it sends
> SYN to 10.0.0.1:8000, reads SYN_ACK and sends ACK and then sends HTTP
> request ...)
>
>     I read packets from tun2 and get an unexpected packet, which is of 72
> bytes and with a protocol number 255. The related info is as below:
>
>     read_tun: read 72 bytes
>     iphdr->ip_p:255, ip packet length:72, iphdr->ip_hl:5
>
> it is strange coz I use tcpdump to capture packets on tun2 and dont see
> the packet from the captured files.
>
>     so what is this packet? why is it here?
>
>
>
------------------------------------------------------------------------------
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to