|
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.
|
- Configuration questions Alejandro Cabrera
- Re: Configuration questions Jim Sandoz
- Vedran Bender
