Inetd and multiple IP addresses
tajudd at gmail.com
Fri Mar 13 08:50:21 PDT 2009
that is KNOWN to be impatible with inetd.conf file. you'd have to recreate
all your services.
Have a good day.
On Fri, Mar 13, 2009 at 8:21 AM, Andrew <awd at awdcomp.net> wrote:
> Tim Judd wrote:
>> On Fri, 2009-03-13 at 03:38 +0100, skx wrote:
>>> 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
>>> but it doesn't work
>>> Mar 11 02:59:21 rewers inetd: 192.168.13.2:nntp/tcp: unknown
>>> What am I doing wrong? Isn't ip:service_name a correct entry?
>>> FreeBSD 7.1-RELEASE-p1 with custom kernel if that matters.
>> see option -a
>> put it in your rc.conf, as inetd_flags
>> I do this for all my hosts so I have a tighter reign on the problem
> True, but it limits inetd to that IP for all services.
> There is also have xinetd which allows control per service.
> Info: Replacement for inetd with better control and logging
>> freebsd-questions at freebsd.org mailing list
>> To unsubscribe, send any mail to "
>> freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions