<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monitoring-plugins/plugins/tests/check_http.t, branch v3.0.0-rc3</title>
<subtitle>Monitoring Plugins
</subtitle>
<id>https://www.monitoring-plugins.org/repositories/monitoring-plugins/atom?h=v3.0.0-rc3</id>
<link rel='self' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/atom?h=v3.0.0-rc3'/>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/'/>
<updated>2024-07-30T15:13:03Z</updated>
<entry>
<title>check_curl: fix relative redirects on non-standard port</title>
<updated>2024-07-30T15:13:03Z</updated>
<author>
<name>Sven Nierlein</name>
<email>sven@consol.de</email>
</author>
<published>2024-07-29T18:53:32Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=acbfbf3de614f03ea5f9d3942558f1661fc202a4'/>
<id>urn:sha1:acbfbf3de614f03ea5f9d3942558f1661fc202a4</id>
<content type='text'>
Having a webserver respond with a relative redirect as for ex. in `Location: /path/to.html`
check_curl would use the wrong standard http/https port instead
of crafting the absolute url using the given scheme/hostname and port.

Adding a new test case for this for check_http and check_curl. check_http did
it correct already, so no fix necessary there.

before:

    %&gt;./check_curl -H 127.0.0.1 -p 50493 -f follow -u /redirect_rel -s redirected -vvv
    **** HEADER ****
    HTTP/1.1 302 Found
    ...
    Location: /redirect2

    ...
    * Seen redirect location /redirect2
    ** scheme: (null)
    ** host: (null)
    ** port: (null)
    ** path: /redirect2
    Redirection to http://127.0.0.1:80/redirect2

fixed:

    %&gt;./check_curl -H 127.0.0.1 -p 50493 -f follow -u /redirect_rel -s redirected -vvv
    **** HEADER ****
    HTTP/1.1 302 Found
    ...
    Location: /redirect2

    ...
    * Seen redirect location /redirect2
    ** scheme: (null)
    ** host: (null)
    ** port: (null)
    ** path: /redirect2
    Redirection to http://127.0.0.1:50493/redirect2

Signed-off-by: Sven Nierlein &lt;sven@nierlein.de&gt;
</content>
</entry>
<entry>
<title>check_http: Implement special case test for zero size chunk only</title>
<updated>2023-02-06T11:15:46Z</updated>
<author>
<name>RincewindsHat</name>
<email>12514511+RincewindsHat@users.noreply.github.com</email>
</author>
<published>2023-02-06T11:15:46Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=03efbb8e4f736bf2df5d9477dd4191501fe035ea'/>
<id>urn:sha1:03efbb8e4f736bf2df5d9477dd4191501fe035ea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: fix chunked encoding test server</title>
<updated>2023-01-07T17:34:46Z</updated>
<author>
<name>Sven Nierlein</name>
<email>sven@nierlein.de</email>
</author>
<published>2022-12-22T13:58:01Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=07561a67abb02688955433db5b4a38b23523a754'/>
<id>urn:sha1:07561a67abb02688955433db5b4a38b23523a754</id>
<content type='text'>
</content>
</entry>
<entry>
<title>check_http/check_curl: add chunked encoding test</title>
<updated>2023-01-07T17:34:46Z</updated>
<author>
<name>Sven Nierlein</name>
<email>sven@nierlein.de</email>
</author>
<published>2022-12-22T13:06:08Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=c256af44fb23a4749faa5f3fce167a9d9a4367d7'/>
<id>urn:sha1:c256af44fb23a4749faa5f3fce167a9d9a4367d7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sslutils: use chain from client certificates</title>
<updated>2022-01-30T11:25:56Z</updated>
<author>
<name>Tobias Wiese</name>
<email>tobias@tobiaswiese.com</email>
</author>
<published>2021-05-22T23:39:15Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=31bdbfce92de2dc7717fe13a8d1ca8e7dbf850d4'/>
<id>urn:sha1:31bdbfce92de2dc7717fe13a8d1ca8e7dbf850d4</id>
<content type='text'>
sslutils used to load only the first certificate when it was given a
client certificate file.

Added tests for check_http to connect to a http server that expects a
client certificate (simple and with chain).

Signed-off-by: Tobias Wiese &lt;tobias@tobiaswiese.com&gt;
</content>
</entry>
<entry>
<title>tests: ignore sigpipes in https test daemon</title>
<updated>2021-05-20T18:57:59Z</updated>
<author>
<name>Sven Nierlein</name>
<email>sven@nierlein.de</email>
</author>
<published>2021-05-20T18:57:59Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=b428cc17f75682465e6f1e59b32fdec02b87ceac'/>
<id>urn:sha1:b428cc17f75682465e6f1e59b32fdec02b87ceac</id>
<content type='text'>
check_http closes the connection after checking the certificate with -C. This leads to sigpipe
errors when the ssl daemon wants to send a response and the daemon quits which makes the
subsequent tests fail.
</content>
</entry>
<entry>
<title>tests: increase startup sleep</title>
<updated>2021-05-20T16:04:49Z</updated>
<author>
<name>Sven Nierlein</name>
<email>sven@nierlein.de</email>
</author>
<published>2021-05-20T16:04:49Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=eb75d847ae31a86768b06926bc2323f7c16f07b9'/>
<id>urn:sha1:eb75d847ae31a86768b06926bc2323f7c16f07b9</id>
<content type='text'>
github action might fail from to time otherwise
</content>
</entry>
<entry>
<title>tests: update expired test certificate</title>
<updated>2020-05-15T12:24:18Z</updated>
<author>
<name>Sven Nierlein</name>
<email>sven@nierlein.de</email>
</author>
<published>2020-05-15T11:33:48Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=072e97d5de3f147aef1eae41222385352fb8df73'/>
<id>urn:sha1:072e97d5de3f147aef1eae41222385352fb8df73</id>
<content type='text'>
the certificate used to test expired http checks is to old to be used
with recent ssl libraries and results in:

&gt; SSL routines:SSL_CTX_use_certificate:ee key too small

unfortunatly the error is only visible when setting $IO::Socket::SSL::DEBUG in
the check_http.t file.
</content>
</entry>
<entry>
<title>Merge branch 'master' into feature_check_curl</title>
<updated>2019-04-04T11:09:15Z</updated>
<author>
<name>Andreas Baumann</name>
<email>mail@andreasbaumann.cc</email>
</author>
<published>2019-04-04T11:09:15Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=2f4d6764d78cf085601b34ac92486405bd11095d'/>
<id>urn:sha1:2f4d6764d78cf085601b34ac92486405bd11095d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>renew test certificates</title>
<updated>2019-02-19T15:35:28Z</updated>
<author>
<name>Sven Nierlein</name>
<email>sven@nierlein.de</email>
</author>
<published>2019-02-19T15:35:28Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=8442ed5b41a68f6623492235b132c21735d51897'/>
<id>urn:sha1:8442ed5b41a68f6623492235b132c21735d51897</id>
<content type='text'>
Signed-off-by: Sven Nierlein &lt;sven@nierlein.de&gt;
</content>
</entry>
</feed>
