Inetd and multiple IP addresses

skx listy at skxpl.eu.org
Thu Mar 12 19:54:21 PDT 2009


I have inetd configured to open a listening port for leafnode 
 nntp stream tcp nowait news /usr/libexec/tcpd /usr/local/sbin/leafnode
but this opens the port on all IP addresses associated with this machine. 
I would like to choose only one. 

I tried 
 192.168.13.2:nntp stream tcp nowait 
news /usr/libexec/tcpd /usr/local/sbin/leafnode

but it doesn't work

 Mar 11 02:59:21 rewers inetd[89528]: 192.168.13.2:nntp/tcp: unknown 
service

What am I doing wrong? Isn't ip:service_name a correct entry? 

FreeBSD 7.1-RELEASE-p1 with custom kernel if that matters. 


-- 
skx. 


More information about the freebsd-questions mailing list