VictoriaMetrics/lib/netutil
Aliaksandr Valialkin b17857c7a4
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:47:06 -08:00
..
conn.go app/{vminsert,vmselect}/netstorage: allow calling Init()+MustStop() in a loop 2022-10-25 14:43:05 +03:00
conn_pool.go app/{vminsert,vmselect}/netstorage: allow calling Init()+MustStop() in a loop 2022-10-25 14:43:05 +03:00
conn_pool_test.go app/{vminsert,vmselect}/netstorage: allow calling Init()+MustStop() in a loop 2022-10-25 14:43:05 +03:00
proxyprotocol.go lib/netutil: limit the time needed for reading proxy protocol headers 2023-01-26 23:47:06 -08:00
proxyprotocol_test.go lib/netutil: init implimentation of proxy protocol (#3687) 2023-01-26 23:25:22 -08:00
tcpdialer.go app/{vminsert,vmselect}/netstorage: allow calling Init()+MustStop() in a loop 2022-10-25 14:43:05 +03:00
tcplistener.go lib/netutil: init implimentation of proxy protocol (#3687) 2023-01-26 23:25:22 -08:00
tls.go lib/netutil/tls.go: consistently use tlsMinVersion name across source code 2022-09-26 17:59:07 +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:38:43 +03:00