Bitcoin Forum
May 13, 2024, 01:11:10 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: BTC Full Node listen=0  (Read 118 times)
Bitcoiner2023 (OP)
Member
**
Offline Offline

Activity: 88
Merit: 32


View Profile
June 18, 2023, 09:24:23 AM
 #1

Good day friends,
i have a question about incoming connections.

With listen=0 I command my node not to accept incoming connections, and my node connects to a maximum of 8 other nodes with the command.

What exactly are the advantages and disadvantages of listen=0 and should I better leave it at =1 ?

 

Thanks very much
1715605870
Hero Member
*
Offline Offline

Posts: 1715605870

View Profile Personal Message (Offline)

Ignore
1715605870
Reply with quote  #2

1715605870
Report to moderator
1715605870
Hero Member
*
Offline Offline

Posts: 1715605870

View Profile Personal Message (Offline)

Ignore
1715605870
Reply with quote  #2

1715605870
Report to moderator
TalkImg was created especially for hosting images on bitcointalk.org: try it next time you want to post an image
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715605870
Hero Member
*
Offline Offline

Posts: 1715605870

View Profile Personal Message (Offline)

Ignore
1715605870
Reply with quote  #2

1715605870
Report to moderator
1715605870
Hero Member
*
Offline Offline

Posts: 1715605870

View Profile Personal Message (Offline)

Ignore
1715605870
Reply with quote  #2

1715605870
Report to moderator
1715605870
Hero Member
*
Offline Offline

Posts: 1715605870

View Profile Personal Message (Offline)

Ignore
1715605870
Reply with quote  #2

1715605870
Report to moderator
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5601


Self-proclaimed Genius


View Profile
June 18, 2023, 10:58:09 AM
Merited by ABCbits (1)
 #2

What exactly are the advantages and disadvantages of listen=0 and should I better leave it at =1 ?
It's more of a "help" to the network than self-advantage.
Since with listen=1, other nodes can initiate connection to your node which is usually those who need to download the blockchain.

The disadvantage is you'll likely use more internet bandwidth with it stayed enabled.
That's if your router is already setup accordingly; otherwise, your node still can not allow inbound connections even with listen=1.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
BitMaxz
Legendary
*
Offline Offline

Activity: 3248
Merit: 2972


Block halving is coming.


View Profile WWW
June 18, 2023, 02:27:19 PM
 #3

When using listen=1 you are likely exposing your IP to someone who wants to connect to your node and there is a potential risk on listen=1 without using TOR or hidden service malicious nodes/attackers can attempt to exploit something in your node.
Since it reveals your IP to someone you already compromise your privacy and it consumes much CPU and memory.

However, if you want to participate on the network you can leave it enabled but make sure to enable Tor service to avoid malicious attacks.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18515


View Profile
June 18, 2023, 02:50:47 PM
Merited by BitMaxz (1), ABCbits (1)
 #4

When using listen=1 you are likely exposing your IP to someone who wants to connect to your node and there is a potential risk on listen=1 without using TOR or hidden service malicious nodes/attackers can attempt to exploit something in your node.
Since it reveals your IP to someone you already compromise your privacy and it consumes much CPU and memory.
If you set listen=0 then your node simply rejects incoming connections. It will still make outgoing connections, because otherwise how would it function as a node at all? Each peer you are connected to will be able to see your IP, regardless of what setting you use for listen.

If privacy is your goal, then the only solution is running via Tor (or maybe a VPN, depending on your particular needs).
BlackHatCoiner
Legendary
*
Online Online

Activity: 1512
Merit: 7364


Farewell, Leo


View Profile
June 19, 2023, 04:43:27 PM
 #5

Listening lets other nodes initiate a connection with you. Both non-listening and listening nodes are vital for the network, but listening nodes establish more connections than non-listening, and therefore require more bandwidth.

They're more important in the sense that there can't be a network without listening nodes (but it can without non-listening).

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
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!