On 2015-11-19 12:29, Sebastien Aucouturier wrote:
Hi,
since we have added passwords in the list of passwords test by
default_ssh_credentials.nasl,
we discovered a bug with the use of this plugin
in our case, it fills the 1024 entries of the connections [1] table
declare in misc/network.c file
causing message : Out of OpenVAS file descriptors and the end of the
plugin
We trace and see that get_connection_fd [2] is called by
open_stream_connection_ext [3] to fills the connections [1]table
We check value in the table and see it contains 1024 time the pid
15703, the one of the plugin :
2011/default_ssh_credentials.nasl (process 15703) finished its job in
2189.020 seconds
and at the end the most important, we see the release_connection_fd
[4] fonction is never called :-( for this specific plugin .
Can you help to fix ?
we don't know if problems come from the library or from the plugin
Thanks for spotting this. Indeed, the issue is in openvas libraries.
I fixed the issue in trunk and backported it to openvas 8 branch.
Best regards,
Hani.
_______________________________________________
Openvas-plugins mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-plugins