Bitcoin Forum
April 20, 2024, 04:18:53 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Tor warns me about socks4 using port 8333  (Read 6750 times)
bp (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
July 07, 2011, 01:25:20 AM
 #1

My wallet is the simple Windows one  Bitcoin vs. o.3.23 beta.
It doesn't do socks 4a which Tor seems to want. Is there a way around this  (that doesn't require a Linix guru recompiling something)?

I don't like those yellow waring messages:

"Jul 06 18:12:45.953 [Warning] Your application (using socks4 to port 8333) is giving Tor only an IP address. Applications that do DNS resolves themselves may leak information. Consider using Socks4A (e.g. via privoxy or socat) instead. For more information, please see https://wiki.torproject.org/TheOnionRouter/TorFAQ#SOCKSAndDNS."

It only does it when I'm runnining bitcoin, which I want to while I'm Tor browsing.
1713586733
Hero Member
*
Offline Offline

Posts: 1713586733

View Profile Personal Message (Offline)

Ignore
1713586733
Reply with quote  #2

1713586733
Report to moderator
1713586733
Hero Member
*
Offline Offline

Posts: 1713586733

View Profile Personal Message (Offline)

Ignore
1713586733
Reply with quote  #2

1713586733
Report to moderator
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713586733
Hero Member
*
Offline Offline

Posts: 1713586733

View Profile Personal Message (Offline)

Ignore
1713586733
Reply with quote  #2

1713586733
Report to moderator
1713586733
Hero Member
*
Offline Offline

Posts: 1713586733

View Profile Personal Message (Offline)

Ignore
1713586733
Reply with quote  #2

1713586733
Report to moderator
1713586733
Hero Member
*
Offline Offline

Posts: 1713586733

View Profile Personal Message (Offline)

Ignore
1713586733
Reply with quote  #2

1713586733
Report to moderator
akwala
Newbie
*
Offline Offline

Activity: 4
Merit: 0



View Profile
July 07, 2011, 01:34:11 AM
 #2

Here are the instructions to use Tor through Privoxy: http://www.privoxy.org/faq/misc.html#TOR
bp (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
July 07, 2011, 02:03:40 AM
 #3

Here are the instructions to use Tor through Privoxy: http://www.privoxy.org/faq/misc.html#TOR

I've got the bundle running polipo. "They" say it's better due to pipelining?


akwala
Newbie
*
Offline Offline

Activity: 4
Merit: 0



View Profile
July 07, 2011, 02:17:11 AM
 #4

I've got the bundle running polipo. "They" say it's better due to pipelining?

Check the value of socksProxyType in polipo config -- you probably want it to be 'socks4a' or 'socks5':
http://www.pps.jussieu.fr/~jch/software/polipo/manual/SOCKS-parent-proxies.html
bp (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
July 07, 2011, 02:24:28 AM
 #5

I've got the bundle running polipo. "They" say it's better due to pipelining?

Check the value of socksProxyType in polipo config -- you probably want it to be 'socks4a' or 'socks5':
http://www.pps.jussieu.fr/~jch/software/polipo/manual/SOCKS-parent-proxies.html



Quote
# Uncomment this if you want to use a parent SOCKS proxy:

socksParentProxy = "localhost:9050"
socksProxyType = socks5


that's how it reads now. I'm thinking the missing pound signs at the beginning of those 2 lines means it is already configured to use socks 5.
I could try 4a?
I wish Bitcoin just had 4a built in as I believe that is where the problem is being generated.
akwala
Newbie
*
Offline Offline

Activity: 4
Merit: 0



View Profile
July 07, 2011, 03:10:35 AM
 #6


Quote
# Uncomment this if you want to use a parent SOCKS proxy:

socksParentProxy = "localhost:9050"
socksProxyType = socks5


that's how it reads now. I'm thinking the missing pound signs at the beginning of those 2 lines means it is already configured to use socks 5.
I could try 4a?
I wish Bitcoin just had 4a built in as I believe that is where the problem is being generated.

Your polipo config looks right. My Bitcoin client (on linux) offers only socks4 for connecting thru a proxy, yours is too most likely.

Satoshi addressed the issue in this thread: https://174.143.149.98/smf/index.php?topic=22.0
Quote
When using proxy port 9050, it will only make one attempt to connect to IRC, then give up, since it knows it will probably always fail because IRC servers ban all the TOR exit nodes.  If you're using another port, it would assume it might be a regular old normal proxy and would keep retrying IRC at longer and longer intervals.  You should not use Polipo or Privoxy as those are http filters and caches that would corrupt Bitcoin's messages if they make any changes.  Bitcoin might be trying to overcome it by reconnecting.  You should use port 9050.

As riX says, the "is giving Tor only an IP address. Apps that do DNS..." warnings are nothing to worry about.  Bitcoin doesn't use DNS at all in proxy mode.
This is from Feb 2010 but most likely still applies. I am now at the boundary of my knowledge re this... here's what Tor FAQ saya about this warning:
https://trac.torproject.org/projects/tor/wiki/doc/TorFAQ#IkeepseeingthesewarningsaboutSOCKSandDNSandinformationleaks.ShouldIworry
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!