From owner-freebsd-questions@FreeBSD.ORG Sat Apr 26 08:58:25 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94F4B37B401 for ; Sat, 26 Apr 2003 08:58:25 -0700 (PDT) Received: from cmailg2.svr.pol.co.uk (cmailg2.svr.pol.co.uk [195.92.195.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55D2543F85 for ; Sat, 26 Apr 2003 08:58:24 -0700 (PDT) (envelope-from markie@notwentytwo.freeserve.co.uk) Received: from modem-3045.antelope.dialup.pol.co.uk ([217.134.27.229] helo=mrblossom) by cmailg2.svr.pol.co.uk with smtp (Exim 4.14) id 199S49-00042f-HI; Sat, 26 Apr 2003 16:58:20 +0100 Message-ID: <002c01c30c0c$c16d4310$f300a8c0@mrblossom> From: "Markie" To: "Antoine Jacoutot" , References: <200304261621.44416.ajacoutot@lphp.org> <200304261748.35556.ajacoutot@lphp.org> Date: Sat, 26 Apr 2003 16:58:43 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: Re: ipfw dynamic rule timeout X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Apr 2003 15:58:25 -0000 You probably need IPFW2 for this =OP Step 1) Either add IPFW2=true to /etc/make.conf and then do a make buildworld procedure or just recompile /usr/src/sbin/ipfw and /usr/src/lib/libalias with IPFW2 defined like this... # cd /usr/src/sbin/ipfw # make clean # make -DIPFW2 # make install # cd /usr/src/libexec/libalias # make clean # make -DIPFW2 # make install Assuming you still have the same source tree as your current userland binarys the second option of just recompiling those two things will save alot of time :) Step 2) Recompile your kernel with 'options IPFW2' and reboot. root@bone:~# sysctl net.inet.ip.fw.dyn_keepalive net.inet.ip.fw.dyn_keepalive: 1 Markie ----- Original Message ----- From: "Antoine Jacoutot" To: Cc: Sent: Saturday, April 26, 2003 4:48 PM Subject: Re: ipfw dynamic rule timeout > On Saturday 26 April 2003 17:26, John Murphy wrote: > > >So I tried to following command and got this error: > > ># sysctl net.inet.ip.fw.dyn_keepalive=1 > > >sysctl: unknown oid 'net.inet.ip.fw.dyn_keepalive' > > >Anyone has an idea how to increase the default timeout value. > > > > Probably not much help to you, but you could try: > > sysctl -a | grep keepalive > > to see what is available. The only one I see on 4.8 is: > > net.inet.tcp.always_keepalive: 1 > > I'm not actually using ipfw though. > > I'm having the exact same output as you... which means I can't set > net.inet.ip.fw.dyn_keepalive. > Thanks anyway for the answer. I hope I could find a solution for this. > > Antoine > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >