[Parti-discuss] [PATCH] allow tcp to bind to all interfaces

Antoine Martin antoine at nagafix.co.uk
Tue May 5 14:39:51 PDT 2009


Nathaniel Smith wrote:
> On Tue, May 5, 2009 at 5:43 AM, Antoine Martin <antoine at nagafix.co.uk> wrote:
>> I thought that the TCP code that defaults to "127.0.0.1" was a good
>> idea, but in fact it gets in the way of allowing it to bind to all
>> interfaces (which is also done by using "" as the IP).
>> Other options would have added command line switches and complications,
>> this is the easiest option. It may require updating the man page to make
>> it clear (although it does say tcp mode is insecure)
> 
> What happens if you use "0.0.0.0" as the host now? Does it give what you want?
> 
> If so, then I'd rather document that and leave the default
> (relatively) secure...
Hah, I wasn't aware of this option, doesn't seem to be documented where
I looked.
Works for me! (you can drop the patch)

Thanks
Antoine




More information about the Parti-discuss mailing list