-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
read_from_client_tls: failed to read from client: The TLS connection was non-properly terminated. #701
Comments
When replicating the issue, it seems the error happens constantly after 194 seconds on the remote scanner logs if there has not been any output. Workaround is to have multiple scans at the same time that generate traffic to the TLS session avoiding the channel to be silent. |
@mettatu I have the same issue here. But I made an src install on two new vm's and the same problem showed up. Environment
Moar debugging on master.
|
Yes, the SQL messages were fixed but the TLS termination still exists with the remote scanners. |
@cfi-gb @mettatu, -- |
@falkowich SQL errors were a different issue and not related. |
@mettatu, But we have the problem with TLS too. |
Hi, -- |
Thanks Falk, I have not tested this in a while. I can confirm that this problem does not exist anymore with the recent build of Greenbone Vulnerability Manager 8.0.2. |
I a currently running GVM-10 latest stable release having the same issue. Greenbone Vulnerability Manager 8.0.2 seems not to be released yet, do you know if that will happen anytime soon? |
I am receiving "read_from_client_tls: failed to read from client" from a remote scanner in the middle of the scan when performing longer scans (~800 seconds) resulting that the task ends up as "Interrupted" on the master. Shorter scans (<180 seconds) end up correctly as "Done".
I debugged the tcp session timeouts with netcat to rule out kernel level timeouts.
I presume it is related to the function "read_from_client_tls" in src/gmpd.c but I cannot debug further.
Expected behavior
Keep the TLS-session open until the task has been finished on a remote scanner
Current behavior
TLS-session is terminated after ~180 seconds.
Steps to reproduce
GVM versions
gsa: Greenbone Security Assistant 8.0.1
gvm: Greenbone Vulnerability Manager 8.0.1
openvas-scanner: OpenVAS Scanner 6.0.1
gvm-libs: gvm-libs-10.0.1
Environment
Operating system: Debian 9 (Stretch)
Kernel: Linux scanner 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u4 (2019-07-19) x86_64 GNU/Linux
Compiled from source
Slave
GVM versions
gvm: Greenbone Vulnerability Manager 8.0.1
openvas-scanner: OpenVAS Scanner 6.0.1
gvm-libs: gvm-libs-10.0.1
Environment
Debian 9 (Stretch)
Linux scanner-01 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u4 (2019-07-19) x86_64 GNU/Linux
Compiled from source
Logfiles
The text was updated successfully, but these errors were encountered: