Bug 41475 - iptables logs to console too.
Summary: iptables logs to console too.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-05-21 03:36 UTC by Andrew Carson
Modified: 2007-04-18 16:33 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-05-21 10:16:21 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrew Carson 2001-05-21 03:36:42 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)

Description of problem:
When setting iptables to log packet matches, the output is sent to the 
console, as well the intended log file. Note that this even happens if the 
*only* entry in syslog.conf is for all logging to go to file, iptables 
data still clutters the console.

How reproducible:
Always

Steps to Reproduce:
1. iptables -A input -i eth0 -p tcp --syn -j LOG --log-level warning
2. Set syslog entry such as *.*  /var/log/logall
3. service syslog restart
4. ping the box
	

Actual Results:  iptables logging directly to console.

Expected Results:  No output to console, to /var/log/logall only.

Additional info:

Have demonstrated this on two different boxes, both low end pentiums.

Comment 1 Bernhard Rosenkraenzer 2001-05-21 10:16:17 UTC
Packet matching (and logging) is done in the kernel part of iptables, 
assigning to kernel.


Comment 2 Arjan van de Ven 2001-05-21 12:18:10 UTC
Added printk "level" to the printk for logging. Should appear in rawhide in a
week or so. Thanks for reporting!


Note You need to log in before you can comment on or make changes to this bug.