tcpd and inetd.conf

Lasse Danielsen lasse at danielsen.tk
Fri Jun 4 09:41:04 PDT 2004


Not sure if this is a bug or not, but...

On FBSD 5.2.1-p6 and 4.10 (at least) I've tried to make an entry in
inetd.conf work...
I don't want to depend on inetd starting with the flags '-wW', but would
like to make the tcpd daemon take care of things.
This seem like an impossible task. If I add this line in inetd.conf for
instance:

  my-service stream tcp nowait root /usr/libexec/tcpd
/usr/local/libexec/myservice

and then start inetd with '/usr/sbin/inetd -c 40', all entries for
'my-service' is ignored in /etc/hosts.allow. If I start inetd with the '-wW'
flags, the rules set in hosts.allow is used as it should.

Am I doing something wrong?

PS! If you happen to answer this one - can you please CC me? I'm not (yet)
on the mailing-lists..

Regards,
Lasse Danielsen

Never argue with an idiot. He'll drag you down to his level, then beat you
with experience.



More information about the freebsd-questions mailing list