To get end point's IP address
Chethan Kumar
Chethan.Kumar at toshiba-tsip.com
Mon May 20 10:21:33 UTC 2019
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, its giving proxy server's IP and not destination IP.
Let me know how can achieve the same.
Thanks in advance,
Chethan Kumar
The information contained in this e-mail message and in any
attachments/annexure/appendices is confidential to the
recipient and may contain privileged information.
If you are not the intended recipient, please notify the
sender and delete the message along with any
attachments/annexure/appendices. You should not disclose,
copy or otherwise use the information contained in the
message or any annexure. Any views expressed in this e-mail
are those of the individual sender except where the sender
specifically states them to be the views of
Toshiba Software India Pvt. Ltd. (TSIP),Bangalore.
Although this transmission and any attachments are believed to be
free of any virus or other defect that might affect any computer
system into which it is received and opened, it is the responsibility
of the recipient to ensure that it is virus free and no responsibility
is accepted by Toshiba Embedded Software India Pvt. Ltd, for any loss or
damage arising in any way from its use.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20190520/b7dba9b7/attachment.html>
More information about the openssl-users
mailing list