keepalived-0.3.5 v0.3.5
authorAlexandre Cassen <acassen@freebox.fr>
Mon, 30 Jul 2001 17:35:01 +0000 (19:35 +0200)
committerAlexandre Cassen <acassen@freebox.fr>
Mon, 28 Sep 2009 08:58:53 +0000 (10:58 +0200)
commitd41fdfbeed1c87cae77cef78b44b72396bb3f329
tree0b5529d56af3779dd73ae2ac389ba30215c228b0
parentafdd60d85c212c9c332651d4b63a2142a844ef99
keepalived-0.3.5

* keepalived-0.3.5 released.
* Rewrite the whole signal handling, registering a terminating
  thread on signal.
* Move logsystem to syslog using facility LOG_INFO & LOG_DEBUG.
* Added a daemonization function imported from zebra.
* Rewrite the pidfile handling, check if daemon is running, if not
  remove eventual stalled pidfile and create new pidfile.
* Added a strong scheduling framework based on an I/O multiplexer
  to handle asynchronous process. This code is imported from zebra
  and have been enhanced for keepalived purposes.
  Thread types are :
  . timeouted read on fd.
  . timeouted write on fd.
  . timer.
  . event.
  . terminate event.
  => The zebra framework have been enhanced to add support for timeouted
     read/write fds.
  => With this framework keepalived use a Boss/Worker thread model design,
     fetching ready thread from a master threading queues.
* Rewrite the configuration file reader to add flexibility on extending.
  The dynamic data structure has been rewritten to use apropriate types.
  Right now parsing framework is ready for easy new checker structures
  integration.
* Rewrite the smtp connector. The implementation take advantage of the
  I/O multiplexer. All read/write operations from/to the remote smtp server
  are done asynchronously. The implementation is rfc 821 compliant (multiple
  receiver are handled by a multiple RCPT TO command as specified in rfc821.3.1).
* Rewrite the IPFW & IPVS wrappers.
* Added support for NAT mask on IP MASQ rules (keyword nat_mask in configuration
  file). Added support for sorry server facility, so when all the server from a
  VS server pool are removed, a sorry server is automaticaly added to the VS pool
  (typically this is used when you have a spare server online).
* Rewrite the previous checkers. Checkers are now based on a hierarchic layer
  stack framework. The protocol implemented for the moment is TCP. All layer 5
  checkers are using layer4.c primitives with the same design :
  . a checker connector thread (creating the socket) registering the connection
    checker thread.
  . a connection checker thread testing connection states (error, in_progress,
    timeout, success). When connection success upper level thread are registered
    to handle checks.
* Delay loop is now checkers specifics since we can use a multithreaded framework.
* Update the PDF documentation file.
49 files changed:
AUTHORS [new file with mode: 0644]
COPYING [new file with mode: 0644]
ChangeLog
INSTALL [new file with mode: 0644]
Makefile
README [new file with mode: 0644]
cfreader.c
cfreader.h
check.h [new file with mode: 0644]
check_http.c [new file with mode: 0644]
check_http.h [new file with mode: 0644]
check_tcp.c [new file with mode: 0644]
check_tcp.h [new file with mode: 0644]
etc/keepalived/keepalived.conf
etc/keepalived/log/keepalived.log [deleted file]
httpget.c [deleted file]
httpget.h [deleted file]
icmpcheck.c [deleted file]
icmpcheck.h [deleted file]
ipfwwrapper.c
ipfwwrapper.h
ipfwwrappercmd.h [deleted file]
iputils.c [deleted file]
iputils.h [deleted file]
ipvswrapper.c
ipvswrapper.h
ipwrapper.c [new file with mode: 0644]
ipwrapper.h [new file with mode: 0644]
keepalived.c [deleted file]
keepalived.conf.sample [new file with mode: 0644]
keepalived.h [deleted file]
layer4.c [new file with mode: 0644]
layer4.h [new file with mode: 0644]
main.c [new file with mode: 0644]
main.h [new file with mode: 0644]
md5.c
md5.h
pidfile.c
pidfile.h
scheduler.c [new file with mode: 0644]
scheduler.h [new file with mode: 0644]
smtp.c [new file with mode: 0644]
smtp.h [new file with mode: 0644]
smtpwrapper.c [deleted file]
smtpwrapper.h [deleted file]
tcpcheck.c [deleted file]
tcpcheck.h [deleted file]
utils.c
utils.h