Title: Listening behind a router Post by: jackjack on April 17, 2013, 08:38:50 PM I'm not really into networking and I'm wondering how satoshi client can listen to ports behind a router
I know that upnp does that, but even when I compiled (I may be wrong, it's years ago) without upnp, it's still able to connect to the network (that famous 8-limit) So:
Title: Re: Listening behind a router Post by: Schleicher on April 17, 2013, 11:22:18 PM The client is actively trying to connect to other clients until the connection limit is reached.
Listening is only possible with UPnP enabled or if you change the router's settings. Title: Re: Listening behind a router Post by: grue on April 18, 2013, 01:46:25 AM
Title: Re: Listening behind a router Post by: jackjack on April 18, 2013, 07:22:30 AM Thanks guys
Do we know the ratio outgoing-only/upnp enabled clients? Title: Re: Listening behind a router Post by: grue on April 18, 2013, 05:29:36 PM Thanks guys 1. get a list of peers using getpeerinfo RPC commandDo we know the ratio outgoing-only/upnp enabled clients? 2. use telnet to open a TCP connection 3. if the tcp connection succeeds, the screen will turn black, and will eventually boot you back to command prompt. if it fails, it will say connection refused or similar. |