VictoriaMetrics/lib/netutil
Aliaksandr Valialkin 28d92a2f31
lib/netutil: limit the time needed for reading proxy protocol headers
This should prevent from misconfigured proxies and from possible Slowloris-type DoS attacks
(see https://en.wikipedia.org/wiki/Slowloris_(computer_security) )

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3335
2023-01-26 23:46:51 -08:00
..
conn.go app/{vminsert,vmselect}/netstorage: allow calling Init()+MustStop() in a loop 2022-10-25 17:47:17 +03:00
proxyprotocol.go lib/netutil: limit the time needed for reading proxy protocol headers 2023-01-26 23:46:51 -08:00
proxyprotocol_test.go lib/netutil: init implimentation of proxy protocol (#3687) 2023-01-26 23:08:35 -08:00
tcplistener.go lib/netutil: init implimentation of proxy protocol (#3687) 2023-01-26 23:08:35 -08:00
tls.go lib/netutil/tls.go: consistently use tlsMinVersion name across source code 2022-09-26 17:58:01 +03:00
tls_test.go lib/{httpserver,netutil}: allow to define min and max TLS version of the http server (#3109) 2022-09-26 17:35:45 +03:00