From owner-freebsd-hackers@freebsd.org Wed Jan 15 21:01:42 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E08721FD400 for ; Wed, 15 Jan 2020 21:01:42 +0000 (UTC) (envelope-from wayne@post.wayne47.com) Received: from post.wayne47.com (post.wayne47.com [198.11.56.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "post.wayne47.com", Issuer "post.wayne47.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47yfrj4VKKz410P for ; Wed, 15 Jan 2020 21:01:41 +0000 (UTC) (envelope-from wayne@post.wayne47.com) Received: from post.wayne47.com (post.wayne47.com [198.11.56.11]) by post.wayne47.com (8.15.2/8.15.2) with ESMTPS id 00FL1e34056497 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 15 Jan 2020 16:01:40 -0500 (EST) (envelope-from wayne@post.wayne47.com) Received: (from wayne@localhost) by post.wayne47.com (8.15.2/8.15.2/Submit) id 00FL1eQ1056366 for freebsd-hackers@freebsd.org; Wed, 15 Jan 2020 16:01:40 -0500 (EST) (envelope-from wayne) Date: Wed, 15 Jan 2020 16:01:39 -0500 From: Michael Wayne To: FreeBSD Hackers Subject: Re: ipfw logging issue Message-ID: <20200115210139.GA55011@post.wayne47.com> Mail-Followup-To: FreeBSD Hackers References: <20200115003105.GD60396@post.wayne47.com> <8f1f4696-4c6f-71d7-713b-f7d3cb992976@grosbein.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8f1f4696-4c6f-71d7-713b-f7d3cb992976@grosbein.net> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 47yfrj4VKKz410P X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of wayne@post.wayne47.com designates 198.11.56.11 as permitted sender) smtp.mailfrom=wayne@post.wayne47.com X-Spamd-Result: default: False [-0.51 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.11.56.11]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[wayne47.com]; NEURAL_SPAM_MEDIUM(0.34)[0.341,0]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.94)[-0.938,0]; IP_SCORE(-0.01)[country: US(-0.05)]; TO_DN_ALL(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; FORGED_SENDER(0.30)[freebsd07@wayne47.com,wayne@post.wayne47.com]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2015, ipnet:198.11.56.0/24, country:US]; FROM_NEQ_ENVFROM(0.00)[freebsd07@wayne47.com,wayne@post.wayne47.com]; RCVD_TLS_ALL(0.00)[]; ONCE_RECEIVED(0.10)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jan 2020 21:01:42 -0000 On Wed, Jan 15, 2020 at 04:09:43PM +0700, Eugene Grosbein wrote: > 15.01.2020 7:31, Michael Wayne wrote: > > > > Running 12.1-RELEASE-p1 > > > > I put the following into syslog.conf, which worked on prior releases: > > > > # Log ipfw messages without syncing after every message. > > !ipfw > > *.* -/var/log/ipfw.log > > > > > > While I continue to see ipfw messages logged to /var/log/security, > > they are not being written to /var/log/ipfw.log. Removing the "-" > > has no effect. What changed? > > > > Is it just broken? > > They always were "security.info" messages. You need not complicating things, just do: > > security.info -/var/log/ipfw.log Perhaps something needs to be done about https://www.freebsd.org/cgi/man.cgi?syslog.conf(5) which contains the following: # Log ipfw messages without syncing after every message. !ipfw *.* -/var/log/ipfw