DhavalKapil / icmptunnel

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

Fix #12 Segmentation fault #13

Closed jjungo closed 8 years ago

jjungo commented 8 years ago

Problem: bad parsing argument Solution: * check the number of arguments * first argument is "-s" or "-c"

This commit doesn't check if IPv4 is valid.

DhavalKapil commented 8 years ago

Thanks :+1: