Re: openssl chat

2010-12-13 Thread Bob Proulx
S Mathias wrote:
 i can use natively openssl for anonymous chat: 

Yes.  But it just connects your keyboard and handles the ssl
encryption part.  It doesn't really know about the chat protocol.

 # Chat: 
 # server side:
 openssl req -x509 -nodes -days 365 -newkey rsa:8192 -keyout mycert.pem -out 
 mycert.pem
 
 # server side - generate a self-signed cert.
 openssl s_server -accept 52310 -cert mycert.pem
 
 # client side - 127.0.0.1 is the IP of the server
 openssl s_client -connect 127.0.0.1:52310
 
 1) but how can i set it to require username/password? it would be a
 great chat tool

That would be within the realm of a chat client.  Using the openssl
program like that is rather like using telnet to connect to the smtp
port to send email.  It can do it as long as you type in all of the
right commands but that isn't the intended purpose.

 2) how can i transfer files with openssl? [again: with username/password?]

Your best direction is to use a chat client that has been written to
those things.

Bob


signature.asc
Description: Digital signature


openssl chat

2010-12-12 Thread S Mathias
i can use natively openssl for anonymous chat: 

# Chat: 
# server side:
openssl req -x509 -nodes -days 365 -newkey rsa:8192 -keyout mycert.pem -out 
mycert.pem

# server side - generate a self-signed cert.
openssl s_server -accept 52310 -cert mycert.pem

# client side - 127.0.0.1 is the IP of the server
openssl s_client -connect 127.0.0.1:52310


1) but how can i set it to require username/password? it would be a great chat 
tool
2) how can i transfer files with openssl? [again: with username/password?]

thank you for any ideas :\

p.s.: or it will be a firewall rule, to restrict to ip addresses in a list? 
those, who are only allowed to connect..


  

Re: openssl chat

2010-12-12 Thread Chris Bannister
On Sun, Dec 12, 2010 at 07:20:59AM -0800, S Mathias wrote:
 i can use natively openssl for anonymous chat: 
[snip]

May I suggest using an openssl mailing list to ask questions about
general usage of openssl.

http://www.openssl.org/support/community.html

-- 
Religion is excellent stuff for keeping common people quiet.
   -- Napoleon Bonaparte


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101213075805.gb20...@fischer