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