Project

General

Profile

Actions

Bug #488

closed

warden-client-2.0.0-beta: osetrit pad klienta pri jeho neuspesne akci tak, aby nezabil aplikaci, ktera jej vola (napr. pri alert handshake failure)

Added by Tomáš Plesník over 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Jan Soukal
Category:
-
Target version:
Start date:
06/12/2012
Due date:
% Done:

0%

Estimated time:

Description

Zjistitli jsme, ze klient pri neuspesnem pokusu o prihlaseni na Warden server, napr. pri problemech s SSL handshakem klient umre a s nim i cela aplikace, ktera jej vola:

[root@nfsen etc]# /opt/warden-client/doc/sender.pl
DEBUG: .../IO/Socket/SSL.pm:1622: new ctx 320599712
DEBUG: .../IO/Socket/SSL.pm:339: socket not yet connected
DEBUG: .../IO/Socket/SSL.pm:341: socket connected
DEBUG: .../IO/Socket/SSL.pm:359: ssl handshake not started
DEBUG: .../IO/Socket/SSL.pm:409: set socket to non-blocking to enforce timeout=180
DEBUG: .../IO/Socket/SSL.pm:422: Net::SSLeay::connect -> -1
DEBUG: .../IO/Socket/SSL.pm:432: ssl handshake in progress
DEBUG: .../IO/Socket/SSL.pm:442: waiting for fd to become ready: SSL wants a read first
DEBUG: .../IO/Socket/SSL.pm:462: socket ready, retrying connect
DEBUG: .../IO/Socket/SSL.pm:422: Net::SSLeay::connect -> -1
DEBUG: .../IO/Socket/SSL.pm:432: ssl handshake in progress
DEBUG: .../IO/Socket/SSL.pm:442: waiting for fd to become ready: SSL wants a read first
DEBUG: .../IO/Socket/SSL.pm:462: socket ready, retrying connect
DEBUG: .../IO/Socket/SSL.pm:422: Net::SSLeay::connect -> -1
DEBUG: .../IO/Socket/SSL.pm:432: ssl handshake in progress
DEBUG: .../IO/Socket/SSL.pm:442: waiting for fd to become ready: SSL wants a read first
DEBUG: .../IO/Socket/SSL.pm:462: socket ready, retrying connect
DEBUG: .../IO/Socket/SSL.pm:422: Net::SSLeay::connect -> 0
DEBUG: .../IO/Socket/SSL.pm:470: connection failed - connect returned 0
DEBUG: .../IO/Socket/SSL.pm:1299: SSL connect attempt failed because of handshake problems error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure

DEBUG: .../IO/Socket/SSL.pm:1299: IO::Socket::INET configuration failed error:00000000:lib(0):func(0):reason(0)

DEBUG: .../IO/Socket/SSL.pm:1659: free ctx 320599712 open=320599712
DEBUG: .../IO/Socket/SSL.pm:1667: OK free ctx 320599712

not well-formed (invalid token) at line 1, column 3, byte 3 at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/XML/Parser.pm line 187

Je tedy potreba tento stav, ale take vsechny ostatni, osetrit tak, aby pri problemech klienta nedoslo k padu aplikace, ktera jej vola. Vice informaci poskytne Tom.

Actions #1

Updated by Jan Soukal over 12 years ago

  • Status changed from New to Resolved

Vyreseno. Kod zavren do evalu v pripade odesilajiciho klienta. U prijimace po domluve s P. Kachou ponechano tak, jak je.

Actions #2

Updated by Tomáš Plesník over 12 years ago

  • Status changed from Resolved to Closed

Jan Soukal wrote:

Vyreseno. Kod zavren do evalu v pripade odesilajiciho klienta. U prijimace po domluve s P. Kachou ponechano tak, jak je.

Dalsi moznosti je, ze si klient sebou bude tahat vsechny Perli knihovny, o kterych vi, ze to s nimi jede. Tak jak to udelal Kostej s Bodikem na nfsen.ics.muni.cz.

Actions #3

Updated by Tomáš Plesník about 12 years ago

  • Target version set to 2.0
Actions

Also available in: Atom PDF