[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvas-plugins
Subject:    Re: [Openvas-plugins] [Openvas-devel] default_ssh_credentials.nasl - Out of OpenVAS file descriptors
From:       Hani Benhabiles <hani.benhabiles () greenbone ! net>
Date:       2015-11-27 15:04:28
Message-ID: a20b520bf0be01e1ff1f16a13f2373f6 () greenbone ! net
[Download RAW message or body]

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
Openvas-plugins@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-plugins
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic