From owner-freebsd-questions Fri Feb 20 16:25:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA08531 for freebsd-questions-outgoing; Fri, 20 Feb 1998 16:25:43 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA08442 for ; Fri, 20 Feb 1998 16:25:16 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id QAA17903; Fri, 20 Feb 1998 16:24:23 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Fri, 20 Feb 1998 16:24:23 -0800 (PST) From: Doug White Reply-To: Doug White To: Paul Traina cc: questions@FreeBSD.ORG Subject: Re: getting remote side of tcp connection's address before accept()? In-Reply-To: <199802202049.MAA06911@precipice.shockwave.com> 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 On Fri, 20 Feb 1998, Paul Traina wrote: > I'd like to be able to refuse tcp connections to a particular daemon > from a certain list of addresses. > > The tcp connection is accepted and then closed. I want the TCP > connection to be refused, never accepted. You'll probably have to use ipfw to obtain this. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message