2003-08-21 10:42  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/solve.c(secure_getnameinfo):
	- fix "Hostname lookup failure" in case of incorrect reverse DNS
	  alias (fix from pre-1.3.5),
	- stable release 1.2.4.

2003-08-07  9:26  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/main.cc(parse_user):
	- no longer accepts UID as user names (fix from pre-1.3.5),
	- refuse to run when SUDO_USER is invalid,
	- stable release 1.2.3.

2003-03-02 13:28  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/main.cc(parse_user):
	- improved user name resolution,
	- non root user cannot change their UID to that of someone else
	when run Set-UID root.
	* src/main.cc(preconf_security):
	- support for sudo (see http://www.sudo.ws/),
	- stable release 1.2.2.

2003-02-20 12:58  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/main.cc: Fix for broken GNU <getopt.h> on non-GNU platforms,
	should now compile on FreeBSD with libgnugetopt.
	- stable release 1.2.1.

2003-01-26  7:53  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/systlog.h: No longer conflicts with <syslog.h>, Sun Solaris
	compatibility fix.
	* src/getaddrinfo.{c,h}: Do not redefine constants, MacOS X
	partial compatibility fix.
	- stable release 1.2.0.

2003-01-25 13:30  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* configure.ac:
	- removed some superfluous checks,
	- fixed "daemon" mispelling that prevented compilation on Cygwin.
	* src/output.c(fwrite_count), src/basiclog.cc(CountDataLogMaker):
	- "null" data log format now prints bytes count,
	- candidate release 1.1.4.

2003-01-03  8:09  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/log.cc (DataLog::Connect): fixed inverted client and server
	connection messages.

2003-01-02  7:23  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/main.cc (parse_args): require option -d for option --syslog.
	* src/tcpreen.cc (bridge_main):
	- fixed "Connection to" message with syslog (displayed wrong address),
	- fixed memory consumption bug (failed to delete logs objects),
	- deferred daemon() call for easier critical error detection,
	- no longer aborts on failed connection attempts,
	- closes listening sockets as soon as they're no longer used,
	- fixed infinite wait4 loop bug in multi-process mode.
	* src/log.cc (DataLogListMaker::MakeLogList): removed '[',']' and ':'
	from log file names in multiple clients mode.
	* src/log.cc (DataLog), src/basiclog.cc (BasicDataLog): NullDataLog
	displays connections but not data again.
	* src/bridge.cc (monitor_bridge):
	- no longer displays anything (ie perror() calls removed),
	- development release 1.1.3.

2003-01-01 13:29  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/main.cc (parse_args):
	- no longer displays syntax (usage()) in case of syntax error (that
	very often prevented user from seeing the error message at all).
	- fixed non-translated warnings bug,
	- added -d (--daemon) option.
	* src/tcpreen.cc
	(bridge_cleanup): replacement for dirty gotos,
	(bridge_perror): replacement for perror/syslog,
	(bridge_main):
	- no longer mix perror and syslog (several systems report error
	incorrectly when both are used),
	- implemented daemon mode.
	* tcpreen.1:
	- upgraded for new syntax.

2002-12-30  6:20  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* configure.ac (getopt), src/main.cc (stub_perror):
	- added `extern "C"' when it was needed.
	* src/safopen.h: no longer includes <config.h> (compile-time error).
	* src/socketinfo.c (sockinfo_close): fixed typos.
	* tcpreen.1:
	- fixed DESCRIPTION for new host spec syntax,
	- fixed -o option command line sample.
	* src/log.cc (DataLogListMaker::MakeLogList): compatibility fixes for
	compilers with broken function templates support.

2002-12-29  6:58  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/basiclog.cc (BasicDataLog::Connect),
	src/tcpreen.cc (bridge_main):
	- restored server and client address in log files.
	* src/main.cc (parse_args):
	- removed verbosity handling hack - much cleaner now,
	- fixed sanity checks for new log system,
	- now accept log files in multi-process mode.
	* src/tcpreen.cc (bridge_main):
	- alpha version support for log files suffix in multi-process mode,
	generates strange filenames, though,
	- development release 1.1.2.

2002-12-28 14:48  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/solve.c (parse_host): removed, removed support for old host
	specification syntax (that caused a lot of troubles on *BSD).
	* src/main.cc (parse_args), tcpreen.cc(bridge_main): ported to use new
	C++ data log system.
	* src/bridge.cc (monitor_bridge): ported too. Bytes count moved to
	basiclog.cc(BasicDataLog).
	* src/log.cc: rewritten from scratch to use C++ classes.
	* src/basiclog.cc (BasicDataLog): added as an interface between
	src/output.c and src/log.cc.

2002-12-26  9:54  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/main.c(parse_args): removed old --inet and --inet6 options.
	* src/safopen.h: added.

2002-12-08 14:28  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/socketinfo.c (sockinfo_close): compatibility hack for Winsock to
	preserve error status.
	* src/main.c (parse_protocol): support for new protocol selection
	syntax.
	* tcpreen.1: updated to fit new syntax.

2002-12-01 13:39  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/bridge.c (monitor_bridge): fixed incorrect buffer reference
	causing a warning on some platforms (was incorrect anyway).
	* src/getaddrinfo.c (getaddrinfo): added partial replacement for
	getaddrinfo() (TCP and UDP over IPv4 only).
	(getnameinfo): check socket address length.
	* src/socketinfo.c: dead or otherwise useless code removed.
	* configure.ac: various bug fixes - should now compile on Cygwin.
	- development release 1.1.1.

2002-11-30 15:55  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* configure.ac: detection for FreeBSD's gnugetopt library.
	* src/getopt.c:	replacement for getopt().

2002-11-16 13:20  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* COPYING: restored proper GPL (no more additional terms).
	* src/main.c (parse_args): flag -m does no longer display an
	erroneous warning message when number of connections is infinite,
	added support for new hostname spefication options.
	* src/socketinfo.c (socket_connect): fixed error return value.
	* tcpreen.1, README: updated to fit with new syntax.
	- development release 1.1.0.

2002-10-30  gettextize  <bug-gnu-gettext@gnu.org>

	* Makefile.am (SUBDIRS): Add m4.
	(EXTRA_DIST): Add admin/config.rpath.
	* configure.ac (AC_CONFIG_FILES): Add po/Makefile.in, m4/Makefile.

2002-10-06  7:14  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* configure.ac:
	(AC_CHECK_FUNCS): removed tests for non-recoverable missing
	functions on unknown potentially broken systems,
	(AC_LIBSOURCE): fixed getaddrinfo.c automagic inclusion,
	(AC_REPLACE_FUNCS): added replacement for snprintf().
	* snprintf.c, snprintf.h, snprintf-imp.h: added snprintf()
	replacement copied from Ethereal sources.

2002-09-15 11:03  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/output.c:
	- fixed byte 0xff hexadecimal log format error,
	- got stripped log format to check I/O errors conditions.
	* tcpreen.1: host address format explained better.
	- stable release 1.0.4.

2002-09-08  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/getaddrinfo.h, src/getaddrinfo.c: Added replacement
	functions for getnameinfo() and gai_strerror().
	- stable release 1.0.3.

2002-08-30  gettextize  <bug-gnu-gettext@gnu.org>

	* Makefile.am (SUBDIRS): Add m4.
	(ACLOCAL_AMFLAGS): New variable.
	(EXTRA_DIST): Add admin/config.rpath.
	* configure.ac (AC_CONFIG_FILES): Add po/Makefile.in,

2002-08-28 16:01  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/main.c (parse_opts):
	- removed anti-GID root check,
	- fixed segfault with long options --inet and --inet6,
	- stable release 1.0.2.

2002-08-27 18:58  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/safopen.c (secure_append_fopen):
	- log files are now appended rather than erased,
	- extra care is taken when opening log files.
	* src/solve.h (getsockaddr): check against DNS spoofing.

2002-08-26 18:17  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/main.c (parse_host):
	- *additionnal* hostname bound checking (there was no
	ABSOLUTELY bug there),
	- stable release 1.0.0-0.

2002-08-24 18:53  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* configure.ac, src/socketinfo.c (socket_from_addrinfo),
	src/tcpreen.c (getsockaddr):
	- fixed minor setsockopt() and getsockname() portability
	  issues (FreeBSD compile warnings).
	* src/socketinfo.c (socket_connect): fixed select unset fd_set
	major bug (effectively prevented any connection).
	* tcpreen.lsm.in: added (Linux Software Map),
	- development release 0.9.9-rc2.

2002-08-23  7:00  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/tcpreen.c (bridge_main): more syslog error messages.
	* src/bridge.c (monitor_bridge): removed forgotten debug code.
	* src/main.c (parse_args): prevent logging in multiprocess,
	- development release 0.9.9-rc1.
	
2002-08-22 14:25  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/bridge.c:
	- real support for Out-of-Band data,
	- select() writeability test (to avoid one-way network congestion),
	- code simplified.
	* src/tcpreen.c (bridge_main), src/main.c (parse_args):
	- removed support for inline Out-of-band data.

2002-08-21 15:52  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/main.c (parse_args):
	- non privileged GID check,
	- fixed non-options command line arguments checking.
	* src/tcpreen.c (bridge_main): fixed privileges dropping.

2002-08-08  8:16  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/socketinfo.c (fd_freearray): fixed infinite loop.
	* src/socketinfo.c (fd_closearray): added.
	* src/tcpreen.c (bridge_main):
	- closed listening socket sooner,
	- no longer abort when a child is killed or causes an error.
	* src/main.c (parse_args):
	- sanity check for -F,
	- development release 0.9.5.

2002-08-07 11:50  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* tcpreen.1:
	- included in distribution.
	* src/main.c (usage):
	- added -F option.
	* src/main.c (version):
	- made GNU compliant.
	* src/socketinfo.c:
	- #included <limits.h>. Fix FreeBSD compilation error,
	- development release 0.9.4.

2002-08-06 10:41  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/socketinfo.h, src/socketinfo.c, src/tcpreen.c:
	- support for multiple listening sockets.
	* src/main.c, src/tcpreen.c, src/tcpreen.h:
	- syslog support.
	* src/main.c:
	- UIDs are now checked for validity before passing to the
	  program core.

2002-08-05  9:39  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* configure.ac, Makefile.am:
	- upgraded to use latest GNU autoconf and GNU automake.
	* src/socketinfo.c, src/socketinfo.h:
	- created.
	* src/main.c, src/tcpreen.c:
	- total connections count limit implemented.
	* src/tcpreen.c:
	- fixed bug that caused connect() to use IPv6-domain addresses
	  on IPv4-domain sockets,
	- fixed bug that reported incorrect socket address size and
	  prevented correct hostname lookup,
	- added multi-process (fork()) support,
	- development release 0.9.1.
	  
2002-08-04 17:05  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/main.c, configure.in:
	- code cleanup,
	- ability to set an unprivileged UID to be used when run as
	  super-user,
	- IPv6 support (dev release 0.9.0).
	* src/tcpreen.c:
	- avoid DNS lookup when not needed (ie. no log file),
	- made protocol independant (support for IPv6).
	* src/ipv4solve.c, src/ipv4solve.h:
	- removed.

2002-08-02 10:13  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/main.c, src/tcpreen.c:
	- support for Set-UID root operation.

2002-08-01 16:05  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/output.c, src/output.h:
	- created (stripped log formatting from src/main.c),
	- slightly improved hexadecimal log file formatting,
	- yet another fix for Solaris,
	- stable release 0.8.2.

2002-07-31 13:56  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/ipv4solve.c:
	- added fix for Solaris support (didn't define INADDR_NONE),
	- support for reverse DNS lookup.
	* src/main.c:
	- ability to disable reverse DNS lookup.
	* configure.in:
	- support for -lsocket for Solaris,
	- stable release 0.8.1.

2002-07-30 10:31  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/main.c, src/tcpreen.c, src/bridge.c:
	- log file writing error handled properly,
	- connection length bytes limitation,
	- minor bugfixes and FreeBSD support.
	* tcpreen.spec.in:
	- disabled relocation (NLS unfriendly),
	- stable release 0.8.0-rc1.

2002-07-29 10:43  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/log.c, src/log.h:
	- added, actual support for multiples log files with different
	  format.
	* src/main.c:
	- removed made useless setvbuf() call,
	  cross-configuration and compilation should now work.

2002-07-28 15:55  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* src/main.c, ABOUT-NLS, README, NEWS, tcpreen.spec.in:
	- support for Native Language Support via gettext.
	* src/, intl/, admin/, po/:
	- directories created and filled with corresponding data.
	* po/fr.po:
	- initial French translation.

2002-07-27 12:08  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* main.c:
	- getopt_long() support added, improved the command line
	  syntax,
	- support for quiet mode (no output to stdout by default).
	* tcpreen.c:
	- support for inlined Out-of-band data (SO_OOBINLINE),
	- support for multiple subsequently monitored connections,
	- support for symetrical TCP bridge for those that feel like
	  doing experiments.
	* tcpreen.spec.in, configure.in, Makefile.am:
	- got RPM specs handled by automake/autoconf.

2002-07-26 15:13  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* main.c, bridge.c, bridge.h, tcpreen.h:
	- created after splitting tcpreen.c into parts,
	- minor optimizations/changes (bridge.c).
	* tcpreen.c:
	- almost entirely rewritten,
	- various internal code improvements/optimization,
	- support for arbitrary number of log files,
	- development release 0.7.0.

2002-07-23 11:44  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* tcpreen.spec:
	- added for RPM build support,
	- stable release 0.6.0-2.

2002-07-11 17:05  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* ipv4solve.c:
	- IP resolution bug fixed,
	- fixed to work on FreeBSD.

	* Makefile, conf.h: removed

	* Makefile.am, configure.in, config.h.in, NEWS:
	- added for Automake & Autoconf support,
	- initial stable release 0.6.0.

2002-07-10   6:27  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* tcpreen.c:
	- socket option SO_REUSEADDR on listening socket,
	- fixed Usage syntax,
	- support for non-local server.

	* ipv4solve.c, ipv4solve.h, conf.h: created

2002-07-09 17:24  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* tcpreen.c, tcpreen.rc:
	- initial Win32/Winsock support,
	- buffered TCP receive operation (and support for some broken
	  call of recv() in various software such as SubSeven),
	- fixed hexadecimal display of non-printable characters.

	* TODO, README, AUTHORS, INSTALL, Makefile: created

2002-07-08 10:30  Rmi Denis-Courmont <rdenis@simphalempin.com>

	* tcpreen.c, ChangeLog: created, first alpha version

