Sir, in order to utilize that type of logging, you need to understand how the syslog facility works (which is what local0.debug is).
 
May I suggest reading up on syslog.conf and syslogd?  man pages and http://docs.sun.com are excellent resources to start with.
 
Meanwhile, to make logging work via the syslog facility, you need to do the following:
 
touch /var/log/ipf.log
 
Edit the /etc/syslog.conf file and add the following line:
 
local0.debug            /var/log/ipf.log
 
 
 
Then issue the following command:
 
kill -HUP `pgrep syslogd`
 
Finally, all your rules need to say (an excerpt from my own ruleset follows):
 
pass in log level first local2.info quick on le0 proto tcp from <IP address>/32 to <IP address>/32 port = <port> keep state
 
 
A careful examination points out that I'm using a different logging facility (local2) and a different logging level (info).  So, in your situation, it would be: local0.debug.
 
 
-----Original Message-----
From: Alejandro Cabrera [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 21, 2002 09:03 AM
To: IPFilter (lista)
Subject: Configuration questions

Hello !!!
 
I tell you that with your help I could install and run IPFILTER on my SUN/Solaris 7....thanks.
But now a few questions to complete my configuration:
 
1) In a web page I read that in orden to log the IPFilter actions, I have to edit /etc/syslog.conf file with the following line:
local0.debug        /var/log/ipflog
I did it, and then I created the /var/log/ipflog file and configured with "log" the filtering rules I wanted in /etc/opt/ipf/ipf.conf......but I can't get any log !!!! what's wrong ???
 
2) In a machine with 2 or more interfaces and IPFILTER installed, does ip_forwarding parameter set active (ip_forwarding = 1) or disable (ip_forwardoing = 0). I ask you this because in my SunScreen firewall ip_forwarding is equal to 1.
 
3) Does IPFILTER affect the performance of the services, e.g web service ???? Because I note that the response time of my web service is longer now....
 
Thanks again and regards !!!!!!
 
Alejandro.

Reply via email to