mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
Use the X-AnyConnect-Identifier-Platform header to identify mobile clients
That is, if the header contains "android" or "apple-ios" mark it as a mobile client. The header X-AnyConnect-Identifier-DeviceType is only considered for logging purposes and appended to the user-agent name if present.
This commit is contained in:
@@ -198,7 +198,7 @@ dpd = 90
|
||||
# be higher to prevent such clients being awaken too
|
||||
# often by the DPD messages, and save battery.
|
||||
# The mobile clients are distinguished from the header
|
||||
# 'X-AnyConnect-Identifier-DeviceType'.
|
||||
# 'X-AnyConnect-Identifier-Platform'.
|
||||
mobile-dpd = 1800
|
||||
|
||||
# MTU discovery (DPD must be enabled)
|
||||
|
||||
Reference in New Issue
Block a user