On Wed, Jan 21, 2009 at 01:38:57PM +0100, Tom Rindborg wrote:
On Tue, 20 Jan 2009, Antti Nykänen wrote:
You could use tcp4/udp4 as the protocol in inetd.conf instead of tcp/udp to make it bind to IPv4 addresses.
Thanks, I was looking for a "simpler" solution like this one without finding anything, that's why I went the --disable-ipv6 way. Delving a little deeper I realize that this info can actually be found in the .info file in the source archive, oh well...
I have actually switched to this solution and it works :-)
Seems like inetd used to rely on IPv4 mapped addresses, and someone read the paper on their security concerns, but didn't quite get the fix right.
Yes, I agree. Looking at the .info file again it states:
"If IPv6 support is enabled the sockets will accept both IPv4 and IPv6 connections if that is supported by the OS."
which obviously is not true, I should probably file a bug report upstream.
Seems that the issue already has been reported: http://article.gmane.org/gmane.comp.gnu.inetutils.bugs/2111 Greetings Juergen -- Juergen Daubert | mailto:jue@jue.li Korb, Germany | http://jue.li/crux