view src/libident/README @ 72:ad034b57f3b2

fixed Debian bug 536060 (log files are closed after SIGHUP receival) Explanation: When run in daemon mode, first the log files are opened. They get assigned to the file descriptors 3 and 4 usually. Then std{in,out,err} are closed. When SIGHUP comes in, all open files are closes and masqmail reexecutes itself. The new masqmail instance opens the log files at fd 0 and 1 now, but std{in,out,err} are closed afterwards, thus the log files are closed. The fix is to close the log files before std{in,out,err} are closed, in case the log files have higher fds. After std{in,out,err} were closed, the log files get opened again, now. See also: http://bugs.debian.org/536060
author meillo@marmaro.de
date Wed, 16 Jun 2010 10:32:20 +0200
parents 08114f7dcc23
children
line wrap: on
line source

COPYRIGHT ISSUES:

	This version of 'libident' is hereby released into the
	Public Domain. It may be distributed for a fee or without
	a fee. We only ask you not to pretend you wrote it.

If you make any changes, please send sources or a diff of it to
us (pen@lysator.liu.se or pell@lysator.liu.se), so we can keep
_one_ unified version of libident available...


FTP SITE:

The official FTP site and location for libident is:

	ftp://ftp.lysator.liu.se/pub/ident/libs


COMMENTS:

This is the second stab at a small library to interface to the Ident
protocol server. Maybe this will work correctly on some machines.. :-)
 
The ident-tester.c file is a small daemon (to be started from Inetd)
that does an ident lookup on you if you telnet into it. Can be used
to verify that your Ident server is working correctly.
 
I'm currently running this "ident-tester" on port 114 at lysator.liu.se
(130.236.254.1) if you wish to test your server.
 
/Peter Eriksson <pen@lysator.liu.se>, 1 Aug 1992


This library now contains some higher-level routines, as well as a
similar test program to test these (lookup-tester).

/Pär Emanuelsson <pell@lysator.liu.se>, 4 April 1993


Support for NextStep 3.1 added.

/Michael Kuch <kuch@mailserv.zdv.uni-tuebingen.de>, 13 Aug 1993


Updated the ident.h header file to work with Linux, and reorganized the
Makefile for easier compilation...

/Peter Eriksson, 18 Oct 1994


Added the copyright notice at the top.

/Peter Eriksson, 29 Nov 1994


For release 0.18:

Added some bug fixes and improvements from Jean-Philippe Martin-Flatin
(syj@ecmwf.int).

/Peter Eriksson, 5 Oct 1995


For release 0.20:

Some cleanup of the distribution, and some bug fixes in the
ident-tester.c source. Perhaps it should be called 1.0? (Perhaps
it should use GNU Autoconf...)

/Peter Eriksson, 13 Nov 1996


For release 0.21:

A couple of minor fixes (mainly support for 2.11BSD).

/Peter Eriksson, 17 Jan 1997