usbguard
usbguard copied to clipboard
When the configuration is set to allow HID, the console output is inconsistent with the log output when a USB keyboard is inserted.
OS: SUSE Linux Enterprise Micro 5.5 Host:PowerEdge T550 Config the rule.config as below: allow with-interface equals { 03:01:01 } # Keyboard allow with-interface equals { 03:01:02 } # Mouse block
plugin a Lenovo usb-mouse the console displayed usb 1-12: device is not authorized for usuage while the usb-guard log displayed as below: 6: allow id 093a:2510 serial "" name "USB Optical Mouse" hash "38qZyBW+xRzXbM1YywhPJ8ds+QbGGYs21YGIfMhpItg=" parent-hash "jEP/6WzviqdJ5VSeTUY8PatCNBKeaREvo2OqdplND/o=" via-port "1-12" with-interface 03:01:02 with-connect-type "hotplug"
it is contradictory.