2001-09-19  Balazs Scheidler  <bazsi@balabit.balabit>

	* scripts/zorpctl.in: added support for zorpctl status

	* pylib/Zorp/Session.py (Session.__init__): initialize auth_user
	attribute

	* pylib/Zorp/Service.py: added docstrings for some functions

	* lib/pyvars.c: free all exported variables internal
	representation here, requires a change in _all_ proxies (they
	don't have to free them there)

	* lib/pyconnect.c: fixed a deadlock, which occurred when
	z_io_connect_start called callback (locked the interpreter twice)

	* lib/misc.c: fixed some indent problems

	* lib/log.c: handle fdopen() failure case

	* lib/io.c (z_io_connect_start): do not call callback when _start
	fails return NULL instead and rely on the caller doing error
	handling (caused a deadlock)

	* doc/man/zorp.8: added doc about --chroot

2001-09-04  Balazs Scheidler  <bazsi@balabit.hu>

	* pylib/Zorp/Service.py: AddClient renamed to addClient

	* pylib/Zorp/Router.py: change InbandRouter to set
	session.server_address_inband to indicate that it is possible to
	override destination address by the proxy
 
	* pylib/Zorp/Receiver.py: fixed import statements

	* pylib/Zorp/Proxy.py: change setServerAddr so that it changes
	destination address only if it is possible to override it by the proxy

	* pylib/Zorp/NAT.py (OneToOneNAT): new class which performs
	address range to address range 1:1 translation,
	(RandomNAT): new class

	* pylib/Zorp/Listener.py: added backlog parameter

	* pylib/Zorp/Core.py: updated to import new objects

	* pylib/Zorp/CTracker.py: added docstrings, updated from the commercial version.

	* pylib/Zorp/Auth.py: new wrapper classes around zorpTISAuthorization,
	cleaned up

	* lib/zpython.c: automatically determine PYTHONPATH

	* lib/thread.c: use our own simple threadpool instead of the one
	provided by glib (it had a deadlock somewhere, and was too
	difficult to fix)

	* lib/stream.c: assume that z_log() and family doesn't change
	errno, saving it here is not required.

	* lib/readline.c: z_read_line_fetch renamed to
	z_read_line_get_from_buf and made public (one of the new proxies
	uses it),
	added z_enter/z_leave pairs

	* lib/pyvars.c: added alias support

	* lib/pytisauth.c: now exports as Zorp.ZorpTISAuthorization
	instead of Auth.TISAuthorization to allow wrapper classes to work.

	* lib/pyproxy.c: fixed a possible race

	* lib/misc.c (z_port_enabled): function to parse a port range, and
	return whether a given port number is allowed (used by
	nontransparent proxies)

	* lib/log.c (z_log_enabled): new function to query whether a
	message, would be written or not,
	save errno prior to writing message

	* lib/pyconnect.c, lib/pylisten.c: updates from the commercial version,
	cleanup and race fixes
	
	* lib/io.c: updates from the commercial version, cleanup and race
	fixes (listener, connector), listener got a new parameter named
	backlog to specify the backlog for listen()
	
	* lib/freeq.c: allow adding a new item to the freeq if callbacks are
	being processed (update from the commercial version)

	* lib/ctracker.c (int_to_str): new function, 
	(other): updates from the commercial version

	* lib/dimhash.c: fixed a leak, avoid some unneccessary memcpy,
	other updates from the commercial version

	* doc/man/zorp.8: updated man page to the latest command line options

2001-04-25  Balazs Scheidler  <bazsi@balabit.hu>

	* debian/rules: zorp-config.1 only in zorp-dev

2001-04-18  Balazs Scheidler  <bazsi@balabit.hu>

	* configure.in: bumped version number to 0.8.3

	* configure.in: configure option --enable-netfilter added,
	defaults to enabled

2001-04-17  Balazs Scheidler  <bazsi@balabit.hu>

        * zorp/main.c (z_dump_backtrace): added printing the real
        SIGSEGV/SIGILL location (even more i386 specific)

        * src/stream.c (z_data_dump): made a dummy function, because it
        was SLOOOOOW

        * src/pylisten.c (z_py_zorp_listen_accepted): fixed two possible
        race conditions

        * src/io.c (z_io_listen_accepted): fixed a possible race condition

        * pylib/Zorp/Zone.py: readded umbrella support

        * scripts/zorpctl.in: we now check if the process exists if a
        pidfile is still found, if the pidfile is stale we remove it and
        start a new instance

2001-04-12  Balazs Scheidler  <bazsi@balabit.hu>

	* configure.in: disable debug info by default

2001-04-05  Balazs Scheidler  <bazsi@balabit.hu>

	* lib/io.c (z_fd_set_oobinline): bugfix set SO_OOBINLINE instead
	of SO_KEEPALIVE

2001-03-23  Balazs Scheidler  <bazsi@balabit.hu>

	* configure.in: bumped version number to 0.8.1
	
        * policy.h: added interface for string handling (0.9)

        * zpython.c: fixed possible memory leak (0.9)

        * thread.c: threadpools (0.9 backport)

        * sockaddr.c (z_connect): we now loop for EINTR errors (backported
        from 0.9)

        * pysockaddr.c (z_py_zorp_sockaddr_getattr): backported family
        attribute from 0.9

        * io.c, io.h (ZIORealConnect, ZIORealListen): backported reference
        counted listeners/connectors from 0.9, 
        pyconnect.c: -"-
        pylisten.c: -"-

	* configure.in: removed checking ncurses presence

2001-03-13  Balazs Scheidler  <bazsi@balabit.hu>

	* lib/thread.c (z_thread_new): removed thread list processing to avoid
	race conditions, changed return value to void for the same reason

2001-03-09  Balazs Scheidler  <bazsi@balabit.hu>

	* zorp/main.c: added include <zorp/ssl.h>

2001-03-08  Balazs Scheidler  <bazsi@balabit.hu>

	* zorp/main.c (main): moved ssl initialization here

2001-02-22  Balazs Scheidler  <bazsi@balabit.hu>

	* zorp/main.c: --no-caps and --caps is defined only if ENABLE_CAPS
	is defined

	* pylib/Zorp.py: define Z_ABORT, and define some logtags used
	in the python part of Zorp.

	* pylib/Listener.py: SimpleListen new class

	* pylib/Domain.py: small fix to use netmask() method instead of
	using the mask attribute directly

	* pylib/Connector.py: define and call connect_hook and
	unconnect_hook so the administrator is able to change
	packet filter rules dynamically

	* lib/thread.c: fix a synchronization bug on thread creation

	* lib/packsock.c: use capabilities when sending UDP packets with
	forged IP address

	* lib/cap.c: moved zorp_caps declaration here, changed functions
	to do nothing if zorp_caps is NULL

2001-02-15  Balazs Scheidler  <bazsi@balabit.hu>

        * pylib/Zorp/Session.py: moved a log message (about the client
        connection info) to Service.py (after the session instance id is
        determined)

        * scripts/zorpctl.in: fixed a problem in zorpctl restart (when no
        instance names was given to restart)

2001-02-11  Balazs Scheidler  <bazsi@balabit.hu>

        * lib/pylisten.c: the return value of the accepted() callback should
        be Z_ACCEPT or Z_REJECT not a simple boolean value

        * pylib/Zorp/Chainer.py: Chainer class renamed to abstract Chainer.

2001-02-09  Balazs Scheidler  <bazsi@balabit.hu>

	* tests/satyr: removed

2001-02-07  Balazs Scheidler  <bazsi@balabit.hu>

	* zorp/policy.py.sample: fixed some bugs.

2001-01-30  Balazs Scheidler  <bazsi@balabit.hu>

	* configure.in: version number bumped to 0.7.14

	* lib/proxy.c (z_proxy_destroy): don't use z_python_global_state,
	use self->thread instead

	* lib/log.c: protect message output with a mutex to avoid
	message clashes

2001-01-29  Balazs Scheidler  <bazsi@balabit.hu>

 	* debian/control (zorp-dev): fixed a typo, depend on zorp-libs
 	instead of zorp-lib
 	
	* debian/rules: instead of configure-ing modules by hand, do 
	a make config-stamp in the modules directory

	* configure.in: separate CPPFLAGS and DEPS_CPPFLAGS variable (for
	CPPFLAGS to be used for Zorp compilation and CPPFLAGS required by
	dependencies glib, python etc)

	* zorp-config.in: separate --cflags and --cppflags arguments,
	use @DEPS_CPPFLAGS@ instead of CPPFLAGS directly to avoid inclusion
	of the Zorp source directory in the include search path

	* lib/pyvars.c (z_pyvars_setattr, z_pyvars_getattr): check if
	self->vars is NULL

	* lib/pylisten.c: backport bugfix: destroy the low level listener when
	the python Listener instance is freed

	* lib/proxy.c: backported __destroy__() event functionality, added
	some log messages

	* lib/io.c: backported z_fd_set_oobinline function

2001-01-25  Balazs Scheidler  <bazsi@balabit.hu>

 	* configure.in: version number bumped to 0.7.13
 	
	* pylib/Zorp/*.py: backported session limit patch, log session id
	bugfix

2001-01-22  Balazs Scheidler  <bazsi@balabit.hu>

	* lib/io.c: backported SO_KEEPALIVE patch

2001-01-22  Szalay Attila  <sasa@balabit.hu>

	* lib/zorp/log.h (z_dcp): New macro. Write A ChekPoint into log.

	* lib/zorp/proxy.h (func_cp): - "" -

	* lib/pyproxy.c (z_py_zorp_proxy_free): Bugfix. z_proxy_free called
	only when sef->proxy not NUL

2001-01-22  Balazs Scheidler  <bazsi@balabit.hu>

	* new ChangeLog started

