🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #922

Re: how to put a program into a .plan file

#922
From: Dan Bernstein
Date: Fri, 28 Sep 1990 03:41
12 lines
1038 bytes
In article <2867@litchi.bbn.com> rsalz@bbn.com (Rich Salz) writes:
> **  Right now, this just keeps a count and runs fortune.  A neat hack
> **  would be to replace /usr/etc/in.fingerd with code that does a
> **  getpeername()/gethostbyaddr(), and goes back to the requesting
> **  host to do a finger there.

Neat hack? It's absolutely trivial. You just run fingerd under
attachport (-r) instead of inetd, and its environment will show a REMOTE
variable with the remote host (and authenticated username if the remote
host supports RFC 931).

---Dan
Technical Details
Message-ID: <24331:Sep2803:41:0090@kramden.acf.nyu.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zephyr.ens.tek.com!uw-beaver!milton!dali.cs.montana.edu!uakari.primate.wisc.edu!sdd.hp.com!cs.utexas.edu!yale!cmcl2!kramden.acf.nyu.edu!brnstnd
References: <978@bbt.UUCP> <2867@litchi.bbn.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zephyr.ens.tek.com!uw-beaver!milton!dali.cs.montana.edu!uakari.primate.wisc.edu!sdd.hp.com!cs.utexas.edu!yale!cmcl2!kramden.acf.nyu.edu!brnstnd
From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein)
Newsgroups: comp.unix.programmer
Subject: Re: how to put a program into a .plan file
Message-ID: <24331:Sep2803:41:0090@kramden.acf.nyu.edu>
Date: 28 Sep 90 03:41:00 GMT
References: <978@bbt.UUCP> <2867@litchi.bbn.com>
Organization: IR
Lines: 12