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 Hamilton <[EMAIL PROTECTED]> wrote: > 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 the peer. > > -Kyle H > > On 3/5/06, kashif javed <[EMAIL PROTECTED]> wrote: > > 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 of both source and > > destination(to whom we forward the packets)? > > > > Regards, > > > > Kashif > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > ______________________________________________________________________ > > OpenSSL Project > http://www.openssl.org > > User Support Mailing List > openssl-users@openssl.org > > Automated List Manager > [EMAIL PROTECTED] > > > ______________________________________________________________________ > OpenSSL Project > http://www.openssl.org > User Support Mailing List > openssl-users@openssl.org > Automated List Manager > [EMAIL PROTECTED] > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]