From nobody@FreeBSD.org  Wed Sep 19 09:00:37 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D5A3016A46B
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 19 Sep 2007 09:00:37 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id A8BB013C4DA
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 19 Sep 2007 09:00:37 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l8J90bNl026967
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 19 Sep 2007 09:00:37 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l8J90b2m026966;
	Wed, 19 Sep 2007 09:00:37 GMT
	(envelope-from nobody)
Message-Id: <200709190900.l8J90b2m026966@www.freebsd.org>
Date: Wed, 19 Sep 2007 09:00:37 GMT
From: Maechler Philippe <pmaechler@glattwerk.ch>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Logging problems with syslog and ipfw an 6.2.REL-p5
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         116458
>Category:       bin
>Synopsis:       [ipfw]: Logging problems with syslog and ipfw an 6.2.REL-p5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ipfw
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 19 09:10:01 GMT 2007
>Closed-Date:    Thu Sep 20 07:05:35 GMT 2007
>Last-Modified:  Thu Sep 20 07:05:35 GMT 2007
>Originator:     Maechler Philippe
>Release:        6.2-RELEASE-p5
>Organization:
>Environment:
6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #1: Thu May 24 14:18:34 CEST 2007     root@xx.example.com:/usr/obj/usr/src/sys/GKC02X-SMP  i386
>Description:
The log-entries in /var/log/messages are totally scrambled and unreadable

there is a statefull IPFW firewall and a caching bind-9.4.1-p1 installed
SMP Kernel wit SCHED_4BSD

ifconfig output:
bge0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet xx.xxx.xxx.xx netmask 0xffffffc0 broadcast xx.xxx.xxx.xx
        ether 00:19:bb:25:7b:63
        media: Ethernet 100baseTX <full-duplex>
        status: active

bge0 is running in promisc mode because of dsc which is running.

sample content of /var/log/messages
Sep 14 12:00:00 ns2 newsyslog[94585]: logfile turned over due to size>100K
Sep 14 12:00:02 ns2 kernel: 5
Sep 14 12:00:05 ns2 kernel: 
Sep 14 12:00:05 ns2 kernel: 7
Sep 14 12:00:08 ns2 kernel: 
Sep 14 12:00:08 ns2 kernel: 9
Sep 14 12:00:11 ns2 kernel: 8
Sep 14 12:00:14 ns2 kernel: 
Sep 14 12:00:14 ns2 kernel: e0
Sep 14 12:00:15 ns2 kernel: a bge0
Sep 14 12:00:15 ns2 kernel: e0
Sep 14 12:00:15 ns2 kernel: <


>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-ipfw 
Responsible-Changed-By: remko 
Responsible-Changed-When: Wed Sep 19 09:18:36 UTC 2007 
Responsible-Changed-Why:  
Eventhough I am very sceptic about this being a problem at all ( 
or just a local configuration error) forward this to the IPFW list 
for further analysis 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116458 

From: Remko Lodder <remko@FreeBSD.org>
To: Maechler Philippe <pmaechler@glattwerk.ch>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/116458: Logging problems with syslog and ipfw an 6.2.REL-p5
Date: Wed, 19 Sep 2007 11:14:30 +0200

 Maechler Philippe wrote:
 > 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #1: Thu May 24 14:18:34 CEST 2007     root@xx.example.com:/usr/obj/usr/src/sys/GKC02X-SMP  i386
 >> Description:
 > The log-entries in /var/log/messages are totally scrambled and unreadable
 > 
 > there is a statefull IPFW firewall and a caching bind-9.4.1-p1 installed
 > SMP Kernel wit SCHED_4BSD
 > 
 > ifconfig output:
 > bge0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
 >         options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
 >         inet xx.xxx.xxx.xx netmask 0xffffffc0 broadcast xx.xxx.xxx.xx
 >         ether 00:19:bb:25:7b:63
 >         media: Ethernet 100baseTX <full-duplex>
 >         status: active
 > 
 > bge0 is running in promisc mode because of dsc which is running.
 > 
 > sample content of /var/log/messages
 > Sep 14 12:00:00 ns2 newsyslog[94585]: logfile turned over due to size>100K
 > Sep 14 12:00:02 ns2 kernel: 5
 > Sep 14 12:00:05 ns2 kernel: 
 > Sep 14 12:00:05 ns2 kernel: 7
 > Sep 14 12:00:08 ns2 kernel: 
 > Sep 14 12:00:08 ns2 kernel: 9
 > Sep 14 12:00:11 ns2 kernel: 8
 > Sep 14 12:00:14 ns2 kernel: 
 > Sep 14 12:00:14 ns2 kernel: e0
 > Sep 14 12:00:15 ns2 kernel: a bge0
 > Sep 14 12:00:15 ns2 kernel: e0
 > Sep 14 12:00:15 ns2 kernel: <
 > 
 
 Hello,
 
 First of all thank you for using FreeBSD and taking the time to write
 this report. However I do not think that this is a problem perse, did
 you go and ask around on the ipfw@ mailinglist? They have very good
 clue on the ipfw framework and might tell you what the problem is and
 whether this should be fixed by using the PR system or whether it was
 only you making a typo or something, this is important to not overload
 the ticketing system with potentially things that are not problems but
 user typo's (which ofcourse can occur, we all have that :-))
 
 Thanks,
 Remko
 
 -- 
 Kind regards,
 
      Remko Lodder               ** remko@elvandar.org
      FreeBSD                    ** remko@FreeBSD.org
 
      /* Quis custodiet ipsos custodes */
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Thu Sep 20 07:05:34 UTC 2007 
State-Changed-Why:  
Duplicate of 116310, note that the patch submitted by sem was tested and 
apparantly did the job, thanks for the report! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116458 
>Unformatted:
