🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83699

Re: Multiple bind addresses

#83699
From: D. Stussy
Date: Fri, 10 Dec 2010 21:23
20 lines
2035 bytes
"Steve Crook" <steve@mixmin.net> wrote in message
news:slrnig40jd.iq6.steve@news.mixmin.net...
> Looking at the man page for inn.conf, it appears that both bindaddress
> and bind6address will only take a single address.  This makes it
> impossible to bind inn to a specific external address and localhost.  Is
> there a way to do it, or are there good reasons for not doing it?

True.  These bind only to a specific address.

Reason:  That's the way networking is implemented.  One may bind to a
specific address or to the unspecified address ("0.0.0.0" or "::").
Likewise, one may bind to a specific port or let the OS choose one.  The
limitation is in the TCP/IP socket interface.

If you want to bind to specific, multiple addresses, you have two choices:
1)  Run multiple instances of the program, or
2)  Run one instance of the program (using the unspecified address) and
limit access via another means (e.g. a firewall).

Technical Details
Message-ID: <idu5p3$3e9$1@snarked.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!news.glorb.com!news.snarked.org!pool-71-118-51-202.lsanca.dsl-w.verizon.net!not-for-mail
References: <slrnig40jd.iq6.steve@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <idu5p3$3e9$1@snarked.org>
Subject: Re: Multiple bind addresses
Date: Fri, 10 Dec 2010 13:23:39 -0800
From: "D. Stussy" <spam+newsgroups@bde-arc.ampr.org>
References: <slrnig40jd.iq6.steve@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!news.glorb.com!news.snarked.org!pool-71-118-51-202.lsanca.dsl-w.verizon.net!not-for-mail
Newsgroups: news.software.nntp
Lines: 20
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
Injection-Date: Fri, 10 Dec 2010 21:23:48 +0000 (UTC)
Injection-Info: snarked.org;
 posting-host="pool-71-118-51-202.lsanca.dsl-w.verizon.net:71.118.51.202";
 logging-data="3529"; mail-complaints-to="newsmaster+complaints@snarked.org"
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478