>I have modify assp.pl code to include this , and it seems to work ok for 
now.

IMHO there is not a single place in the assp code , were a  LWP::UserAgent 
object uses https:// or ftps:// to connect to a server.

>"error: Couldn't upgrade to TLS for 
client 87.xxx.xxx.xxx: SSL wants a read first"

This is a logging related to SMTP->TLS, it has nothing to do with 
LWP::UserAgent ! 
Next time this client connects, assp will remove the STARTTLS offer from 
the EHLO-reply to prevent this issue.

Thomas




Von:    Adrian Stoica <adrian.sto...@dacris.net>
An:     assp-test@lists.sourceforge.net, 
Datum:  26.02.2014 12:43
Betreff:        [Assp-test] SSL wants a read first



Hello

today i see in logs a message like "error: Couldn't upgrade to TLS for 
client 87.xxx.xxx.xxx: SSL wants a read first"

After some googling, i found an opinion that could be the server simply 
does not respond, if it does not like the SSL client hello.
or the SNI support, e.g. where the client sends the hostname it want to 
connect, used if you have multiple SSL servers behind the same IP.
The workaround is to set SSL_hostname as $ua->ssl_opts( SSL_hostname => 
'' ); , after every initialization my $ua = LWP::UserAgent->new();

I have modify assp.pl code to include this , and it seems to work ok for 
now.

(the ideea is from https://rt.cpan.org/Public/Bug/Display.html?id=86684)

Thank you.

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk

_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test




DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
*******************************************************


------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to