RE: To get end point's IP address

2019-05-22 Thread Michael Wojcik
> From: Chethan Kumar [mailto:chethan.ku...@toshiba-tsip.com] > Sent: Wednesday, May 22, 2019 02:41 > > What we are trying to achieve is, if there is failure in connection between > host and destination, then at the host side, log messages saying to which > destination it got failed. So if the con

RE: To get end point's IP address

2019-05-22 Thread Chethan Kumar
f Of Michael Wojcik Sent: Tuesday, May 21, 2019 8:30 PM To: openssl-users@openssl.org Subject: RE: To get end point's IP address > From: Chethan Kumar [mailto:chethan.ku...@toshiba-tsip.com] > Sent: Tuesday, May 21, 2019 03:53 > > I researched more and found that tlsext_hostna

RE: To get end point's IP address

2019-05-21 Thread Michael Wojcik
> From: Chethan Kumar [mailto:chethan.ku...@toshiba-tsip.com] > Sent: Tuesday, May 21, 2019 03:53 > > I researched more and found that tlsext_hostname member variable in SSL > structure can be used to to get host name. That's the SNI hostname, which is set by the client to the hostname (or possib

Re: To get end point's IP address

2019-05-21 Thread Karl Denninger
On 5/21/2019 4:53 AM, Chethan Kumar wrote: Thanks for the information. I researched more and found that tlsext_hostname member variable in SSL structure can be used to to get host name. If applications set this using SSL_set_tlsext_host_name(), is it correct to print hostname/IP in tlsext_hos

RE: To get end point's IP address

2019-05-21 Thread Chethan Kumar
: RE: To get end point's IP address > From: openssl-users [mailto:openssl-users-boun...@openssl.org] On > Behalf Of Chethan Kumar > Sent: Monday, May 20, 2019 04:22 > I wanted to log end point's IP address during some errors in > communication using openssl. > Initia

RE: To get end point's IP address

2019-05-20 Thread Michael Wojcik
> From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of > Chethan Kumar > Sent: Monday, May 20, 2019 04:22 > I wanted to log end point’s IP address during some errors in communication > using openssl. > Initially when I tried getpeername() on SSL context, its giving proxy >

To get end point's IP address

2019-05-20 Thread Chethan Kumar
Dear all, I wanted to log end point's IP address during some errors in communication using openssl. What is the best way to know end point's IP address in openssl as many applications use openssl and its not feasible to change in all of them. Initially when I tried getpeername() on SSL context,