Bitcoin Forum
November 09, 2024, 03:55:04 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: BTC Full Node listen=0  (Read 137 times)
Bitcoiner2023 (OP)
Member
**
Offline Offline

Activity: 106
Merit: 49


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
nc50lc
Legendary
*
Online Online

Activity: 2590
Merit: 6356


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: 3430
Merit: 3165


Playbet.io - Crypto Casino and Sportsbook


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.

███████████████
█████████████████████
██████▄▄███████████████
██████▐████▄▄████████████
██████▐██▀▀▀██▄▄█████████
████████▌█████▀██▄▄██████
██████████████████▌█████
█████████████▀▄██▀▀██████
██████▐██▄▄█▌███████████
██████▐████▀█████████████
██████▀▀███████████████
█████████████████████
███████████████

.... ..Playbet.io..Casino & Sportsbook.....Grab up to  BTC + 800 Free Spins........
████████████████████████████████████████
██████████████████████████████████████████████
██████▄▄████████████████████████████████████████
██████▐████▄▄█████████████████████████████████████
██████▐██▀▀▀██▄▄██████████████████████████████████
████████▌█████▀██▄▄█████▄███▄███▄███▄█████████████
██████████████████▌████▀░░██▌██▄▄▄██████████████
█████████████▀▄██▀▀█████▄░░██▌██▄░░▄▄████▄███████
██████▐██▄▄█▌██████████▀███▀███▀███▀███▀█████████
██████▐████▀██████████████████████████████████████
██████▀▀████████████████████████████████████████
██████████████████████████████████████████████
████████████████████████████████████████
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18746


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
*
Offline Offline

Activity: 1694
Merit: 8326


Fiatheist


View Profile WWW
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).

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
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!