From 97cf07e30374603fe66638c9061f5c3ea7cd3dae Mon Sep 17 00:00:00 2001 From: Sebastien Vincent Date: Thu, 20 Dec 2018 13:35:30 +0100 Subject: [PATCH] [libfreelan] Adds user-agent HTTP header. Some IDS/IPS filter HTTP packets depending on presence of some HTTP headers. --- libs/freelan/src/client.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/freelan/src/client.cpp b/libs/freelan/src/client.cpp index b64b6484..2dc2eaa0 100644 --- a/libs/freelan/src/client.cpp +++ b/libs/freelan/src/client.cpp @@ -621,6 +621,7 @@ namespace freelan request->set_url(m_url_prefix + path); request->enable_cookie_support(); + request->set_user_agent("FreeLAN/2"); if (m_configuration.disable_peer_verification) {