Given a filehandle, how can I find source IP??
Joe Porkka
jap at convex.cl.msu.edu
Sat Mar 23 06:18:18 AEST 1991
Well, the subject says it all...
On a SUN, I am trying to track down the address of the machine
that telneted to me. The reason is that I want to be able
to open another connection going back the other way.
Iv'e tried peeking trough the kernel with kvm_getu and kvm_read,
and got down to the vnode struct, in hopes of tracking down
the socket information, and grap the IP address out of that.
Any ideas???
More information about the Comp.unix.wizards
mailing list