Updated canaryusb; Now it's possible to use a config file for your DNS canary token and the list of trusted devices; Also added some tests; And added a make install.
https://github.com/carvilsi/canaryusb
Get a mail notification via, Canary Tokens (DNS) when a USB device is connected on a GNU/Linux computer.
Could be useful when you leave the laptop unattended or for a server on a remote location, will not prevent to being breached, but at least you'll notice; this is the principle behind @ThinkstCanary Here we are thinking about removable media threats like #BadUSB or data theft.