Re: "beep" on match

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

 



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...

-justin

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")


Erik





[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