Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Downloading through TOR partially bypasses TOR network. #9677
Comments
|
You did not specify |
|
@dstftw Try it for yourself... running tcpdump. |
|
Use |
|
@yan12125 youtube-dl --proxy socks5://127.0.0.1:9150 --external-downloader /usr/local/bin/curl --external-downloader-args '''--socks5 127.0.0.1:9150''' By the way can you please reopen this ticket until it is resolved? |
|
I'll test it later and reopen it if I can reproduce it. |
|
Confirmed. There's at least a DNS lookup not going through Tor but my local DNS server. |
|
Found the problem - the argument passed to curl is wrong. From curl 7.40's man page: (partial)
So a possible combination can be:
Note that youtube-dl sends DNS lookup requests to SOCKS proxies for |
When using the following command to route the download through TOR... the initial part of the transfer that fetches file info still goes over the non-TOR network, i.e. it bypasses TOR.
youtube-dl --external-downloader /usr/local/bin/curl --external-downloader-args '''--socks5 127.0.0.1:9150''' URL
Verified using tcpdump.