logging errors [ was: logrotate problem resolved]

Duston, Hal hdusto01 at sprintspectrum.com
Tue Apr 2 18:05:07 CST 2002


Brian Densmore [mailto:DensmoreB at ctbsonline.com] wrote:
> Let me restate my problem. My -=firewall=- is  logging 
> unauthorized attempts to access services/ports, and in 
> addition to putting the entry in the log file, it is 
> also echoing that record to the screen. The messages 
> echoed to the screen are being created by iptables. 
> I know this because they have my log-prefix string 
> attached. The question is how do I tell 
> iptables/syslogd/klogd/kernel to not echo udp
> messages to the screen?
> 
> My rules state 
> iptables -A INPUT --blahblah -j LOG --log-prefix "FWALL: INPUT "
> iptables -A OUTPUT --blahblah -j LOG --log-prefix "FWALL: OUTPUT "
> iptables -A INPUT --blahblah -j DROP
> iptables -A INPUT --blahblah -j DROP
> 
> Brian

Add "--log-level debug" or whatever is appropriate
as gleaned from /etc/syslog.conf

Hal




More information about the Kclug mailing list