From owner-freebsd-stable@FreeBSD.ORG Wed Oct 13 09:03:37 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FDC4106564A for ; Wed, 13 Oct 2010 09:03:37 +0000 (UTC) (envelope-from boski.cezar@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6291A8FC14 for ; Wed, 13 Oct 2010 09:03:37 +0000 (UTC) Received: by iwn8 with SMTP id 8so7530183iwn.13 for ; Wed, 13 Oct 2010 02:03:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=JdolhuxVnK7FWKuOsaIqLnwZzVRW3dmr/esDLJDaO5I=; b=KlCrra9TidIo4BqGDWStms73+bL6zL0954ty68mKzlKLlCDLyJrGWuvL/Iy6FYhpDn Orol4IU7o1O7JRdxMJb1qfqTnkW3gKIvUkspK7H+Zo9lSXQq3q1UoKN1lBfOEBlycukZ AWkSq7/G0fox3o5tmCDdLx9vkgJPZW+WQUWbI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Pvdnun1qPE3YjZvOiwwVsfNes/Xa8E7i24DNVtYdQUBze2dp+DZPPGlkj2dtlDpChQ y5cuqokCSJAQkPFnKAf0XzkpzsLr6SFCE96jg/dJXiUdXfEk/0L6s18LT3GPkJDCqwFw +1ftRb8KbbB8OkuVPSp+b+WJSZqSa5vGAfTjs= MIME-Version: 1.0 Received: by 10.231.60.4 with SMTP id n4mr6834054ibh.18.1286960616722; Wed, 13 Oct 2010 02:03:36 -0700 (PDT) Sender: boski.cezar@gmail.com Received: by 10.231.205.197 with HTTP; Wed, 13 Oct 2010 02:03:36 -0700 (PDT) In-Reply-To: <20101013081758.GA52870@icarus.home.lan> References: <20101013081758.GA52870@icarus.home.lan> Date: Wed, 13 Oct 2010 11:03:36 +0200 X-Google-Sender-Auth: IXPbhJ_5ypIO3j9UQKq4Fmu17Ww Message-ID: From: Marcin To: Jeremy Chadwick Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org Subject: Re: Problem with security log X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2010 09:03:37 -0000 2010/10/13 Jeremy Chadwick : > On Tue, Oct 12, 2010 at 10:50:28PM +0200, Marcin wrote: >> Hi folks, >> >> For some time in the file / var / log / security appear illegible entrie= s: >> kernel: ipfw: 200 Deny UDiPp f1w9:2 .168.10.5:5230503 D22e4n.y0 >> .U0D.P25 1:15923.5136 o8.u10t. 5va5 3r5e03 224.0.0.251:5353 in via re0 >> >> How to get rid of it? Please help... > > There isn't a 100% reliable way to get rid of this problem. =A0I've been > harping about this for years (sorry to sound like a jerk, but this > really is a major problem that keeps coming up and annoys users/admins > to no end. =A0There are solutions -- Linux solved it by implementing a > lockless circular ring buffer[1] used by kmsg). > > The """workaround""" -- which again, does not solve the problem, only > decreases the regularity of it happening (and when it does happen, can > sometimes decrease how much interspersed output there is) -- is to add > the following line to your kernel config and rebuild/reinstall your > kernel: > > options =A0 =A0 =A0 =A0 PRINTF_BUFR_SIZE=3D128 =A0 =A0# Prevent printf ou= tput being interspersed. > > This option became part of the GENERIC kernel configuration file at the > following times: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/amd64/conf/GENERIC#rev1.529 > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/conf/GENERIC#rev1.517 > > Depending on what release/tag you follow, you may or may not find the > above commit/change in your GENERIC file. =A0I can't be bothered to track > down what time the CVS tagging was done, for multiple architectures, > etc... > > [1]: http://www.mjmwired.net/kernel/Documentation/trace/ring-buffer-desig= n.txt > > -- > | Jeremy Chadwick =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 jdc@parodius.com | > | Parodius Networking =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://= www.parodius.com/ | > | UNIX Systems Administrator =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Mountain = View, CA, USA | > | Making life hard for others since 1977. =A0 =A0 =A0 =A0 =A0 =A0 =A0PGP:= 4BD6C0CB | > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > Hi Jeremy, I have compiled kernel with this option and unfortunately problem still exi= st... Do you have another idea how can i improve my log file? :)