Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - N index

CONFIG_NETFILTER_XT_TARGET_LED: 'LED' target support

General informations

The Linux kernel configuration item CONFIG_NETFILTER_XT_TARGET_LED:

Help text

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

Hardware

LKDDb

Raw data from LKDDb:

Sources

This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).

The data is retrived from:

Automatic links from Google (and ads)

Custom Search

Popular queries:

Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - N index

Automatically generated (in year 2024). See also LKDDb sources on GitLab