From owner-freebsd-net@FreeBSD.ORG Fri Dec 12 00:19:44 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F3A616A4CE for ; Fri, 12 Dec 2003 00:19:44 -0800 (PST) Received: from lariat.org (lariat.org [63.229.157.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB06D43D33 for ; Fri, 12 Dec 2003 00:19:42 -0800 (PST) (envelope-from brett@lariat.org) Received: from runaround.lariat.org (IDENT:ppp1000.lariat.org@lariat.org [63.229.157.2]) by lariat.org (8.9.3/8.9.3) with ESMTP id BAA13230; Fri, 12 Dec 2003 01:19:36 -0700 (MST) X-message-flag: Warning! Use of Microsoft Outlook renders your system susceptible to Internet worms. Message-Id: <6.0.0.22.2.20031212011133.047ae798@localhost> X-Sender: brett@localhost (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Fri, 12 Dec 2003 01:19:34 -0700 To: Barney Wolff From: Brett Glass In-Reply-To: <20031212074519.GA23452@pit.databus.com> References: <200312120312.UAA10720@lariat.org> <20031212074519.GA23452@pit.databus.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" cc: net@freebsd.org Subject: Re: Controlling ports used by natd X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2003 08:19:44 -0000 At 12:45 AM 12/12/2003, Barney Wolff wrote: >UTSL libpcap/alias_db.c I can find no such file in /usr/src/contrib/libpcap. I did find one in /usr/src/lib/libalias. It seems to have in it a function called FindNewPortGroup that hunts for ports at random, but there's no discipline there to make it avoid specific ports or groups of ports. Are you suggesting that I modify this function to add port exclusion as a new feature? I suppose that I could do this, but it would involve changing data structures that were used by many programs, including natd and ppp. So, there could be a huge ripple effect. --Brett