All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Sebastien Tricaud <sebastien.tricaud@wengo.fr>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: Knowing tables change
Date: Mon, 13 Mar 2006 15:55:11 +0100	[thread overview]
Message-ID: <441587CF.4050203@trash.net> (raw)
In-Reply-To: <44155BE4.80001@wengo.fr>

Sebastien Tricaud wrote:
> Hi folks,
> 
> I would like to know if there is a way to watch for tables alteration.
> 
> I am sure there is a better way than doing "iptables -t table -L" loop
> and compare with previously stored data.

watch -n 1 -d iptables -vxnL :)

> When I look over Internet for possible answers, I can find something
> that would do the job. It seems libpkttnetlink is for this purpose.
> However no developments are latter than 2002. Is it a working stuff and
> nothing has to be improved anymore ?
> 
> At a lower level, I can see libnfnetlink is the low level library I can
> also use for it: there is the following quote -> "provides
> open/close/receive functions only to be used by other libraries
> libctnetlink/libpkttnetlink".

There are no notifications for ruleset updates currently, since
ruleset exchange between kernel and userspace isn't built on
netlink and happens as one atomic operation, so the kernel
doesn't know which rules are new.

  reply	other threads:[~2006-03-13 14:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-13 11:47 Knowing tables change Sebastien Tricaud
2006-03-13 14:55 ` Patrick McHardy [this message]
2006-03-16 10:12   ` Herve Eychenne

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=441587CF.4050203@trash.net \
    --to=kaber@trash.net \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=sebastien.tricaud@wengo.fr \
    /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.