dst617
March 18, 2019, 4:26pm
1
I have the web interface behind a reverse proxy, and connections to it timeout a lot. TLS is being terminated at the OpenVAS host, not the reverse proxy.
gsad.log contains a ton of these messages:
MHD: Server reached connection limit (closing inbound connection)
I believe I’ve traced the issue back to libmicrohttpd and the default setting of MHD_OPTION_CONNECTION_LIMIT = 2
Except I don’t know how to increase this limit. Does anyone have any recommendations?
cfi
March 20, 2019, 9:53am
2
I don’t have a GVM-9 setup at hand but master (GVM-11) has currently the following setting available for the gsad daemon:
gsad --help
–per-ip-connection-limit= Sets the maximum number of connections per ip. Use 0 for unlimited.
The related commit introducing this change seems to be the one here:
greenbone:master
← timopollmeier:per_ip_connection_limit
opened 09:53AM - 24 May 18 UTC
The maximum number of connections per IP address can now be changed with
a new … gsad command line argument, per-ip-connection-limit.
This can be useful when GSA is accessed through a proxy.