From owner-freebsd-questions Wed Jan 24 17:51: 2 2001 Delivered-To: freebsd-questions@freebsd.org Received: from takeover.lion-access.net (takeover.lion-access.net [212.19.220.11]) by hub.freebsd.org (Postfix) with ESMTP id 6028037B402 for ; Wed, 24 Jan 2001 17:50:43 -0800 (PST) Received: from localhost (skin@localhost) by takeover.lion-access.net (8.10.2/8.10.1) with ESMTP id f0P2wUH21373 for ; Thu, 25 Jan 2001 02:58:31 GMT Date: Thu, 25 Jan 2001 02:57:50 +0000 (GMT) From: Bart Pustjens To: questions@freebsd.org Subject: Re: news redir and now ftp times out? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Checkout /usr/ports/sysutils/socket for a nice tool for this. > > I've added this line to inetd.conf > nntp stream tcp nowait nobody /usr/local/bin/socket > socket newserver nntp > Now I am wondering if I can use tcp wrappers on it so I can use > hosts.allow ? How can I deny unwanted hosts ? I add the following to hosts.allow socket : domain.allowed.com : allow socket : ALL : deny and the news redir from one machine to another works (and other domains/ip-ranges can't use it) but for some weird reason ftpd stopped working. If I connect to port 21 it just "timed out". It removed my redir stuff using socket but I still have the same problem. What could be the reason of this ? I doubt it if it has anything to do with hosts.allow/inetd.conf ? (using ftp on the machine and connecting to localhost won't work and will give a time-out) With regards, Bart Pustjens To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message