DhavalKapil / icmptunnel

Transparently tunnel your IP traffic through ICMP echo and reply packets.
https://dhavalkapil.com/icmptunnel/
3.06k stars 342 forks source link

Payload size is small. #15

Open spl0i7 opened 8 years ago

spl0i7 commented 8 years ago

[DEBUG] Reading from tunnel [DEBUG] Sending ICMP packet with payload_size: 60, payload: E [DEBUG] Data needs to be readed from tun device [DEBUG] Preparing ICMP packet to be sent [DEBUG] Destination address: 192.168.56.105 [DEBUG] Reading from tunnel [DEBUG] Sending ICMP packet with payload_size: 60, payload: E [DEBUG] Data needs to be readed from tun device [DEBUG] Preparing ICMP packet to be sent [DEBUG] Destination address: 192.168.56.105 [DEBUG] Reading from tunnel [DEBUG] Sending ICMP packet with payload_size: 60, payload: E

As you can see payload_size is very small and hence viewing any page is almost impossible , any workaround this problem?

DhavalKapil commented 8 years ago

Payload size is calculated here

It is the size of packets which are received on the tun interface. So most probably it is an issue on your side. Can you describe in some more detail? As in what all interfaces are there and whether this is on the server side or the client?

spl0i7 commented 8 years ago

@DhavalKapil Server has a simple setup , It has two interfaces eth0 (for routing traffic from and to tun ) and tun0 . Client also has similar setup . This issue was observed in three separate server. Two were setup on the internet and one on LAN but had same issue. I tried with 2 different client but result is no different.