From: <st...@us...> - 2014-01-07 08:49:12
|
Revision: 7321 http://sourceforge.net/p/xymon/code/7321 Author: storner Date: 2014-01-07 08:49:10 +0000 (Tue, 07 Jan 2014) Log Message: ----------- xymonnet: New http modifier to select only TLSv1 connections for https tests. Modified Paths: -------------- branches/4.3.13/common/hosts.cfg.5 branches/4.3.13/xymonnet/httptest.c Modified: branches/4.3.13/common/hosts.cfg.5 =================================================================== --- branches/4.3.13/common/hosts.cfg.5 2014-01-07 08:43:44 UTC (rev 7320) +++ branches/4.3.13/common/hosts.cfg.5 2014-01-07 08:49:10 UTC (rev 7321) @@ -979,6 +979,8 @@ .br * "3", e.g. https3://www.sample.com/ : use only SSLv3 .br +* "t", e.g. httpst://www.sample.com/ : use only TLSv1 +.br * "m", e.g. httpsm://www.sample.com/ : use only 128-bit ciphers .br * "h", e.g. httpsh://www.sample.com/ : use only >128-bit ciphers Modified: branches/4.3.13/xymonnet/httptest.c =================================================================== --- branches/4.3.13/xymonnet/httptest.c 2014-01-07 08:43:44 UTC (rev 7320) +++ branches/4.3.13/xymonnet/httptest.c 2014-01-07 08:49:10 UTC (rev 7321) @@ -482,6 +482,7 @@ if (httptest->weburl.desturl->schemeopts) { if (strstr(httptest->weburl.desturl->schemeopts, "3")) sslopt_version = SSLVERSION_V3; else if (strstr(httptest->weburl.desturl->schemeopts, "2")) sslopt_version = SSLVERSION_V2; + else if (strstr(httptest->weburl.desturl->schemeopts, "t")) sslopt_version = SSLVERSION_TLS1; if (strstr(httptest->weburl.desturl->schemeopts, "h")) sslopt_ciphers = ciphershigh; else if (strstr(httptest->weburl.desturl->schemeopts, "m")) sslopt_ciphers = ciphersmedium; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |