Nmap Development mailing list archives
Re: NSE: Need advice on pulling SSL cert used for TLS connection over SMTP port 25
From: Patrick Donnelly <batrick () batbytes com>
Date: Tue, 6 Oct 2009 10:06:51 -0300
On Sun, Oct 4, 2009 at 10:26 PM, Fyodor <fyodor () insecure org> wrote:
On Sun, Oct 04, 2009 at 03:08:35AM -0400, Patrick Donnelly wrote:Your patch was nearly correct. The problem was that the connected socket id (udata->nsiod) was replaced by a new one (because the general case is we are making a brand new connection). nsock_reconnect_ssl requires a socket already open. I have added a new socket method, reconnect_ssl, that will allow you to remake the socket with ssl. The patch and a test script are attached. If no one has any complaints I'll apply this patch sometime in the next couple days.That sounds good to me--please do apply it when you're comfortable that it works correctly. Don't forget to include nsedoc so people can read about the new function at http://nmap.org/nsedoc/lib/nmap.html.
Ok this is committed in revision 15725. -- -Patrick Donnelly "Let all men know thee, but no man know thee thoroughly: Men freely ford that see the shallows." - Benjamin Franklin _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- NSE: Need advice on pulling SSL cert used for TLS connection over SMTP port 25 Tom Sellers (Oct 01)
- Re: NSE: Need advice on pulling SSL cert used for TLS connection over SMTP port 25 kx (Oct 01)
- Re: NSE: Need advice on pulling SSL cert used for TLS connection over SMTP port 25 Tom Sellers (Oct 02)
- Re: NSE: Need advice on pulling SSL cert used for TLS connection over SMTP port 25 SM (Oct 02)
- Re: NSE: Need advice on pulling SSL cert used for TLS connection over SMTP port 25 Tom Sellers (Oct 02)
- Re: NSE: Need advice on pulling SSL cert used for TLS connection over SMTP port 25 Tom Sellers (Oct 03)
- Re: NSE: Need advice on pulling SSL cert used for TLS connection over SMTP port 25 Patrick Donnelly (Oct 04)
- Re: NSE: Need advice on pulling SSL cert used for TLS connection over SMTP port 25 Tom Sellers (Oct 04)
- Re: NSE: Need advice on pulling SSL cert used for TLS connection over SMTP port 25 Tom Sellers (Oct 04)
- Re: NSE: Need advice on pulling SSL cert used for TLS connection over SMTP port 25 Fyodor (Oct 04)
- Re: NSE: Need advice on pulling SSL cert used for TLS connection over SMTP port 25 Patrick Donnelly (Oct 06)
- Re: NSE: Need advice on pulling SSL cert used for TLS connection over SMTP port 25 Patrick Donnelly (Oct 04)
- Re: NSE: Need advice on pulling SSL cert used for TLS connection over SMTP port 25 kx (Oct 01)