radkesvat / ReverseTlsTunnel

Reverse Tcp Tunnel with custom sni handshake, mux support and more...
MIT License
470 stars 95 forks source link

Fixed confusing naming inconsistency from `iran_addr` to `iran_ip` #334

Open amrear opened 2 months ago

amrear commented 2 months ago

When running the program in the foreign server, if the IP address of the foreign server is not provided, it complains that the argument iran-addr is missing. After providing the argument it still complains about it. Upon further investigation I figured that all of the docs are using iran-ip instead of iran-addr and it expect the former as well, it just says the wrong thing. There is a naming inconstancy in the globals.nim file, I changed all of the iran_addrs to iran_ip to avoid further confusion. Hope I didn't break anything.