Hello developers,
I´m working on hack into openssl library. The modification is working fine
if i run the new library inside a linux server. However it is not working
as expected if i run the same library inside an Android operational system
(ARM).
The patch just add some new code to retrieve connection information like
payload, destination ip address and port.
I did it modifying SSL_write() function present into ssl_lib.c and running
inside Android for some reason the destination address is always 0.0.0.0
To retrieve the destination address i´m doing
SSL_write() {
--- snip ---
SSL_get_fd()
getpeername()
---- snip ---
}
As i said it is working fine under a linux server... but not inside Android.
I will appreciate any help.
Thanks
Breno