ledledd; V 1; 2010-02-09; illuminating light devices connected to computer
led-ulog; V 1; 2010-02-09; blinking leds on packets captured with ULOG
Synopsis and descriptionledd [--foreground] [--no-blink] [--port=service] device ... led-ulog [--buffer-size=size] [--foreground] [--link-speed=kbps] [--group-mask=mask] [--host=hostname] [--port=service] [--led=id] The ledd controls LEDs (light emitting diodes) connected to the machine. Currently, only RS-232 port is supported. The daemon listens on TCP port and communicates with client programs using simple binary protocol. The led-ulog daemon listens on linux netlink socket for packets captured with iptables' ULOG target. After receiving data it lights up a diode connected to the ledd depending on packet's length. Downloading and compilingSource code and manual pages: Requirements:
make install gcc -Wall -s -oled-ulog led-ulog.c -larguments -lpthread Examples
$ ledd /dev/ttyS1
$ echo -en "l\01\00\00\00B\02\00\01B\010\00\01L\00" | \ > nc6 --send-only ::1 334 |
2010-02-10 Matlib |