DhavalKapil / icmptunnel

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

Segmentation fault #12

Closed spl0i7 closed 8 years ago

spl0i7 commented 8 years ago

After compiling and executing

# ./icmptunnel

I am getting segmentation fault. Tested this on both debian 8 and ubuntu 14.04 and both give same error.

DhavalKapil commented 8 years ago

I haven't yet added checks for parameters. This is not how it should be run. See the Readme once.

jjungo commented 8 years ago

Do you want a PR for that (without getopt)?

DhavalKapil commented 8 years ago

Why do you think getopt should not be used?

jjungo commented 8 years ago

In this case, I think it's like using a bazooka for killing a bee...

DhavalKapil commented 8 years ago

:+1: Fine with me