[distcc] distcc only listens on v6 with --enable-rfc2553?

Martin Pool mbp at samba.org
Wed May 12 06:26:14 GMT 2004


On 11 May 2004, Jeff Rizzo <riz+distcc at boogers.sf.ca.us> wrote:
> On Wed, May 12, 2004 at 12:10:49PM +1000, Martin Pool wrote:
> > On 11 May 2004, Jeff Rizzo <riz+distcc at boogers.sf.ca.us> wrote:
> > > I've gone and looked a little more deeply into this, and it
> > > looks like the problem is that distccd will only ever listen
> > > on one address, even when multiple --listen addresses are
> > > specified.  
> > 
> > That is correct.
> > 
> > > I may take a crack at supporting multiple listen fds unless someone
> > > beats me to it...
> > 
> > I guess so.  Do you really need it?  Why not just listen on the
> > wildcard and use access control?
> 
> I will admit to not knowing how it's *supposed* to work, but it
> definitely doesn't accept connections to its ipv4 address under
> NetBSD the way it is now.  I looked briefly at thttpd (which is
> just another program that I know handles listening on both v4 and v6),
> and it has a concept of a listen_fd for both v4 and v6 separately.
> 
> If it can listen on one socket and accept both v4 and v6 connections,
> great, but it's definitely *not* working now... netstat shows a
> tcp6 listener on *.3632, but nothing for tcp.  I'll post a query
> on the appropriate NetBSD mailing list to see if it's supposed to 
> work this way, or if there's some other magic that needs doing.

If there is such a limit, for whatever reason, you might be able to
say something like

 --listen 0.0.0.0

Do you actually want to mix IPv6 and IPv4 connections?  In fact, if
not, why not just build without rfc2553.

-- 
Martin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/distcc/attachments/20040512/37066052/attachment.bin


More information about the distcc mailing list