I have turned a Pi Zero W into a brouter that bridges certain traffic between wlan0 and eth0, while routing other traffic (well, it's even killing certain traffic by not routing on purpose). As I have a Blinkt! pHAT lying around with 8 RGB pixel LEDs, I would like to flash the LEDs for certain packet filter events.
Is there a means so that packet filter rules (nettables, ebtables) can send an event to user space? So I can pick up these events later in a Pyrhon program in order to flash the Blinkt! RGB LEDs?