Re: More about recent IPFW changes

From: Ruslan Ermilov <ru_at_freebsd.org>
Date: Thu, 19 Aug 2004 19:33:07 +0300
On Thu, Aug 19, 2004 at 06:16:53PM +0200, Andreas Kohn wrote:
> On Thu, 2004-08-19 at 17:24, Ruslan Ermilov wrote:
> > Andre,
> > 
> > There was also an API change: net.inet.ip.fw.enable
> > is no longer available, the removal wasn't mentioned
> > in your HEADS UP nor in the commit log, and this now
> > breaks /etc/rc.d/ipfw.  What's the replacement for
> > this sysctl, to disable firewall in run-time?
> 
> I replaced these two lines in rc.d/ipfw with ipfw (enable|disable)
> firewall.
> 
The "ipfw enable|disable firewall" uses the same non-existing
sysctl:

        } else if (strncmp(*av, "firewall", strlen(*av)) == 0) {
                sysctlbyname("net.inet.ip.fw.enable", NULL, 0,
                    &which, sizeof(which));


Cheers,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer

Received on Thu Aug 19 2004 - 14:33:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:07 UTC