I think functions about ARP and
RARP would help. I know how to do this under Windows, but I have no idea
about such things under *nix.
Talos Chen, 22
Shanghai, China
[EMAIL PROTECTED]
From: "Kyle Hamilton" [EMAIL PROTECTED]Reply-To:
openssl-users@openssl.orgTo:
So, from SSL you can find the socket and thence the IP, and in theory
you can use things like the ARP ioctls to _try_ to find the MAC (eg
Ethernet) address - however that last part only really works when all
the systems are in the same broadcast domain. If they are on the other
side of a
Dear,
I am developing an application on my RedHat Linux 9.0
system using its default OpenSSL 0.9.7, can you please
help me understand how can i access the IP addresses
of both the source and destination nodes on
application layer? Also how can i access the Hardware
addresses or Ethernet addresses
In OpenSSL, you can get the underlying socket descriptor (using int
SSL_get_fd(const SSL *ssl)) and then call getpeername() on that
descriptor.
Accessing the hardware addresses is very system-specific. It
generally involves looking into the ARP cache, and making sure you're
on the same subnet as
Dear Kyle,
Thanks for your reply.
As mentioned in my email follow that i am using RedHat
Linux 9.0, so can you please help me in accessing the
Ethernet addresses using OpenSSL on the application
layer. Besides OS, let me inform you that i am have a
LAN of 6 nodes.
Regards,
Kashif
--- Kyle