[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ping and inetd

On Sun, Aug 04, 2002 at 03:07:06AM +0200, Marco d'Itri wrote:
> Please test the new openbsd-inetd, it can be downloaded from
> http://www.bofh.it/~md/ipv6/ . 

It seems that this version of inetd will create separate listening
sockets for e.g. tcp4 and tcp6, even on the same service.
Unfortunately, this won't work on Linux due to its lack of support for
the IPV6_V6ONLY socket option.  Basically, unless you're running the
USAGI kernels, tcp6 in inetd.conf will behave the same as tcp46.  This
really needs to be documented.

It seems to me that inetd could create only a single IPv6 socket, which
would then listen for both IPv6 and v4 connections and pass them off to
the appropriate server depending on whether the connection was v4 or v6.
That might allow it to work around the lack of IPV6_V6ONLY.  Of course,
Linux really should just implement IPV6_V6ONLY..

Also, you're missing a build-dep on libwrap-dev on your inetd package.
Otherwise it seems OK to me...


| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 

Attachment: pgpyLljzsCKJn.pgp
Description: PGP signature

Reply to: