haad / proxychains

proxychains - a tool that forces any TCP connection made by any given application to follow through proxy like TOR or any other SOCKS4, SOCKS5 or HTTP(S) proxy. Supported auth-types: "user/pass" for SOCKS4/5, "basic" for HTTP.
http://proxychains.sourceforge.net/
GNU General Public License v2.0
6.27k stars 603 forks source link

Is there anyone knows how to 'traceroute' over proxies? #149

Closed Allgot closed 1 year ago

Allgot commented 1 year ago

Hello.

Currently I'm trying to traceroute over the proxy which supports SOCKS(4, 5) and HTTP protocol.

However it doesn't seem to work properly... Here is how I tried: sudo proxychains traceroute --tcp www.google.com sudo proxychains traceroute --udp www.google.com sudo proxychains traceroute www.google.com

And how I configured(/etc/proxychains.conf): ... socks5 {IP} {PORT} {USERNAME} {PASSWORD} I also tried using socks4 and http too.

Is there anyone knows how to do traceroute in such cases?

ValdikSS commented 1 year ago

You can't. Traceroute is based on the fact that you send the IP packets with low TTL and increase it gradually. No proxy protocol support manipulation of TTL field.

Allgot commented 1 year ago

Ohh... I didn't know about it at all. Then the only way to traceroute remotly is using VPN services, rather than proxies?

ValdikSS commented 1 year ago

Yes.

Allgot commented 1 year ago

Thanks!