From owner-freebsd-stable Tue Oct 22 19:12:22 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4279C37B401; Tue, 22 Oct 2002 19:12:21 -0700 (PDT) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5097843E42; Tue, 22 Oct 2002 19:12:19 -0700 (PDT) (envelope-from eugen@kuzbass.ru) Received: from kuzbass.ru (kost [213.184.65.82]) by www.svzserv.kemerovo.su (8.12.6/8.12.5) with ESMTP id g9N2CDCg022466; Wed, 23 Oct 2002 10:12:14 +0800 (KRAST) (envelope-from eugen@kuzbass.ru) Message-ID: <3DB60570.C75F91EA@kuzbass.ru> Date: Wed, 23 Oct 2002 10:12:00 +0800 From: Eugene Grosbein Organization: SVZServ X-Mailer: Mozilla 4.79 [en] (Win95; U) X-Accept-Language: ru,en MIME-Version: 1.0 To: Maxim Konovalov Cc: stable@FreeBSD.ORG, luigi@FreeBSD.ORG Subject: Re: Call for testers: ipfw(8) limit patch References: <20021021174100.Q1221-100000@news1.macomnet.ru> <3DB4F490.57050242@kuzbass.ru> <20021022155420.G59161-100000@news1.macomnet.ru> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Maxim Konovalov wrote: > > > A patch below fixes an incorrect logic in remove_dyn_rule() which > > > produces that famous message "OUCH! cannot remove rule..". The second > > > part of the patch limits "drop session" message rate. > > > > I'd like to not have "drop session" written to console altogether. > > At most, that should go to syslog but an opportunity to eliminate it > > would be nice. > > That code is from ipfw2, please discuss this issue with Luigi. I'd suggest using log() instead of printf() in ipfw[2]. Eugene To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message