[pmfirewall] How to log selectively?

Date view Thread view Subject view Author view

From: Alexander Volovics (awol@xs4all.nl)
Date: Sun Jul 16 2000 - 06:50:12 PDT


Can anybody explain how I can log `DENY items' selectively?
(or rather how I can exlude -some- of the DENY items from
 being logged).

I am connected to the internet via the cable provider @home.
On my segment of the @home network the other user's machines
seem to be constantly broadcasting, for example:

Jul 16 15:26:29 for kernel: Packet log: input DENY eth1 PROTO=17
212.204.158.219:2301 255.255.255.255:2301 L=40 S=0x00 I=32512 F=0x0000 T=128
(#36)
Jul 16 15:26:52 for kernel: Packet log: input DENY eth1 PROTO=17
212.204.158.233:2301 255.255.255.255:2301 L=40 S=0x00 I=27693 F=0x0000 T=128
(#36)

As this happens every minute for each machine my /var/log/messages grows
exponentially.
I would like to exlude these entries from the log. But ONLY these entries
(i.e. "-p udp -s $OUTERNET -d 255.255.255.255 2301", so removing the `-l'
 parameter from "$IPCHAINS -A input -j DENY -l" is not an option!)

I see no short and elegant way of doing this with the standard pmfirewall.

Can somebody please help.

Alexander

****************************************************************************
* To UNSUBSCRIBE from the list, send a message with "unsubscribe pmfirewall"
* in the message body to majordomo@pointman.org. Please direct other
* questions, comments, or problems to pmfirewall-owner@pointman.org.
*
* Need answers fast? Check the list archive located at:
* http://www.pointman.org/PMFirewall/list-archive/
*


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sun Jun 10 2001 - 02:35:24 PDT