home *** CD-ROM | disk | FTP | other *** search
- pidentd v2.1
-
- An implementation of a RFC1413 identification daemon.
-
- What is pidentd
- ~~~~~~~~~~~~~~~
-
- pidentd provides a service (in the Unix sense of the word, rather than
- a NeXTSTEP service) allowing the identity of someone making a network
- connection to be determined. It is typically used for auditing
- network connections (an example of code that can do this is Wietse
- Venema's excellent log_tcp package submitted to comp.sources.unix in
- March 93), or providing some degree of authentication.
-
- This version compiles on NeXTs under NeXTSTEP 2.x & 3.x. It should
- work on white hardware although we have not yet been able to test this
- (confirmation either way to the address at the bottom of this file
- please). Precompiled binaries for 3.0 black hardware are included.
-
- What can make use of pidentd
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
- Currently there are several packages that can use the RFC1413 ident
- protocol if the host supports it. This includes ftp daemons (such as
- the wuarchive one), sendmail implementations (some versions of IDA -
- these can put information about the person making an SMTP connection,
- allowing the tracing of forged mail), smail (like sendmail -- but in
- my biased opinion, much better), log_tcp (mentioned above) and others
- coming up. There was also a NeXT finger program released last year
- that uses RFC1413 creatively!
-
- The defacto archive site for all things RFC1413 related (including
- this package in its latest version) is ftp.lysator.liu.se in pub/ident
- .
-
- Why *YOU* should run pidentd
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
- The problem is that you can only use all these wonderful RFC1413
- identification tricks if the machine *making* the network connection
- is running an identification daemon. pidentd does not give out
- general security sensitive information, all it will do is tell machine
- B who on machine A is making a specific connection to machine B - no
- other parties can get any more information on your system. However
- just this information is very useful if someone is using your machine
- to hack into someone elses (for instance), or to check that a mail
- purporting to be from you was actually sent by you and is not a
- forgery. Some FTP sites are restricting uploads of data only to
- machines that can give the identity of the user using RFC1413.
- Basically it is only politeness to give some form of ID when using
- someone elses resources [privacy is a separate issue here]. If you
- run a set of student machines you should run pidentd if only to be
- able to defend accusations of hacking from your students!
-
- How you run pidentd
- ~~~~~~~~~~~~~~~~~~~
-
- If you are (rightly) paranoid, look through the code for an idea of
- what its doing - this daemon runs with root level privaleges, and you
- don't just hand the keys of your house to anyone??? Compile the code
- (or use the precompiled version supplied - it was compiled on NS 3.0
- on black hardware). The appropriate command is:-
-
- % make "CFLAGS=-O -pipe" "LDFLAGS=-s -object" next
-
- This gives you a tiny binary (9804 bytes!). Install this into
- /usr/etc/in.identd :-
-
- % install -c -m 755 in.identd /usr/etc/in.identd
-
- Make sure that the ident service is mentioned in the services database
- - for "normal" systems using netinfo this can be done as follows (as
- root):-
-
- % echo "ident 113/tcp auth" | niload -v services /
-
- Edit inetd.conf to mention the new service (again this must be done as
- root). The inetd.conf line will look like this:-
-
- ident stream tcp wait root /usr/etc/in.identd in.identd -w -t300
-
- This runs the daemon in its most efficient mode - after each query a
- damon is left running for 300 seconds to pick up any following
- requests.
-
- Restart inetd (again as root):-
-
- % ps aux | grep inetd
- root 109 0.0 1.1 1.44M 264K ? S 0:22 (inetd)
- % kill -HUP 109
-
- pidentd will then be configured. You can test it by typing make in
- the testdir directory, which compiles and runs a test program.
-
- Credits etc
- ~~~~~~~~~~~
-
- pidentd was written by Peter Eriksson <pen@lysator.liu.se> with many
- others - see the CREDITS file within the distribution.
-
- NeXT support was added by Nigel Metheringham <nigelm@ohm.york.ac.uk>
- who also made the binary distributions for NeXTs and made these
- available on the standard archive sites.
-
- Any bug reports etc to me (Nigel Metheringham <nigelm@ohm.york.ac.uk>)
- in the first instance, possibly copied to Peter.
-
- [Version 2.1 - 12 May, 1992]