[comp.unix.questions] Finger logger: several questions

mfontana@eniac.seas.upenn.edu (Mark A Fontana) (04/13/91)

I've been following the thread on finger logging programs, and was wondering
if there is any way to determine the login name of a remote fingerer, or
at least the name of the calling system.  Ultimately, I'd like to be able
to fetch the full name of a remote user, ie. (Mark A Fontana), so that
I could extend a customized greeting to foreign fingerers as well.

I've been playing with the snip of code posted here a few days ago, but I'd
like to expand it a little.  If you have a custom finger program/finger 
logger that works well for you, I'd greatly appreciate it if you'd mail
me a copy.  If there is interest, I'll post a summary.

Thanks,
Mark

.-----------------------------------------------------------------------------.
| Mark A. Fontana (215)573-8410 | ACCOMPANYING, ANIMATION, PROGRAMMING, DALs  |
| mfontana@eniac.seas.upenn.edu | Functional languages -- what an oxymoron!!  |
`-----------------------------------------------------------------------------'

c60b-1eq@web-1g.berkeley.edu (Noam Mendelson) (04/13/91)

In article <41042@netnews.upenn.edu> mfontana@eniac.seas.upenn.edu (Mark A Fontana) writes:
>I've been following the thread on finger logging programs, and was wondering
>if there is any way to determine the login name of a remote fingerer, or

No, you can't do that.

>at least the name of the calling system.  Ultimately, I'd like to be able

You can get the name of the calling system.

>to fetch the full name of a remote user, ie. (Mark A Fontana), so that
>I could extend a customized greeting to foreign fingerers as well.

You're out of luck then.

>I've been playing with the snip of code posted here a few days ago, but I'd
>like to expand it a little.  If you have a custom finger program/finger 
>logger that works well for you, I'd greatly appreciate it if you'd mail
>me a copy.  If there is interest, I'll post a summary.

It's in the mail.

-- 
+==========================================================================+
| Noam Mendelson   ..!agate!ucbvax!web!c60b-1eq | "I haven't lost my mind, |
| c60b-1eq@web.Berkeley.EDU                     |  it's backed up on tape  |
| University of California at Berkeley          |  somewhere."             |

brnstnd@kramden.acf.nyu.edu (Dan Bernstein) (04/13/91)

In article <1991Apr13.025815.3741@agate.berkeley.edu> c60b-1eq@web-1g.berkeley.edu (Noam Mendelson) writes:
> In article <41042@netnews.upenn.edu> mfontana@eniac.seas.upenn.edu (Mark A Fontana) writes:
> >I've been following the thread on finger logging programs, and was wondering
> >if there is any way to determine the login name of a remote fingerer, or
> No, you can't do that.

Well, you can if the remote host has an RFC 931 server. If you want to
set up an RFC 931 server under BSD, get pub/hier/inet/rfc931/authd.3.01
from stealth.acf.nyu.edu. Other files in the same directory include
patches to talk, sendmail, and nntpd to understand usernames provided by
the server. More applications (including the old version of authd, which
you shouldn't bother with) appear in the auth and authutil packages from
comp.sources.unix volume 22.

---Dan

mrapple@quack.sac.ca.us (Nick Sayer) (04/17/91)

c60b-1eq@web-1g.berkeley.edu (Noam Mendelson) writes:

>In article <41042@netnews.upenn.edu> mfontana@eniac.seas.upenn.edu (Mark A Fontana) writes:
>>I've been following the thread on finger logging programs, and was wondering
>>if there is any way to determine the login name of a remote fingerer, or


Well, yes he can, sort of. RFC931 provides the username of the opposite
end, providing the system on the other end runs the auth demon. Not
many sites do. And since you have to rely on the other end to provide
authentication, it's not terribly trustworthy.
>No, you can't do that.
-- 
Nick Sayer              | Think of me as a recombinant    | RIP: Mel Blanc
mrapple@quack.sac.ca.us | Simpson: Homer's looks, Lisa's  |   1908-1989
N6QQQ  [44.2.1.17]      | brains, Bart's manners, and     |  May he never
209-952-5347 (Telebit)  | Maggie's appetite for TV.  --Me |  be silenced.