49 lines
3.1 KiB
Diff
49 lines
3.1 KiB
Diff
diff -up ./doc/man/usbguard-daemon.conf.5.adoc.wired ./doc/man/usbguard-daemon.conf.5.adoc
|
|
--- ./doc/man/usbguard-daemon.conf.5.adoc.wired 2020-08-05 16:12:15.064272832 +0200
|
|
+++ ./doc/man/usbguard-daemon.conf.5.adoc 2020-08-05 16:14:04.146885179 +0200
|
|
@@ -51,8 +51,7 @@ It may be overridden using the *-c* comm
|
|
The USBGuard daemon modifies some of the default authorization state
|
|
attributes of controller devices. This setting, enables you to define what
|
|
value the default authorization is set to. Authorized default should be one
|
|
- of `keep` (do not change autorization state), `wired` (new wired USB
|
|
- devices start out authorized, wireless do not), `none` (every new device
|
|
+ of `keep` (do not change autorization state), `none` (every new device
|
|
starts out deauthorized), `all` (every new device starts out authorized) or
|
|
`internal` (internal devices start out authorized, external do not).
|
|
|
|
diff -up ./src/Library/public/usbguard/DeviceManager.cpp.wired ./src/Library/public/usbguard/DeviceManager.cpp
|
|
--- ./src/Library/public/usbguard/DeviceManager.cpp.wired 2019-11-16 18:32:45.220532059 +0100
|
|
+++ ./src/Library/public/usbguard/DeviceManager.cpp 2020-08-05 16:12:15.064272832 +0200
|
|
@@ -71,7 +71,6 @@ namespace usbguard
|
|
|
|
static const std::vector<std::pair<std::string, DeviceManager::AuthorizedDefaultType>> authorized_default_type_strings = {
|
|
{ "keep", DeviceManager::AuthorizedDefaultType::Keep },
|
|
- { "wired", DeviceManager::AuthorizedDefaultType::Wired },
|
|
{ "none", DeviceManager::AuthorizedDefaultType::None },
|
|
{ "all", DeviceManager::AuthorizedDefaultType::All },
|
|
{ "internal", DeviceManager::AuthorizedDefaultType::Internal }
|
|
diff -up ./src/Library/public/usbguard/DeviceManager.hpp.wired ./src/Library/public/usbguard/DeviceManager.hpp
|
|
--- ./src/Library/public/usbguard/DeviceManager.hpp.wired 2020-05-14 13:45:48.183508037 +0200
|
|
+++ ./src/Library/public/usbguard/DeviceManager.hpp 2020-08-05 16:12:15.064272832 +0200
|
|
@@ -60,8 +60,6 @@ namespace usbguard
|
|
*/
|
|
enum class AuthorizedDefaultType {
|
|
Keep = -128, /**< Do not change the authorization state. */
|
|
- Wired = -1, /**< New wired USB devices start out authorized,
|
|
- wireless USB devices do not. */
|
|
None = 0, /**< Every new device starts out deauthorized. */
|
|
All = 1, /**< Every new device starts out authorized. */
|
|
Internal = 2, /**< Internal devices start out authorized,
|
|
diff -up ./usbguard-daemon.conf.in.wired ./usbguard-daemon.conf.in
|
|
--- ./usbguard-daemon.conf.in.wired 2020-05-20 13:56:50.809203248 +0200
|
|
+++ ./usbguard-daemon.conf.in 2020-08-05 16:12:15.064272832 +0200
|
|
@@ -91,8 +91,6 @@ InsertedDevicePolicy=apply-policy
|
|
# default authorization is set to.
|
|
#
|
|
# * keep - do not change the authorization state
|
|
-# * wired - new wired USB devices start out authorized, wireless USB
|
|
-# devices do not
|
|
# * none - every new device starts out deauthorized
|
|
# * all - every new device starts out authorized
|
|
# * internal - internal devices start out authorized, external devices start
|