Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: johnyj on February 12, 2013, 10:44:41 PM



Title: Is it possible to block BTC related traffic in a firewall?
Post by: johnyj on February 12, 2013, 10:44:41 PM
If I block port 8333, will it still work?

Or simply, can I use port 80 in a node?


Title: Re: Is it possible to block BTC related traffic in a firewall?
Post by: Schleicher on February 13, 2013, 01:42:02 AM
It depends on how restrictive the firewall is.
Usually it doesn't matter what port your client uses.
If port 80 is not being blocked then you only need someone running a client on port 80 to connect to it.


Title: Re: Is it possible to block BTC related traffic in a firewall?
Post by: celkaris on February 13, 2013, 02:44:01 AM
layer 7 filtering : http://l7-filter.sourceforge.net/


Title: Re: Is it possible to block BTC related traffic in a firewall?
Post by: johnyj on February 13, 2013, 03:09:16 AM
It depends on how restrictive the firewall is.
Usually it doesn't matter what port your client uses.
If port 80 is not being blocked then you only need someone running a client on port 80 to connect to it.

If a client is running on port 80, will it be able to connect to rest of the network?


Title: Re: Is it possible to block BTC related traffic in a firewall?
Post by: Schleicher on February 13, 2013, 05:16:34 AM
If a client is running on port 80, will it be able to connect to rest of the network?
It's the other way around.
It will only connect when someone else has a client running on port 80.
That's assuming the firewall is not being totally paranoid.


Title: Re: Is it possible to block BTC related traffic in a firewall?
Post by: Buffer Overflow on February 20, 2013, 07:47:18 PM
If I block port 8333, will it still work?

Depends. Are you blocking the incoming or outgoing packets?


Title: Re: Is it possible to block BTC related traffic in a firewall?
Post by: tpantlik on February 20, 2013, 07:54:59 PM
You can use tor to bypass firewall blocking bitcoin port. And even if it is actively trying to block tor you can still try to connect with tor bridge.


Title: Re: Is it possible to block BTC related traffic in a firewall?
Post by: Buffer Overflow on February 20, 2013, 10:59:31 PM
If a client is running on port 80, will it be able to connect to rest of the network?

Ports 0 - 1023 are special ports that would require your Bitcoin client to be running at elevated root privilege. (Bad idea.)

Bitcoin won't bind to port 80 as a normal user.


Title: Re: Is it possible to block BTC related traffic in a firewall?
Post by: johnyj on February 21, 2013, 12:35:10 AM
Thanks, just want to evaluate the risk of a block at major back-bone switch. Google and youtube are totally blocked in main land china, so I suppose it is not very difficult for government to do such a block if they decided to do so


Title: Re: Is it possible to block BTC related traffic in a firewall?
Post by: gmaxwell on February 21, 2013, 01:29:13 AM
Bitcoin isn't an anti-censorship system— it's trivial to block.

If you're concerned about bitcoin being blocked setup and maintain a Bitcoin node on a tor hidden service (see doc/Tor.txt), we could use some more of them.


Title: Re: Is it possible to block BTC related traffic in a firewall?
Post by: celkaris on February 21, 2013, 09:32:21 AM
if your problem is about censorship, you oculd have a look at "BoF" project, haven't tried it, but it may help.

Bof = "Bitcoin over Freenet" ; you probably already heard about Freenet [ http://freenetproject.org/ ]  if you live in china & are concerned by censorship.

Can't link to USK here, but you'll find the link from most index freesites.