Permalink
Browse files

keepalived-0.5.3

* keepalived-0.5.3 released.
* Added autoconf / automake generic scripts.
* Rewrite the configuration file stream parser.
  Using a generic keywords tree. Each keyword refer a specific
  stream handler. The main stream processor is a multilevel
  recursive function getting file stream and backtracking the
  keyword tree. Kind of global compiler structure using event driven
  stream processing.
* Re-design the global data structure to be much more generic and
  to dissociate LVS configuration related to checkers related. Remove
  static char lenght to use dynamic length strings.
* Created a global timer framework.
* Created a global vector template, used in cofiguration file
  parsing (both stream process & keywords tree generation).
* Created a global list template, used in most of the code.
* Review the global scheduler to remove repeated code.
* Created a global checkers API. The design and goal here is to
  facilitate new checkers creation by localizing specific checker
  code into a single file without any other global framework
  integration.
* Patched a SSL stream handling race condition finding end of stream.
* Jan Holmberg, review MISC checker to use forked process to not degrade
  global scheduler timer.
* Revisited the whole code to use new templates structures.
* Fixed a url lentgh bug into the genhash utility.
* Fabrice Bucher, <fabrice.bucher@urbanet.ch> fixed a timeout_persistence
  bug in the IPVS wrapper code.
* Bradley McLean, <bradlist@bradm.net> added support to '0' port number
  service in VS manipulation. Useful for balancing all services (host rather
  than service).
* Matthijs van der Klip, <matthijs.van.der.klip@nos.nl> enhanced smtp
  framework to use SMTP header and email enclosed with angle brackets.
  • Loading branch information...
1 parent 76dd618 commit c2a37a4e0e126f40fc12a4da4d6100e45476117c Alexandre Cassen committed Feb 24, 2002
Showing with 5,604 additions and 2,844 deletions.
  1. BIN .data.c.swp
  2. +1 −1 AUTHORS
  3. +34 −0 ChangeLog
  4. +19 −7 INSTALL
  5. +0 −98 Makefile
  6. +103 −0 Makefile.in
  7. +0 −2 TODO
  8. +1 −0 VERSION
  9. +0 −1,071 cfreader.c
  10. +0 −233 cfreader.h
  11. +0 −56 check.h
  12. +113 −0 check_api.c
  13. +62 −0 check_api.h
  14. +334 −205 check_http.c
  15. +49 −11 check_http.h
  16. +83 −20 check_misc.c
  17. +7 −5 check_misc.h
  18. +68 −50 check_ssl.c
  19. +3 −2 check_ssl.h
  20. +82 −26 check_tcp.c
  21. +8 −6 check_tcp.h
  22. +1,844 −0 configure
  23. +72 −0 configure.in
  24. +72 −0 daemon.c
  25. +39 −0 daemon.h
  26. +337 −0 data.c
  27. +129 −0 data.h
  28. +3 −0 genhash/ChangeLog
  29. +0 −22 genhash/Makefile
  30. +34 −0 genhash/Makefile.in
  31. +4 −1 genhash/main.c
  32. +251 −0 install-sh
  33. +16 −13 ipfwwrapper.c
  34. +3 −3 ipfwwrapper.h
  35. +62 −51 ipvswrapper.c
  36. +3 −4 ipvswrapper.h
  37. +92 −94 ipwrapper.c
  38. +7 −7 ipwrapper.h
  39. +44 −47 layer4.c
  40. +13 −10 layer4.h
  41. +0 −12 libipfwc/Makefile
  42. +93 −0 list.c
  43. +60 −0 list.h
  44. +40 −82 main.c
  45. +20 −7 main.h
  46. +1 −1 memory.c
  47. +4 −1 memory.h
  48. +624 −0 parser.c
  49. +57 −0 parser.h
  50. +1 −1 pidfile.c
  51. +1 −1 pidfile.h
  52. +39 −192 scheduler.c
  53. +3 −37 scheduler.h
  54. +139 −168 smtp.c
  55. +17 −19 smtp.h
  56. +84 −0 timer.c
  57. +44 −0 timer.h
  58. +1 −1 utils.c
  59. +1 −1 utils.h
  60. +71 −0 vector.c
  61. +45 −0 vector.h
  62. +70 −47 vrrp.c
  63. +7 −9 vrrp.h
  64. +1 −1 vrrp_ipaddress.c
  65. +1 −1 vrrp_ipaddress.h
  66. +1 −1 vrrp_ipsecah.c
  67. +1 −1 vrrp_ipsecah.h
  68. +1 −1 vrrp_netlink.c
  69. +1 −1 vrrp_netlink.h
  70. +181 −210 vrrp_scheduler.c
  71. +3 −4 vrrp_scheduler.h
View
Binary file not shown.
View
@@ -1 +1 @@
-Alexandre Cassen <acassen@linux-vs.org>
+Alexandre Cassen, <acassen@linux-vs.org>
View
@@ -1,3 +1,37 @@
+2002-02-25 Alexandre Cassen <acassen@linux-vs.org>
+ * keepalived-0.5.3 released.
+ * Added autoconf / automake generic scripts.
+ * Rewrite the configuration file stream parser.
+ Using a generic keywords tree. Each keyword refer a specific
+ stream handler. The main stream processor is a multilevel
+ recursive function getting file stream and backtracking the
+ keyword tree. Kind of global compiler structure using event driven
+ stream processing.
+ * Re-design the global data structure to be much more generic and
+ to dissociate LVS configuration related to checkers related. Remove
+ static char lenght to use dynamic length strings.
+ * Created a global timer framework.
+ * Created a global vector template, used in cofiguration file
+ parsing (both stream process & keywords tree generation).
+ * Created a global list template, used in most of the code.
+ * Review the global scheduler to remove repeated code.
+ * Created a global checkers API. The design and goal here is to
+ facilitate new checkers creation by localizing specific checker
+ code into a single file without any other global framework
+ integration.
+ * Patched a SSL stream handling race condition finding end of stream.
+ * Jan Holmberg, review MISC checker to use forked process to not degrade
+ global scheduler timer.
+ * Revisited the whole code to use new templates structures.
+ * Fixed a url lentgh bug into the genhash utility.
+ * Fabrice Bucher, <fabrice.bucher@urbanet.ch> fixed a timeout_persistence
+ bug in the IPVS wrapper code.
+ * Bradley McLean, <bradlist@bradm.net> added support to '0' port number
+ service in VS manipulation. Useful for balancing all services (host rather
+ than service).
+ * Matthijs van der Klip, <matthijs.van.der.klip@nos.nl> enhanced smtp
+ framework to use SMTP header and email enclosed with angle brackets.
+
2001-12-20 Alexandre Cassen <acassen@linux-vs.org>
* keepalived-0.4.9a released.
* Jan and I patched a memory pointer problems in vrrp_scheduler.c
View
@@ -8,6 +8,9 @@ Kernel needing
Routing messages
LinuxVirtualServer
+ Keepalived support all LVS code : including IPVS code for kernel 2.2
+ and kernel 2.4
+
Library needing
===============
@@ -21,15 +24,23 @@ Installation
1. uncompress the tarball
2. cd into the directory
- 3. 'make' and 'make install'. This will install
- keepalived into your system (binary and configuration file).
- 4. cd into genhash directory (read the INSTALL file).
- 5. 'make' and 'make install'. This will install
- the MD5 url digest generator. You need it to configure HTTP GET check
- and SSL GET check in order to compute MD5SUM digest etalon.
+ 3. './configure'
+ 4. 'make'
+ 5. 'make install'. This will install keepalived on your system,
+ binaries and configuration file :
+ * keepalived : The keepalived daemon program.
+ * genhash : The MD5 url digest generator. You need it to
+ configure HTTP GET check and SSL GET check in
+ order to compute MD5SUM digest etalon.
+ * /etc/keepalived/keepalived.conf
6. link keepalived.init into your runlevel directory. On redhat systems :
ln -s /etc/rc.d/init.d/keepalived.init /etc/rc.d/rc3.d/S99keepalived
+ By default configure script use /usr/local as base directory. You can change
+ this value to your own by passing --prefix value to configure script
+
+ eg: './configure --prefix=/usr/'
+
Configuration
=============
@@ -42,4 +53,5 @@ Configuration
Have fun with it !
-Alexandre
+
+Alexandre, <acassen@linux-vs.org>
View
@@ -1,98 +0,0 @@
-# Makefile
-# Alexandre Cassen <acassen@linux-vs.org>
-
-EXEC = keepalived
-CC = gcc
-
-KERNEL := _KRNL_2_$(shell uname -r | cut -d'.' -f2)_
-
-# To compile with debug messages uncomment the following line
-CFLAGS= -g -O6 -Wall -Wunused -Wstrict-prototypes -D_DEBUG_ -D$(KERNEL)
-# CFLAGS= -g -Wall -O6 -D$(KERNEL) $(SSL)
-DEFS=
-
-SSL := -lssl -lcrypto
-LIB := $(LIB) $(SSL) -lpopt
-
-ifeq ($(KERNEL),_KRNL_2_2_)
- LIB := $(LIB) libipfwc/libipfwc.a
-endif
-
-DEFS= main.h \
- memory.h \
- scheduler.h \
- cfreader.h \
- layer4.h \
- check_tcp.h \
- check_http.h \
- check_ssl.h \
- check_misc.h \
- vrrp.h \
- vrrp_scheduler.h \
- vrrp_netlink.h \
- vrrp_ipaddress.h \
- vrrp_ipsecah.h \
- smtp.h
-
-OBJECTS := main.o \
- memory.o \
- utils.o \
- scheduler.o \
- cfreader.o \
- layer4.o \
- check_tcp.o \
- check_http.o \
- check_ssl.o \
- check_misc.o \
- ipwrapper.o \
- ipvswrapper.o
-ifeq ($(KERNEL),_KRNL_2_2_)
- OBJECTS := $(OBJECTS) ipfwwrapper.o
-endif
-OBJECTS := $(OBJECTS) \
- pidfile.o \
- smtp.o \
- vrrp.o \
- vrrp_scheduler.o \
- vrrp_netlink.o \
- vrrp_ipaddress.o \
- vrrp_ipsecah.o
-
-INCLUDE= -I/usr/src/linux/include
-
-.c.o:
- $(CC) -o $@ $(CFLAGS) $(INCLUDE) -c $*.c
-
-all: $(EXEC)
- strip $(EXEC)
- @echo ""
- @echo "Make complete"
-
-debug: $(EXEC)
- @echo""
- @echo "Make complete"
-
-$(EXEC): $(OBJECTS) $(DEFS) $(LIB)
- $(CC) -o $(EXEC) $(CFLAGS) $(OBJECTS) $(LIB)
-
-ifeq ($(KERNEL),_KRNL_2_2_)
-libipfwc/libipfwc.a:
- cd libipfwc/ && $(MAKE) libipfwc.a
-endif
-
-subclean:
-ifeq ($(KERNEL),_KRNL_2_2_)
- cd libipfwc/ && $(MAKE) clean
-endif
-
-clean: subclean
- rm -f core *.o $(EXEC)
-
-install:
- install -m 700 keepalived /usr/sbin/
- install -m 755 etc/rc.d/init.d/keepalived.init /etc/rc.d/init.d/
- mkdir /etc/keepalived
- install -m 644 etc/keepalived/keepalived.conf /etc/keepalived/
- mkdir /etc/keepalived/samples
- install -m 644 samples/* /etc/keepalived/samples/
-
View
@@ -0,0 +1,103 @@
+# Makefile
+#
+# Keepalived OpenSource project.
+#
+# Copyright (C) 2001, 2002 Alexandre Cassen, <acassen@linux-vs.org>
+
+EXEC = keepalived
+KERNEL := _KRNL_2_$(shell uname -r | cut -d'.' -f2)_
+
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+sbindir = @sbindir@
+
+init_dir = /etc/rc.d/init.d
+init_script = keepalived.init
+src_init_script = etc/rc.d/init.d/$(init_script)
+src_conf_file = etc/keepalived/keepalived.conf
+keepalived_conf_dir = /etc/keepalived
+
+CC = @CC@
+CFLAGS = @CFLAGS@ -Wall -Wunused -Wstrict-prototypes -D_DEBUG_ -D$(KERNEL)
+LDFLAGS = @LIBS@ @LDFLAGS@
+OBJS = @LIBOBJS@ \
+ main.o \
+ memory.o \
+ daemon.o \
+ utils.o \
+ timer.o \
+ scheduler.o \
+ vector.o \
+ list.o \
+ data.o \
+ parser.o \
+ layer4.o \
+ check_api.o \
+ check_tcp.o \
+ check_http.o \
+ check_ssl.o \
+ check_misc.o \
+ ipwrapper.o \
+ ipvswrapper.o \
+ pidfile.o \
+ smtp.o \
+ vrrp.o \
+ vrrp_scheduler.o \
+ vrrp_netlink.o \
+ vrrp_ipaddress.o \
+ vrrp_ipsecah.o
+
+INCLUDE= -I/usr/src/linux/include
+
+.c.o:
+ $(CC) -o $@ $(CFLAGS) $(INCLUDE) -c $*.c
+
+all: $(EXEC)
+ strip $(EXEC)
+ @echo ""
+ cd genhash && $(MAKE)
+ @echo ""
+ @echo "Make complete"
+
+debug: $(EXEC)
+ @echo ""
+ @echo "Make complete"
+
+$(EXEC): $(OBJS) $(LDFLAGS)
+ $(CC) -o $(EXEC) $(CFLAGS) $(OBJS) $(LDFLAGS)
+
+libipfwc/libipfwc.a:
+ cd libipfwc/ && $(MAKE) libipfwc.a
+
+subclean:
+ifeq ($(KERNEL),_KRNL_2_2_)
+ cd libipfwc/ && $(MAKE) clean
+endif
+ cd genhash/ && $(MAKE) clean
+
+clean: subclean
+ rm -f core *.o $(EXEC)
+
+subclean-dist:
+ cd genhash/ && $(MAKE) clean-dist
+
+clean-dist: subclean-dist
+ rm -f $(sbindir)/$(EXEC)
+ rm -rf $(keepalived_conf_dir)
+ rm -f $(init_dir)/$(init_script)
+
+mrproper: clean clean-dist
+ rm -f config.*
+ rm -f Makefile
+ rm -f genhash/Makefile
+
+subinstall:
+ cd genhash/ && $(MAKE) install
+
+install: subinstall
+ install -m 700 $(EXEC) $(sbindir)/
+ install -m 755 $(src_init_script) $(init_dir)/
+ mkdir $(keepalived_conf_dir)
+ install -m 644 $(src_conf_file) $(keepalived_conf_dir)
+ mkdir $(keepalived_conf_dir)/samples
+ install -m 644 samples/* $(keepalived_conf_dir)/samples/
View
@@ -1,6 +1,4 @@
-* Synchronize IPVS topology with VRRP synchronization events.
* Insert LDAP, FTP, SSH, IMAP, POP, RADIUS checkers.
-* Replave some unfixed len strcat & sprintf
* Add minimum configuration verification (realserver must have
a checker defined, ...)
* Add system verification (must have LVS support in kernel,
View
@@ -0,0 +1 @@
+0.5.3
Oops, something went wrong.

0 comments on commit c2a37a4

Please sign in to comment.