From owner-freebsd-questions@FreeBSD.ORG Sat Apr 26 09:00:37 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 A55A737B412 for ; Sat, 26 Apr 2003 09:00:36 -0700 (PDT) Received: from cmailg4.svr.pol.co.uk (cmailg4.svr.pol.co.uk [195.92.195.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 360ED43FEA for ; Sat, 26 Apr 2003 09:00:19 -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 cmailg4.svr.pol.co.uk with smtp (Exim 4.14) id 199S64-0006Gh-Cj; Sat, 26 Apr 2003 17:00:17 +0100 Message-ID: <003601c30c0d$06ee1400$f300a8c0@mrblossom> From: "Markie" To: "Antoine Jacoutot" , Date: Sat, 26 Apr 2003 17:00:47 +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 16:00:37 -0000 Oops, did it again... # cd /usr/src/lib/libalias # make clean # make -DIPFW2 # make install not # cd /usr/src/libexec/libalias # make clean # make -DIPFW2 # make install Markie ----- Original Message ----- From: "Markie" To: "Antoine Jacoutot" ; Sent: Saturday, April 26, 2003 4:58 PM Subject: Re: ipfw dynamic rule timeout > 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" > > >