Skip to content

Flashes keyboard leds on incoming/outgoing network packets

License

Notifications You must be signed in to change notification settings

danhab99/ledcapture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LED Net Capture

AUR license AUR version AUR votes AUR maintainer AUR last modified GitHub GitHub GitHub

Flashes keyboard leds on incoming/outgoing network packets. Keyboard and network interface are automatically detected if their are only one choice for each.

demo

Usage

Requires root priviledges to run

usage: ledcapture.py [-h] --keyboard-class {... your keyboard classes listed here} --interface {... your network interfaces listed here} [--incoming {capslock,numlock,scrolllock}]
                     [--outgoing {capslock,numlock,scrolllock}]

Flashes keyboard LEDs on network activity

optional arguments:
  -h, --help            show this help message and exit
  --keyboard-class {... your keyboard classes listed here}
                        The virtual class name for the targeted keyboard
  --interface {... your network interfaces listed here}
                        The network interface to monitor
  --incoming {capslock,numlock,scrolllock}
                        Which LED to flash on incoming packets
  --outgoing {capslock,numlock,scrolllock}
                        Which LED to flash on outgoing packets

Setup

Requires python3, developed using python3.8.5

If running Arch Linux, you need to install wireshark-cli in order to get tshark (Source: Install tshark)

sudo pacman -S wireshark-cli
  1. Make sure to set the command line flags in ledcap.service before continuing.
  2. Run sudo make install

Run sudo make uninstall to remove program and service

About

Flashes keyboard leds on incoming/outgoing network packets

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •