Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: SSL/TCP Sockets

by Spudnuts (Pilgrim)
on Jun 14, 2009 at 18:03 UTC ( #771449=note: print w/replies, xml ) Need Help??


in reply to SSL/TCP Sockets

Tri,

I'd look into using some pre-built tools for the initial testing and then venture into writing my own SSL testing suite if there were different needs beyond what the pre-built tools handle.

Give this site a glance and see if any of its suggestions are helpful: Testing SSL with Command Line Tools.

Replies are listed 'Best First'.
Re^2: SSL/TCP Sockets
by Trihedralguy (Pilgrim) on Jun 15, 2009 at 13:58 UTC
    Thanks Spudnuts for the reply!

    I ran that command that was on that page to test a connection and I got a similar answer to what I already suspected.


    trihedralguy@protego:~$ openssl s_client -connect 10.111.0.1:7001 -debug CONNECTED(00000003) write to 0x9211190 0x92117d0 (118 bytes => 118 (0x76)) 0000 - 80 74 01 03 01 00 4b 00-00 00 20 00 00 39 00 00 .t....K... ..9.. 0010 - 38 00 00 35 00 00 16 00-00 13 00 00 0a 07 00 c0 8..5............ 0020 - 00 00 33 00 00 32 00 00-2f 03 00 80 00 00 05 00 ..3..2../....... 0030 - 00 04 01 00 80 00 00 15-00 00 12 00 00 09 06 00 ................ 0040 - 40 00 00 14 00 00 11 00-00 08 00 00 06 04 00 80 @............... 0050 - 00 00 03 02 00 80 8e f0-b9 c5 25 e5 0c 56 54 88 ..........%..VT. 0060 - aa fb c5 a9 4c a5 0a 6e-f7 db c1 85 6d 0a 70 af ....L..n....m.p. 0070 - f7 3c 7e 6f 7b 0e .<~o{. read from 0x9211190 0x9216d30 (7 bytes => 0 (0x0)) 3587:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:188


    More poking around to do I think.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://771449]
help
Chatterbox?
[shmem]: some experience with vim?
[Lady_Aleena]: None
[shmem]: I don't know geany, and don't know whether it has support for ctags.
[Lady_Aleena]: ctags?
[shmem]: ctags is a program which (recursively) extracts the symbols from source and stores them in a one-file database. This allows you to query the locations where these symbols (e.g. a subroutine name) are used anywhere in the source code tree...
[shmem]: ...from inside the editor.
[shmem]: apt-get install exuberant-ctags
[Lady_Aleena]: I think I heard vim has a big learning curve.
[shmem]: then in the root of your source tree run: ctags -R
[shmem]: you get a file named tags where all symbols and the places where they are used are listed

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2017-04-27 12:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (505 votes). Check out past polls.