netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: sbellabes@mandriva.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] Network Events Connector
Date: Mon, 02 Oct 2006 13:33:14 -0700 (PDT)	[thread overview]
Message-ID: <20061002.133314.41657633.davem@davemloft.net> (raw)
In-Reply-To: <m23ba7gscl.fsf@cerbere.dyndns.info>

From: Samir Bellabes <sbellabes@mandriva.com>
Date: Mon, 02 Oct 2006 08:11:06 +0200

> This patch adds a connector which reports networking's events to
> userspace. It's sending events when a sock has its sk_state changed to :
>   - LISTEN or CLOSE for DCCP and TCP
>   - BIND or CLOSE for UDP.
> 
> With this notification, a userspace tool can ask the user if he want to
> let the local firewall open for the corresponding sport or not, and if
> so open the firewall for the application which get the corresponding sport.

You can do this with the security layer, netfilter's ULOG, or even
the netfilter connection tracking netlink sockets.

That's 3 facilities by which you can accomplish this, and if none
of them are perfect, add the small modifications you need to one
of them to make them usable for your task.

It makes no sense to add new facilities just for this.


  parent reply	other threads:[~2006-10-02 20:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-02  6:11 [PATCH] Network Events Connector Samir Bellabes
2006-10-02  9:02 ` Evgeniy Polyakov
2006-10-02 12:57   ` Samir Bellabes
2006-10-02 13:13     ` Evgeniy Polyakov
2006-10-05  1:10       ` Samir Bellabes
2006-10-05 10:29         ` Evgeniy Polyakov
2006-10-02 20:33 ` David Miller [this message]
2006-10-05  0:56   ` Samir Bellabes

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=20061002.133314.41657633.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=sbellabes@mandriva.com \
    /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;
as well as URLs for NNTP newsgroup(s).