Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jun 2004 18:41:00 +0200
From:      "Lasse Danielsen" <lasse@danielsen.tk>
To:        <freebsd-questions@FreeBSD.org>
Subject:   tcpd and inetd.conf
Message-ID:  <BFECLKJCOFJIEONFHNCEAEOHCNAA.lasse@danielsen.tk>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BFECLKJCOFJIEONFHNCEAEOHCNAA.lasse>