From owner-freebsd-questions Sat Apr 22 0:13:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from milquetoast.cs.mcgill.ca (milquetoast.CS.McGill.CA [132.206.2.5]) by hub.freebsd.org (Postfix) with ESMTP id DD9AA37B70D for ; Sat, 22 Apr 2000 00:13:51 -0700 (PDT) (envelope-from andrewb@milquetoast.cs.mcgill.ca) Received: (from andrewb@localhost) by milquetoast.cs.mcgill.ca (8.9.3/8.9.3) id DAA06772 for freebsd-questions@FreeBSD.ORG; Sat, 22 Apr 2000 03:13:50 -0400 (EDT) Date: Sat, 22 Apr 2000 03:13:50 -0400 From: Andrew Bogecho To: freebsd-questions@FreeBSD.ORG Subject: Re: logging Message-ID: <20000422031350.A6449@cs.mcgill.ca> Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <4.2.0.58.20000422083216.00952c50@mail.bigpond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.15i In-Reply-To: <4.2.0.58.20000422083216.00952c50@mail.bigpond.com>; from Duncan on Sat, Apr 22, 2000 at 08:36:43AM +1000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sat Apr 22 03:00:25 EDT 2000 Hi, I am not sure about the 3.2 kernel, but in 4.0 you can add IPFIREWALL_VERBOSE to your kernel. Also try and have a look at whether using the sysctl(8) interface in the MIB base of net.inet.ip.fw can do what you need. I read the above from the ipfw man page. My syslog.conf file only has security.* /var/log/security for the security logs, and that seems to work. One other thing, did you make sure that you have tabs and NOT spaces separating the *.* and /var/log/ipfw in your syslog.conf file? By the way, I just tried your method on my firewall logs and it worked. See if it is the spaces. Thank you. Hope that helps. I wish I knew more about 3.2. Andrew. On Sat, Apr 22, 2000 at 08:36:43AM +1000, Duncan wrote: > yes the only thing i am getting in security is users logging in, > su and bad su etc.... > > > > >Fri Apr 21 12:36:30 EDT 2000 > >Hi, > >I get my firewall logs in /var/log/security > >Have you looked there. > >Andrew. > > > > > >On Fri, Apr 21, 2000 at 09:03:33PM +1000, Duncan wrote: > > Hello > > > > I'm am having trouble with my logs. > > I have tried various things like adding ' log_in_vain="YES" ' in rc.conf > > (which i read from a post on the security list) > > > > !ipfw > > *.* /var/log/ipfw > > > > but the only information i am getting is stuff like : > > > > 00200 0 0 deny ip from any to 127.0.0.0/8 > > 01400 20 1008 deny log tcp from any to any via ppp0 setup > > 65535 602 28986 deny ip from any to any > > > > (from /var/log/ipfw.today) which by itself is useless for me. > > I am trying to set it up so i can see the source address and ports so i at > > least > > can see more of what's going on. > > > > I have a custom kernel with the ipfirewall and divert for natd and am > currently > > running 3.2-release. > > sorry for not giving more information but i am new to this and not sure > > what else > > to put. > > > > Any help is much appreciated > > Thank you. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message