pcp
[Top] [All Lists]

Re: IPv6 conditional

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: IPv6 conditional
From: fche@xxxxxxxxxx (Frank Ch. Eigler)
Date: Tue, 26 Mar 2013 13:17:16 -0400
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <514AAB1A.9060101@xxxxxxxxxxxxxxxx> (Ken McDonell's message of "Thu, 21 Mar 2013 17:39:22 +1100")
References: <514AAB1A.9060101@xxxxxxxxxxxxxxxx>
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
Ken McDonell <kenj@xxxxxxxxxxxxxxxx> writes:

> [...]
> But what if the kernel does not have IPv6 support, e.g. on Gentoo
> [...]
> Seems like we need to be much smarter here (a) in the build, or (b) at
> run-time or (c) both.

Other network daemons offer run-time options for this sort of thing,
letting sysadmins specify
   a "-4" or "-6" command line option to limit to ipv4/ipv6 capability
and/or
   binding address/interface for the listening sockets (which imply protocol)

Plus, our code in pmcd could be smarter, in that even if by default it
were to open both ipv4 & ipv6, it would not complain about the failure
of one.


- FChE

<Prev in Thread] Current Thread [Next in Thread>