Blame extensions/libxt_LED.man

Packit Service d1fe03
This creates an LED-trigger that can then be attached to system indicator
Packit Service d1fe03
lights, to blink or illuminate them when certain packets pass through the
Packit Service d1fe03
system. One example might be to light up an LED for a few minutes every time
Packit Service d1fe03
an SSH connection is made to the local machine. The following options control
Packit Service d1fe03
the trigger behavior:
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-\-led\-trigger\-id\fP \fIname\fP
Packit Service d1fe03
This is the name given to the LED trigger. The actual name of the trigger
Packit Service d1fe03
will be prefixed with "netfilter-".
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-\-led-delay\fP \fIms\fP
Packit Service d1fe03
This indicates how long (in milliseconds) the LED should be left illuminated
Packit Service d1fe03
when a packet arrives before being switched off again. The default is 0
Packit Service d1fe03
(blink as fast as possible.) The special value \fIinf\fP can be given to
Packit Service d1fe03
leave the LED on permanently once activated. (In this case the trigger will
Packit Service d1fe03
need to be manually detached and reattached to the LED device to switch it
Packit Service d1fe03
off again.)
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-\-led\-always\-blink\fP
Packit Service d1fe03
Always make the LED blink on packet arrival, even if the LED is already on.
Packit Service d1fe03
This allows notification of new packets even with long delay values (which
Packit Service d1fe03
otherwise would result in a silent prolonging of the delay time.)
Packit Service d1fe03
.TP
Packit Service d1fe03
Example:
Packit Service d1fe03
.TP
Packit Service d1fe03
Create an LED trigger for incoming SSH traffic:
Packit Service d1fe03
iptables \-A INPUT \-p tcp \-\-dport 22 \-j LED \-\-led\-trigger\-id ssh
Packit Service d1fe03
.TP
Packit Service d1fe03
Then attach the new trigger to an LED:
Packit Service d1fe03
echo netfilter\-ssh >/sys/class/leds/\fIledname\fP/trigger