23 Commits

Author SHA1 Message Date
HoneyryderChuck
09fbb32b9a fix: in test, uri URI to build uri with ip address, as concatenating fails for IPv6 2024-07-10 16:10:21 +01:00
HoneyryderChuck
ba31204227 switch from http-2-next to http-2
will be merged back to original repo soon
2024-06-28 15:49:58 +01:00
HoneyryderChuck
c388d8ec9a slow dns server: support for single hostname slowness 2024-06-11 16:27:51 +01:00
HoneyryderChuck
ad02ad5327 test dns server for tcp queries 2024-06-11 16:27:51 +01:00
HoneyryderChuck
d9fbd5194e fixup! adding tests for POST-to-GET redirection, both for 307 and not 2024-06-05 18:09:13 +01:00
HoneyryderChuck
c7431f1b19 ssrf filter plugin
a plugin which allows for requests to fail when requests are crafted to
use IPs considered internal or reserved for specific usages. these SSRF
vulnerabilities happen when one allows requests with urls input by an
external user.

This plugin is inspired, and heavily makes use of routines existing in
the ssrf_filter gem: https://github.com/arkadiyt/ssrf_filter/ .
2023-11-17 23:40:01 +00:00
HoneyryderChuck
288ac05508 fix: proxy plugin broke when processing a 305 use proxy redirect
the proxy plugin contained an enhancement, when used with the follow_redirects plugin, which retries a request over the received proxy. This contained a bug, which was now caught with the added test
2023-09-20 17:57:41 +01:00
HoneyryderChuck
c777aa779e test socks5 no auth methods error path 2023-09-20 17:57:41 +01:00
HoneyryderChuck
f9a6aab475 add the no-sni-with-san-check test 2023-09-08 23:29:12 +01:00
HoneyryderChuck
73484df323 add tests for -sess digest auth 2023-08-08 23:11:02 +01:00
HoneyryderChuck
af38476a14 test for oauth plugin 2023-05-25 16:37:22 +01:00
HoneyryderChuck
f193e164ff cleaning up resolver test artifacts 2023-05-22 01:09:40 +02:00
HoneyryderChuck
1433f35186 moar tests for native resolver paths 2023-05-22 00:42:52 +02:00
HoneyryderChuck
1fb4046d52 added test exercising the dns error path 2023-05-21 23:45:38 +02:00
HoneyryderChuck
c1281a9074 native resolver: switch from nameserver if dns query fails
a behaviour has been observed behind a vpn, where when one of the
servers is unresponsive, the switch to the next nameserver wasn't
happening. Part of it was a bug in the timeout handling, but the rest
was actually the switch not happening (i.e. it'd fail on the first
server). This fixes it by switching to the next nammeserver on query
error.
2022-09-20 23:11:08 +01:00
HoneyryderChuck
ee49d7452c added tests for read and write timeout 2022-08-06 22:30:46 +01:00
HoneyryderChuck
5307b33cb6 more timmeout leeway, using Thread.kill instead (truffleruby tests) 2022-03-29 22:55:01 +01:00
HoneyryderChuck
f3cff86775 cleaning up state within an http2 connection receiving a goaway, to properly mark it to be close; this will prevent unfinished pending requests to fall in the same connection, resulting in an unrecoverable internal state error 2021-11-19 16:24:50 +00:00
HoneyryderChuck
f31b06c150 improving servlet layer to be able to quickly build an HTTP2 test server 2021-11-17 21:34:16 +00:00
HoneyryderChuck
c95e926886 auto-corrected the easy ones first 2021-09-03 12:24:18 +01:00
HoneyryderChuck
68955c14b0 added regression test to fix misbehaviour spotted before releasing 0.14.4 2021-06-02 22:56:46 +01:00
HoneyryderChuck
77c86c0c22 added test to check whether client times out on settings 2021-05-29 22:53:14 +01:00
HoneyryderChuck
9a34af9e27 moved test servlets to separate folder 2021-05-29 15:50:23 +01:00