Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - N index
The Linux kernel configuration item CONFIG_NETFILTER_XT_TARGET_LED
:
( CONFIG_LEDS_CLASS && CONFIG_LEDS_TRIGGERS ) && ( CONFIG_NETFILTER_ADVANCED )
xt_LED
This option adds a `LED' target, which allows you to blink LEDs in response to particular packets passing through your machine.
This can be used to turn a spare LED into a network activity LED, which only flashes in response to FTP transfers, for example. Or you could have an LED which lights up for a minute or two every time somebody connects to your machine via SSH.
You will need support for the "led" class to make this work.
To create an LED trigger for incoming SSH traffic: iptables -A INPUT -p tcp --dport 22 -j LED --led-trigger-id ssh --led-delay 1000
Then attach the new trigger to an LED on your system: echo netfilter-ssh > /sys/class/leds/<ledname>/trigger
For more information on the LEDs available on your system, see Documentation/leds/leds-class.rst
Raw data from LKDDb:
lkddb module xt_LED CONFIG_NETFILTER_XT_TARGET_LED : net/netfilter/Kconfig : "'LED' target support" # in 2.6.30–2.6.39, 3.0–3.19, 4.0–4.20, 5.0–5.19, 6.0–6.11
This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).
The data is retrived from:
Popular queries:
Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - N index
Automatically generated (in year 2024). See also LKDDb sources on GitLab