Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Scott Mayo <sgmayo@mail.bloomfield.k12.mo.us>
To: netfilter@lists.netfilter.org
Subject: Re: Logging to the screen
Date: Mon, 28 Nov 2005 08:41:08 -0600	[thread overview]
Message-ID: <438B1704.4040204@mail.bloomfield.k12.mo.us> (raw)
In-Reply-To: <200511221239.01763.rob0@gmx.co.uk>

/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.


  reply	other threads:[~2005-11-28 14:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2005-11-28 23:48     ` /dev/rob0
2005-11-22 19:26 ` Marc Haber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=438B1704.4040204@mail.bloomfield.k12.mo.us \
    --to=sgmayo@mail.bloomfield.k12.mo.us \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox