Re: "beep" on match

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 07 Nov 2006 08:51:50 +0200, Justin wrote in message 
<45502D05.1050807@xxxxxxxxxxxxxxx>:

> Erik Alberti wrote:
> > Hallo!
> > 
> > Ich suche nach einer Möglichkeit ein externes Programm bei einem
> > match einer Regel auszuführen. Beispiel:
> > 
> >   iptables ... -j exec("/usr/bin/beep -f 5000 -l 1000")
> > 
> > -------------------------------------------------------------------
> > -----
> > 
> > Hello!
> > 
> > I am looking for a possibility of executing an external program in
> > the field of a match of a rule. Example:
> > 
> >   iptables ... -j exec("/usr/bin/beep -f 5000 -l 1000")
>  
> I doubt you will ever be able to do that directly, but it should be no
>  problem to make a simple application using lipipulog, and
> 
> iptables ... -j ULOG
> 
> So the iptables match sends the packet to the userspace logging
> daemon,  which then does the 'beep'.  Could even use the --ulog-prefix
> option to  specify the text of the command to execute...
> 

..schrägemusik enthusiasts might even wanna try chop up 
conntrack data to feed beep's -f 'n -l...<shudder/>

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;o)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux