* Logging to the screen
@ 2005-11-22 18:16 Scott Mayo
2005-11-22 18:39 ` /dev/rob0
2005-11-22 19:26 ` Marc Haber
0 siblings, 2 replies; 5+ messages in thread
From: Scott Mayo @ 2005-11-22 18:16 UTC (permalink / raw)
To: netfilter
I just noticed that my fireall is sending some of my LOGs to the screen.
I had tried setting something up a while back to LOG certain things,
and was not sure if it was working or not. Today, I went to the actual
firewall itself and see all this info that I had my IPTABLES log, on the
screen. Any reason why it is not sending it to the /var/log/messages?
Thanks.
--
Scott Mayo
Technology Coordinator
Bloomfield Schools
PH: 573-568-5669
FA: 573-568-4565
Pager: 800-264-2535 X2549
Duct tape is like the force, it has a light side and a dark side and it
holds the universe together.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Logging to the screen
2005-11-22 18:16 Logging to the screen Scott Mayo
@ 2005-11-22 18:39 ` /dev/rob0
2005-11-28 14:41 ` Scott Mayo
2005-11-22 19:26 ` Marc Haber
1 sibling, 1 reply; 5+ messages in thread
From: /dev/rob0 @ 2005-11-22 18:39 UTC (permalink / raw)
To: netfilter
On Tuesday 2005-November-22 12:16, Scott Mayo wrote:
> the actual firewall itself and see all this info that I had my
> IPTABLES log, on the screen. Any reason why it is not sending it to
> the /var/log/messages? Thanks.
The answer is in your LOG rules (--log-level) and syslog.conf(5). LOG
uses syslog(2) facility "kern" and priority as set in --log-level
(default is probably "info".)
--
mail to this address is discarded unless "/dev/rob0"
or "not-spam" is in Subject: header
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Logging to the screen
2005-11-22 18:16 Logging to the screen Scott Mayo
2005-11-22 18:39 ` /dev/rob0
@ 2005-11-22 19:26 ` Marc Haber
1 sibling, 0 replies; 5+ messages in thread
From: Marc Haber @ 2005-11-22 19:26 UTC (permalink / raw)
To: netfilter
On Tue, Nov 22, 2005 at 12:16:20PM -0600, Scott Mayo wrote:
> I just noticed that my fireall is sending some of my LOGs to the screen.
> I had tried setting something up a while back to LOG certain things,
> and was not sure if it was working or not. Today, I went to the actual
> firewall itself and see all this info that I had my IPTABLES log, on the
> screen. Any reason why it is not sending it to the /var/log/messages?
It should be sending to syslog via klogd, if you have that properly
set up. To keep it from logging to the console, set sysctl
kernel.printk to something like 2 4 1 7
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Logging to the screen
2005-11-22 18:39 ` /dev/rob0
@ 2005-11-28 14:41 ` Scott Mayo
2005-11-28 23:48 ` /dev/rob0
0 siblings, 1 reply; 5+ messages in thread
From: Scott Mayo @ 2005-11-28 14:41 UTC (permalink / raw)
To: netfilter
/dev/rob0 wrote:
> On Tuesday 2005-November-22 12:16, Scott Mayo wrote:
>
>>the actual firewall itself and see all this info that I had my
>>IPTABLES log, on the screen. Any reason why it is not sending it to
>>the /var/log/messages? Thanks.
>
>
> The answer is in your LOG rules (--log-level) and syslog.conf(5). LOG
> uses syslog(2) facility "kern" and priority as set in --log-level
> (default is probably "info".)
Thanks for the info. I got to reading the man pages on syslog. My
iptables were logging with the value 'debug'. From what I read, if I
understand this correctly, that will cause syslog to send the message to
the screen. I changed my iptables to a log-level of 'info' and it is
now sending the messages to /var/log/messages.
Thanks again.
--
Scott Mayo
Technology Coordinator
Bloomfield Schools
PH: 573-568-5669
FA: 573-568-4565
Pager: 800-264-2535 X2549
Duct tape is like the force, it has a light side and a dark side and it
holds the universe together.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Logging to the screen
2005-11-28 14:41 ` Scott Mayo
@ 2005-11-28 23:48 ` /dev/rob0
0 siblings, 0 replies; 5+ messages in thread
From: /dev/rob0 @ 2005-11-28 23:48 UTC (permalink / raw)
To: netfilter
On Monday 2005-November-28 08:41, Scott Mayo wrote:
> Thanks for the info. I got to reading the man pages on syslog. My
> iptables were logging with the value 'debug'. From what I read, if I
> understand this correctly, that will cause syslog to send the message
> to the screen. I changed my iptables to a log-level of 'info' and it
Yikes, debug level to the screen? Normally it should only be serious
messages going to the screen. My syslog.conf has *.emerg only to
console.
> Thanks again.
NP.
--
mail to this address is discarded unless "/dev/rob0"
or "not-spam" is in Subject: header
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-11-28 23:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-22 18:16 Logging to the screen Scott Mayo
2005-11-22 18:39 ` /dev/rob0
2005-11-28 14:41 ` Scott Mayo
2005-11-28 23:48 ` /dev/rob0
2005-11-22 19:26 ` Marc Haber
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.