believe this is covered in one of the FAQs or HOWTOs,
but

is ipmon rumming - if so with what flags?
you need "ipmon -s"
does /var/log/ipflog exist? try
# touch /var/log/ipflog
& then restart syslog (and maybe the other stuff too.)

There is nothing obvious wrong with your syslog.conf file
but you should verify that all the "spaces" are really "tabs"

If the above doesn't work, try starting syslog in debug mode
and see what it complains about.

HTH

warren


> hmm, trying to make ipfilter log to a file
> 
> found a good article on how to do it for freebsd and evrything seems to be 
> the same
> 
> here is my syslog.conf file
> #       $NetBSD: syslog.conf,v 1.6 1997/02/21 09:04:26 mikel Exp $
> 
> local0.*                                                /var/log/ipflog
> 
> *.err;kern.*;auth.notice;authpriv.none;mail.crit        /dev/lpt0
> *.info;auth,authpriv,cron,ftp,kern,lpr,mail.none        /var/log/messages
> kern.debug                                              /var/log/messages
> 
> # The authpriv log file should be restricted access; these
> # messages shouldn't go to terminals or publically-readable
> # files.
> auth,authpriv.info                                      /var/log/authlog
> 
> cron.info                                               /var/cron/log
> ftp.info                                                /var/log/xferlog
> lpr.info                                                /var/log/lpd-errs
> mail.info                                               /var/log/maillog
> #uucp.info                                              
> /var/spool/uucp/ERRORS
> 
> *.emerg                                                 *
> *.notice;auth.debug;local0.none                         root
> 
> 
> -----------------
> 
> then I restarted my system
> 
> but the file is not getting data
> 
> what am I doing wrong?
>     
> I am using local0.err and local0.info in my ipf.conf
> -- 
> "We say 'information' reverently, as if it meant 'understanding' or 'wisdom,' but it 
>doesn't. Sometimes it even gets in the way."
> -- Bill McKibben, The Age of Missing Information
> 
> 

  • logging hysteriaweb
    • Warren Belfer

Reply via email to