Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python

Inotify on netfilter socket

 

 

Python python RSS feed   Index | Next | Previous | View Threaded


tom at t0mb

Nov 17, 2006, 2:52 PM

Post #1 of 2 (113 views)
Permalink
Inotify on netfilter socket

Hi Guys,

I'm wondering if it's possible to set up an inotify watch on a netfilter
socket. I want to monitor for incoming packets to the netfilter QUEUE
target, but I can't seem to do it. select.select works on it, but i
wanted to use inotify really. Is there any way to create a tangible
file which i can hook in to the netfilter socket? I was using
python-inotify and the ipqueue module. Any suggestions welcome, or do
you guys think that this would be better on the iptables/netfilter
mailing lists?

Cheers, Tom
--
http://mail.python.org/mailman/listinfo/python-list


exarkun at divmod

Nov 17, 2006, 3:55 PM

Post #2 of 2 (99 views)
Permalink
Re: Inotify on netfilter socket [In reply to]

On Fri, 17 Nov 2006 22:52:51 +0000, tom <tom [at] t0mb> wrote:
>Hi Guys,
>
>I'm wondering if it's possible to set up an inotify watch on a netfilter
>socket. I want to monitor for incoming packets to the netfilter QUEUE
>target, but I can't seem to do it. select.select works on it, but i
>wanted to use inotify really. Is there any way to create a tangible
>file which i can hook in to the netfilter socket? I was using
>python-inotify and the ipqueue module. Any suggestions welcome, or do
>you guys think that this would be better on the iptables/netfilter
>mailing lists?

Why do you want to use inotify?

Jean-Paul
--
http://mail.python.org/mailman/listinfo/python-list

Python python RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.