Re: dynamic IP for publicfile

Peter van Dijk <[email protected]> Mon, 18 Nov 2002 11:30:17 +0100
Newsgroups gmane.comp.djb.publicfile
Message-ID <[email protected]>
On Sat, Nov 16, 2002 at 07:04:14PM +0100, Clemens Fischer wrote:
[snip]
> > How do I configure publicfile to bind to my new IP whenever it changes?
> 
> this isn't neccessary just to share files.  it would be tcpserver(1)'s
> task to do so, as it handles the connections for publicfile, which
> sees network connections on its standard fd's.
> 
> i don't think tcpserver has such an option.  AFAIK binding to the IP
> of some interface would make it complicated to connect thru the
> loopback device, ie. you'd have trouble watching your server from
> inside your setup.  this can only be interesting if you have several
> inbterfaces to the outside, and you want to run several servers on
> each IP.

You can bind tcpserver to '0' and it will be accessible on all
devices.

Greetz, Peter
-- 
[email protected]  |  http://www.dataloss.nl/  |  Undernet:#clue