All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandre Rouillac <alexandre.rouillac@gmail.com>
To: netfilter@lists.netfilter.org
Subject: iptables -A INPUT -j LOG does not log anything
Date: Sat, 01 Apr 2006 10:44:59 +0200	[thread overview]
Message-ID: <442E3D8B.9060804@gmail.com> (raw)

Hi all,

I set my iptables with policy "-P INPUT DROP" and my last line of INPUT 
chains to "-A INPUT -j LOG".

So everything packets not matching my INPUT rules will be LOG and DROP.

My problem is that iptables does not log anything to my syslog file.

I checked the syslogd configuration (debian default):

*.*;auth,authpriv.none          -/var/log/syslog

kern.*                          -/var/log/kern.log

*.=info;*.=notice;*.=warn;\
         auth,authpriv.none;\
         cron,daemon.none;\
         mail,news.none          -/var/log/messages


I checked counters of INPUT chains :
20       3   144 LOG        all  --  *      *       0.0.0.0/0 
  0.0.0.0/0           LOG flags 0 level 4

But nothing on my logfiles (syslog, messages, kern.log).

Does someone can help ?

Best Regards,
Alexandre



             reply	other threads:[~2006-04-01  8:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-01  8:44 Alexandre Rouillac [this message]
2006-04-04 14:02 ` iptables -A INPUT -j LOG does not log anything Alexandre Rouillac

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=442E3D8B.9060804@gmail.com \
    --to=alexandre.rouillac@gmail.com \
    --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 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.