From owner-freebsd-security Fri Oct 13 2:42:42 2000 Delivered-To: freebsd-security@freebsd.org Received: from slash.ab.videon.ca (slash.ab.videon.ca [206.75.216.210]) by hub.freebsd.org (Postfix) with ESMTP id 424CE37B502 for ; Fri, 13 Oct 2000 02:42:40 -0700 (PDT) Received: from rolf-e-laptop.meccamediagroup.com (puppy.powersurfr.com [24.108.27.206]) by slash.ab.videon.ca (8.9.2/8.9.2) with ESMTP id DAA06907 for ; Fri, 13 Oct 2000 03:42:39 -0600 (MDT) Message-Id: <5.0.0.25.2.20001013032255.00a8ee40@127.0.0.1> X-Sender: redwards/firewall.meccamediagroup.com@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Fri, 13 Oct 2000 03:33:09 -0600 To: freebsd-security@FreeBSD.ORG From: Rolf Edwards Subject: Dynamic rc.firewall Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org How can I have rc.firewall automatically pull in ip, netmask and network numbers from the currently configured interfaces. Lets say I was to supply 'xl0' and have it extract the information from ifconfig. I started a perl program, but I don't have enough documentation available at the moment to actually extract the data from what is returned. Has anyone tried this? I would assume that if one was using DHCP, they would want this type of feature? Rolf To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message