Binding to "any"
Marcus Rueckert
darix at web.de
Tue May 15 11:33:45 CEST 2007
On 2007-05-15 10:50:02 +0200, Dag-Erling Smørgrav wrote:
> Date: Tue, 15 May 2007 10:50:02 +0200
> From: Dag-Erling Smørgrav <des at linpro.no>
> Subject: Re: Binding to "any"
> To: Marcus Rueckert <darix at web.de>
> Cc: varnish-dev at projects.linpro.no
> X-DSPAM-Result: Innocent
> X-DSPAM-Confidence: 0.9933
> X-DSPAM-Probability: 0.0000
>
> Marcus Rueckert <darix at web.de> writes:
> > On 2007-05-14 16:50:58 +0200, Dag-Erling Smørgrav wrote:
> > > On Linux, the current behaviour is good enough - binding to either
> > > INADDR_ANY or IN6ADDR_ANY will give you both.
> > bind the ipv6 binds with IPV6_ONLY. than you get the same behavior as
> > on *BSD. postfix does that e.g. you just need to detect the socket type.
>
> OK, so the only practical difference is that IPV6_V6ONLY is the default
> on Linux? Don't know why I never thought of that.
no. ipv6_only is default on *bsd. linux defaults to ipv6_only off.
> This still means we need to modify the listening socket setup code to
> handle multiple sockets resulting from a single specification, for
> instance ":80" -> { 0.0.0.0:80, [::]:80 }.
yes.
darix
--
openSUSE - SUSE Linux is my linux
openSUSE is good for you
www.opensuse.org
More information about the varnish-dev
mailing list