Carl Olsen wrote:
Hi,
Im currently working on my master thesis projexct and one part of this project is to make a SSL server which authenticates both ways with X509 certificats. And so far i have managed to get this to work in a pretty good manner. But there is a one thing that i dont understand, which maybe you guys can help me with..

1. Right after the client connects (BIO_do_accept()) I want to be able to extract the client information (network information, ip number aso). But i can't find a way of doing that, is there an easy way of doing that?
You have to use the functions provided by the underlying BIO. As I assume that you are working with sockets you can use functions like getpeername on the socket you are using to find out with whom you are connected.
[...]

Hope it helps,
Ted
;)

BTW, I think questions like this would be more appropriate to the openssl-user list.

--
PGP Public Key Information
Download complete Key from http://www.convey.de/ted/tedkey_convey.asc
Key fingerprint = 31B0 E029 BCF9 6605 DAC1  B2E1 0CC8 70F4 7AFB 8D26

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to