summaryrefslogtreecommitdiff
path: root/extensions/libxt_LED.man
diff options
context:
space:
mode:
authorHyungKyu Song <hk76.song@samsung.com>2013-02-16 00:06:47 +0900
committerHyungKyu Song <hk76.song@samsung.com>2013-02-16 00:06:47 +0900
commitebceb903d97f38aa6f4110c455367492c8b94f6c (patch)
tree5d21c5f26a156067e733c9faa79782ecc26196e9 /extensions/libxt_LED.man
parentdbc5ef4889caa206f4d47d83345357780ceef73e (diff)
downloadiptables-tizen_2.0.tar.gz
iptables-tizen_2.0.tar.bz2
iptables-tizen_2.0.zip
Diffstat (limited to 'extensions/libxt_LED.man')
-rw-r--r--extensions/libxt_LED.man30
1 files changed, 30 insertions, 0 deletions
diff --git a/extensions/libxt_LED.man b/extensions/libxt_LED.man
new file mode 100644
index 0000000..81c2f29
--- /dev/null
+++ b/extensions/libxt_LED.man
@@ -0,0 +1,30 @@
+This creates an LED-trigger that can then be attached to system indicator
+lights, to blink or illuminate them when certain packets pass through the
+system. One example might be to light up an LED for a few minutes every time
+an SSH connection is made to the local machine. The following options control
+the trigger behavior:
+.TP
+\fB\-\-led\-trigger\-id\fP \fIname\fP
+This is the name given to the LED trigger. The actual name of the trigger
+will be prefixed with "netfilter-".
+.TP
+\fB\-\-led-delay\fP \fIms\fP
+This indicates how long (in milliseconds) the LED should be left illuminated
+when a packet arrives before being switched off again. The default is 0
+(blink as fast as possible.) The special value \fIinf\fP can be given to
+leave the LED on permanently once activated. (In this case the trigger will
+need to be manually detached and reattached to the LED device to switch it
+off again.)
+.TP
+\fB\-\-led\-always\-blink\fP
+Always make the LED blink on packet arrival, even if the LED is already on.
+This allows notification of new packets even with long delay values (which
+otherwise would result in a silent prolonging of the delay time.)
+.TP
+Example:
+.TP
+Create an LED trigger for incoming SSH traffic:
+iptables \-A INPUT \-p tcp \-\-dport 22 \-j LED \-\-led\-trigger\-id ssh
+.TP
+Then attach the new trigger to an LED:
+echo netfilter\-ssh >/sys/class/leds/\fIledname\fP/trigger