iptables excess logging

Mike Burger mburger at bubbanfriends.org
Tue Oct 5 20:33:06 UTC 2004


On Tue, 5 Oct 2004 menonrr at jmu.edu wrote:

> 
> Hello Mark,
> 
> Thanks for the advice.
> 
> But now I have a new problem. The syslog logs millions of such
> entries:
> 
> Source and Destination to 127.0.0.1
> 
> Oct  5 10:35:17 nessusClient kernel: INPUT packets:IN=lo OUT=
> MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1
> DST=127.0.0.1 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=30292 DF
> PROTO=TCP SPT=631 DPT=34189 WINDOW=32754 RES=0x00 ACK URGP=0 
> 
> Source = various ; Destination to 255.255.255.0
> 
> Oct  5 10:51:09 nessusClient kernel: INPUT eth1 Ext:IN=eth1
> OUT= MAC=ff:ff:ff:ff:ff:ff:00:08:74:ab:0d:27:08:00
> SRC=134.126.21.83 DST=255.255.255.255 LEN=68 TOS=0x00
> PREC=0x00 TTL=128 ID=39383 PROTO=UDP SPT=1226 DPT=7100 LEN=48
>  
> Can you advise how to make the log less cumbersome
> (--log-level?) and not log unnecesary information like traffic
> from 127.0.0.1 or broadcasts?
> 
> I am very thankful.

To start with, you shouldn't bother logging on the INPUT chain.  Better to 
log on drops and rejects.
-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit 
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a 
message to:

site-update-request at bubbanfriends.org

with a message of: 

subscribe




More information about the redhat-list mailing list