inetd fails to listen on IPv4 addresses
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
inetutils (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: inetutils-inetd
On upgrade from intrepid to jaunty, my scanner stopped being accessible over the network, when i looked to find out why, i saw that saned was enabled, yet connections were being refused on port 6566. Checking netstat -pln, i found that inetd was only listening on IPv6:
tcp6 0 0 :::6566 :::* LISTEN 29652/inetutils-ine
Here is the saned configuration line:
sane-port stream tcp nowait root /usr/sbin/saned saned
The documentation at http://
An unrelated issue is: i have never explicitly requested inetutils-inetd to be installed. It seems that both openbsd-inetd and xinetd are in main, whereas inetutils-inetd is in universe. I would be perfectly happy to run the preferred version of inetd (whatever that is) - i suspect there might be a bug relating to this either in the installer, or the saned package.
to reproduce:
$ aptitude install inetutils-inetd d/inetutils- inetd restart
$ echo "2323 stream tcp nowait nobody /bin/true" |sudo tee -a /etc/inetd.conf
$ sudo /etc/init.
$ nc -v localhost 2323
localhost [127.0.0.1] 2323 (?) : Connection refused
compare this to:
$ echo "2323 stream tcp4 nowait nobody /bin/true" |sudo tee -a /etc/inetd.conf d/inetutils- inetd restart
$ sudo /etc/init.
$ nc -v localhost 2323
localhost [127.0.0.1] 2323 (?) open