Bitcoin Forum
May 10, 2024, 05:31:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: The BTC Client Should Randomly Change Ports Every So Often, And Encrypt Traffic!  (Read 1522 times)
gigabytecoin (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 252


View Profile
May 04, 2011, 08:31:23 PM
 #1

Quite a large order I am aware... but perhaps we could borrow some code from the bittorrent/utorrent projects?

One of the problems that torrents faced a year or two ago was "throttling" or traffic shaping by ISPs. Read: meddling with consumer's software programs via the net.

If I am not mistaken, the port randomization and traffic encryption abilities of torrent clients got around this.

Perhaps constantly rotating ports would not be possible without some sort of centralized tracker that torrents make use of? But surely it would be possible to eliminate any "signatures" that bitcoin might leave in it's transmission messages by encrypting the data.
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715362297
Hero Member
*
Offline Offline

Posts: 1715362297

View Profile Personal Message (Offline)

Ignore
1715362297
Reply with quote  #2

1715362297
Report to moderator
1715362297
Hero Member
*
Offline Offline

Posts: 1715362297

View Profile Personal Message (Offline)

Ignore
1715362297
Reply with quote  #2

1715362297
Report to moderator
1715362297
Hero Member
*
Offline Offline

Posts: 1715362297

View Profile Personal Message (Offline)

Ignore
1715362297
Reply with quote  #2

1715362297
Report to moderator
goblin
Member
**
Offline Offline

Activity: 80
Merit: 10


View Profile
May 04, 2011, 08:35:31 PM
 #2

Quite a large order I am aware... but perhaps we could borrow some code from the bittorrent/utorrent projects?

One of the problems that torrents faced a year or two ago was "throttling" or traffic shaping by ISPs. Read: meddling with consumer's software programs via the net.

If I am not mistaken, the port randomization and traffic encryption abilities of torrent clients got around this.

Perhaps constantly rotating ports would not be possible without some sort of centralized tracker that torrents make use of? But surely it would be possible to eliminate any "signatures" that bitcoin might leave in it's transmission messages by encrypting the data.
Would be very handy to have one single framework for p2p applications that would handle all this stuff...

But before it's done and before all p2p networks are migrated to it... ;-)

You can use bitcoin via tor, there should be several nodes available as a hidden service.
SmokeTooMuch
Legendary
*
Offline Offline

Activity: 860
Merit: 1021


View Profile
May 04, 2011, 09:33:02 PM
Last edit: May 04, 2011, 10:17:25 PM by SmokeTooMuch
 #3

Use Tor for encryption, then your ISP do not know that you are having Bitcoin traffic.
As long as there is an exit node in your circuit that's ISP allowes bitcoin traffic we should be safe.

And I'm not sure about the ports. Since we do not need to forward the port to have bitcoin work, I don't know if it was a problem if every network participant would have this port closed. So mabye port rotating isn't necessary, but I do not know for sure.

Date Registered: 2009-12-10 | I'm using GPG, pm me for my public key. | Bitcoin on Reddit: https://www.reddit.com/r/btc
gigabytecoin (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 252


View Profile
May 06, 2011, 08:02:30 PM
 #4

Use Tor for encryption, then your ISP do not know that you are having Bitcoin traffic.
As long as there is an exit node in your circuit that's ISP allowes bitcoin traffic we should be safe.

And I'm not sure about the ports. Since we do not need to forward the port to have bitcoin work, I don't know if it was a problem if every network participant would have this port closed. So mabye port rotating isn't necessary, but I do not know for sure.

It's not about ports being opened or closed on the router, it's about hiding your traffic from the ISPs so that they do not know you are running torrents, bitcoins, etc...
wumpus
Hero Member
*****
qt
Offline Offline

Activity: 812
Merit: 1022

No Maps for These Territories


View Profile
May 07, 2011, 08:19:55 AM
 #5

Would be very handy to have one single framework for p2p applications that would handle all this stuff...
Indeed. Bitcoin shouldn't try to re-invent the wheel in this regard, but use a time-tested protocol such as Tor.

Ideally by using peers that are hidden services so you don't have to rely on exit nodes (which are possibly doing timing attacks).

Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
Vandroiy
Legendary
*
Offline Offline

Activity: 1036
Merit: 1002


View Profile
May 07, 2011, 03:15:31 PM
 #6

Sigh. What ISP is stupid enough to deliberately block his client from doing money transactions? Seriously, if an ISP does that, it's high time to get a different one.

Maybe they mistake it for a small part of some high-volume p2p traffic though. I just recently was shocked to notice how many people have heavily throttled or otherwise sabotaged connections. If you want to work around that, you'll be fighting a battle against the people routing your traffic, who don't want to actually do their job. This should be a last resort, if there exists no functioning provider. If they change the rules, the adaption becomes useless, and the cycle repeats.

My suggestion to those having the problem: first try to fight the root of the problem, by getting a provider that delivers without asking people to perform a little dance first.
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!