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:
Nikos Mavrogiannopoulos
2016-09-25 15:44:43 +02:00
parent d30c5616af
commit 5fce6c8c86
9 changed files with 38 additions and 5 deletions

View File

@@ -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)