From owner-freebsd-questions Tue Apr 4 3:23:16 2000 Delivered-To: freebsd-questions@freebsd.org Received: from axl.ops.uunet.co.za (axl.ops.uunet.co.za [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id DEEDE37B7A2 for ; Tue, 4 Apr 2000 03:23:07 -0700 (PDT) (envelope-from sheldonh@axl.ops.uunet.co.za) Received: from sheldonh (helo=axl.ops.uunet.co.za) by axl.ops.uunet.co.za with local-esmtp (Exim 3.13 #1) id 12cQTz-000Me5-00; Tue, 04 Apr 2000 12:22:51 +0200 From: Sheldon Hearn To: Chris Wasser Cc: questions@FreeBSD.ORG Subject: Re: tcpd & xinetd in 4.0 In-reply-to: Your message of "Mon, 03 Apr 2000 20:24:14 CST." <20000403202414.A23952@area51.v-wave.com> Date: Tue, 04 Apr 2000 12:22:51 +0200 Message-ID: <87052.954843771@axl.ops.uunet.co.za> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 03 Apr 2000 20:24:14 CST, Chris Wasser wrote: > Anyways, it's "working" as it were, but there's a issue I haven't been > able to resolve yet, hosts.allow works but I get this error (couldn't find > reference to it) with calling twist from a particular rule. Don't know > about spawn (such as fingerd uses) as I don't use finger. xinetd was > compiled from the ports (xinetd-2.1.8.8p2) with libwrap support: > > Apr 3 19:58:38 area51 xinetd[22326]: error: /etc/hosts.allow, line > 68: twist option in resident process The TCP Wrappers package is trying to prevent you from shooting yourself in the foot by twisting out of xinetd. Do you understand how twist works? It exec()'s the twist program (/bin/echo in your case), replacing the running process. That means that the running copy of xinetd is going to disappear. :-) > I realize how feeble this sounds, but I don't understand the error > message (and thus don't know where to begin to fix it) otherwise they work > fine together. Anyone else encounter this or enlighten me as to what it's > complaining about so I can go make it happy? I'm personally attached to our own inetd, so I won't comment. :-) If you insist on using xinetd, I'd suggest using the spawn option instead of the twist option. Spawn runs the command as a child process. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message