/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */


At 02:12 PM 5/7/2001 +0200, Ferrara Pasquale wrote:
>/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting!
>/* ALSO: Don't quote this header. It makes you look lame :-) */
>
>
>I've a problem with log of ipchains rules.
>Which are the steps that i must make to view the log of the ipchains rules?
>Thank you for your collaboration
>
>
>P.S.
>i've writen in sysslog.conf this line:
>
>         kern*.=info  /var/log/ipchains.log
>and i've put -l flag at the end of rules that i want to log, but in
>ipchains.log i don't see anything about the traffic that i'd want to log

I suggjest using the -l flag on all rules to begin with
in case some the traffic hits other rules than you expect
or maybe the rules are not quite rigth so the policy
is inwoked instedead.

Also you can use a catch all rule to se what is not caugt
by any rules

from my rc.firewall:

# catch all rule, all other incoming is denied and logged. pity there is no
# log option on the policy but this does the job instead.
#
ipchains -A input -s 0.0.0.0/0 -d 0.0.0.0/0 -l -j DENY


KenR

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to