2005-12-17 23:57:06 +00:00
|
|
|
Summary: HA-Proxy is a TCP/HTTP reverse proxy for high availability environments
|
|
|
|
Name: haproxy
|
[RELEASE] Released version 1.4-dev4
Released version 1.4-dev4 with the following main changes :
- [DOC] add missing rate_lim and rate_max
- [MAJOR] struct chunk rework
- [MEDIUM] Health check reporting code rework + health logging, v3
- [BUG] check if rise/fall has an argument and it is > 0
- [MINOR] health checks logging unification
- [MINOR] add "description", "node" and show-node"/"show-desc", remove "node-name", v2
- [MINOR] Allow dots in show-node & add "white-space: nowrap" in th.pxname.
- [DOC] Add information about http://haproxy.1wt.eu/contrib.html
- [MINOR] Introduce include/types/counters.h
- [CLEANUP] Move counters to dedicated structures
- [MINOR] Add "clear counters" to clear statistics counters
- [MEDIUM] Collect & provide separate statistics for sockets, v2
- [BUG] Fix NULL pointer dereference in stats_check_uri_auth(), v2
- [MINOR] acl: don't report valid acls as potential mistakes
- [MINOR] Add cut_crlf(), ltrim(), rtrim() and alltrim()
- [MINOR] Add chunk_htmlencode and chunk_asciiencode
- [MINOR] Capture & display more data from health checks, v2
- [BUG] task.c: don't assing last_timer to node-less entries
- [BUG] http stats: large outputs sometimes got some parts chopped off
- [MINOR] backend: export some functions to recount servers
- [MINOR] backend: uninline some LB functions
- [MINOR] include time.h from freq_ctr.h as is uses "now".
- [CLEANUP] backend: move LB algos to individual files
- [MINOR] lb_map: reorder code in order to ease integration of new hash functions
- [CLEANUP] proxy: move last lb-specific bits to their respective files
- [MINOR] backend: separate declarations of LB algos from their lookup method
- [MINOR] backend: reorganize the LB algorithm selection
- [MEDIUM] backend: introduce the "static-rr" LB algorithm
- [MINOR] report list of supported pollers with -vv
- [DOC] log-health-checks is an option, not a directive
- [MEDIUM] new option "independant-streams" to stop updating read timeout on writes
- [BUG] stats: don't call buffer_shutw(), but ->shutw() instead
- [MINOR] stats: strip CR and LF from the input command line
- [BUG] don't refresh timeouts late after detected activity
- [MINOR] stats_dump_errors_to_buffer: use buffer_feed_chunk()
- [MINOR] stats_dump_sess_to_buffer: use buffer_feed_chunk()
- [MINOR] stats: make stats_dump_raw_to_buffer() use buffer_feed_chunk
- [MEDIUM] stats: don't use s->ana_state anymore
- [MINOR] remove now obsolete ana_state from the session struct
- [MEDIUM] stats: make HTTP stats use an I/O handler
- [MEDIUM] stream_int: adjust WAIT_ROOM handling
- [BUG] config: look for ID conflicts in all sockets, not only last ones.
- [MINOR] config: reference file and line with any listener/proxy/server declaration
- [MINOR] config: report places of duplicate names or IDs
- [MINOR] config: add pointer to file name in block/redirect/use_backend/monitor rules
- [MINOR] tools: add a new get_next_id() function
- [MEDIUM] config: automatically find unused IDs for proxies, servers and listeners
- [OPTIM] counters: move some max numbers to the counters struct
- [BUG] counters: fix segfault on missing counters for a listener
- [MEDIUM] backend: implement consistent hashing variation
- [MINOR] acl: add fe_conn, be_conn, queue, avg_queue
- [MINOR] stats: use 'clear counters all' to clear all values
- [MEDIUM] add access restrictions to the stats socket
- [MINOR] buffers: add buffer_feed2() and make buffer_feed() measure string length
- [MINOR] proxy: provide function to retrieve backend/server pointers
- [MINOR] add the "initial weight" to the server struct.
- [MEDIUM] stats: add the "get weight" command to report a server's weight
- [MEDIUM] stats: add the "set weight" command
- [BUILD] add a 'make tags' target
- [MINOR] stats: add support for numeric IDs in set weight/get weight
- [MINOR] stats: use a dedicated state to output static data
- [OPTIM] stats: check free space before trying to print
2009-10-12 04:40:53 +00:00
|
|
|
Version: 1.4-dev4
|
2005-12-17 23:57:06 +00:00
|
|
|
Release: 1
|
|
|
|
License: GPL
|
|
|
|
Group: System Environment/Daemons
|
2007-04-01 09:37:02 +00:00
|
|
|
URL: http://haproxy.1wt.eu/
|
|
|
|
Source0: http://haproxy.1wt.eu/download/1.3/src/%{name}-%{version}.tar.gz
|
2006-03-15 19:47:25 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
2005-12-17 23:57:06 +00:00
|
|
|
BuildRequires: pcre-devel
|
2006-03-15 18:41:10 +00:00
|
|
|
Requires: /sbin/chkconfig, /sbin/service
|
2005-12-17 23:57:06 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
HA-Proxy is a TCP/HTTP reverse proxy which is particularly suited for high
|
|
|
|
availability environments. Indeed, it can:
|
|
|
|
- route HTTP requests depending on statically assigned cookies
|
|
|
|
- spread the load among several servers while assuring server persistence
|
|
|
|
through the use of HTTP cookies
|
|
|
|
- switch to backup servers in the event a main one fails
|
|
|
|
- accept connections to special ports dedicated to service monitoring
|
|
|
|
- stop accepting connections without breaking existing ones
|
|
|
|
- add/modify/delete HTTP headers both ways
|
|
|
|
- block requests matching a particular pattern
|
|
|
|
|
|
|
|
It needs very little resource. Its event-driven architecture allows it to easily
|
|
|
|
handle thousands of simultaneous connections on hundreds of instances without
|
|
|
|
risking the system's stability.
|
|
|
|
|
|
|
|
%prep
|
2006-03-15 19:47:25 +00:00
|
|
|
%setup -q
|
2005-12-17 23:57:06 +00:00
|
|
|
|
2009-03-26 14:45:53 +00:00
|
|
|
# We don't want any perl dependecies in this RPM:
|
|
|
|
%define __perl_requires /bin/true
|
|
|
|
|
2005-12-17 23:57:06 +00:00
|
|
|
%build
|
2009-04-11 17:45:50 +00:00
|
|
|
%{__make} USE_PCRE=1 DEBUG="" ARCH=%{_target_cpu} TARGET=linux26
|
2005-12-17 23:57:06 +00:00
|
|
|
|
|
|
|
%install
|
2006-03-15 19:47:25 +00:00
|
|
|
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
|
2005-12-17 23:57:06 +00:00
|
|
|
|
2006-03-15 19:47:25 +00:00
|
|
|
%{__install} -d %{buildroot}%{_sbindir}
|
|
|
|
%{__install} -d %{buildroot}%{_sysconfdir}/rc.d/init.d
|
|
|
|
%{__install} -d %{buildroot}%{_sysconfdir}/%{name}
|
2009-04-02 13:09:35 +00:00
|
|
|
%{__install} -d %{buildroot}%{_mandir}/man1/
|
2005-12-17 23:57:06 +00:00
|
|
|
|
2006-03-15 19:47:25 +00:00
|
|
|
%{__install} -s %{name} %{buildroot}%{_sbindir}/
|
|
|
|
%{__install} -c -m 644 examples/%{name}.cfg %{buildroot}%{_sysconfdir}/%{name}/
|
|
|
|
%{__install} -c -m 755 examples/%{name}.init %{buildroot}%{_sysconfdir}/rc.d/init.d/%{name}
|
2009-04-02 13:09:35 +00:00
|
|
|
%{__install} -c -m 755 doc/%{name}.1 %{buildroot}%{_mandir}/man1/
|
2005-12-17 23:57:06 +00:00
|
|
|
|
|
|
|
%clean
|
2006-03-15 19:47:25 +00:00
|
|
|
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
|
2005-12-17 23:57:06 +00:00
|
|
|
|
|
|
|
%post
|
2006-03-15 19:47:25 +00:00
|
|
|
/sbin/chkconfig --add %{name}
|
2005-12-17 23:57:06 +00:00
|
|
|
|
|
|
|
%preun
|
2006-03-15 19:47:25 +00:00
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
/sbin/service %{name} stop >/dev/null 2>&1 || :
|
|
|
|
/sbin/chkconfig --del %{name}
|
2005-12-17 23:57:06 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
%postun
|
2006-03-15 19:47:25 +00:00
|
|
|
if [ "$1" -ge "1" ]; then
|
|
|
|
/sbin/service %{name} condrestart >/dev/null 2>&1 || :
|
2005-12-17 23:57:06 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
%files
|
2006-03-15 19:47:25 +00:00
|
|
|
%defattr(-,root,root)
|
2009-04-02 13:09:35 +00:00
|
|
|
%doc CHANGELOG TODO examples/*.cfg doc/haproxy-en.txt doc/haproxy-fr.txt doc/architecture.txt doc/configuration.txt
|
|
|
|
%doc %{_mandir}/man1/%{name}.1*
|
|
|
|
|
2006-03-15 19:47:25 +00:00
|
|
|
%attr(0755,root,root) %{_sbindir}/%{name}
|
|
|
|
%dir %{_sysconfdir}/%{name}
|
|
|
|
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/%{name}.cfg
|
|
|
|
%attr(0755,root,root) %config %{_sysconfdir}/rc.d/init.d/%{name}
|
2005-12-17 23:57:06 +00:00
|
|
|
|
|
|
|
%changelog
|
[RELEASE] Released version 1.4-dev4
Released version 1.4-dev4 with the following main changes :
- [DOC] add missing rate_lim and rate_max
- [MAJOR] struct chunk rework
- [MEDIUM] Health check reporting code rework + health logging, v3
- [BUG] check if rise/fall has an argument and it is > 0
- [MINOR] health checks logging unification
- [MINOR] add "description", "node" and show-node"/"show-desc", remove "node-name", v2
- [MINOR] Allow dots in show-node & add "white-space: nowrap" in th.pxname.
- [DOC] Add information about http://haproxy.1wt.eu/contrib.html
- [MINOR] Introduce include/types/counters.h
- [CLEANUP] Move counters to dedicated structures
- [MINOR] Add "clear counters" to clear statistics counters
- [MEDIUM] Collect & provide separate statistics for sockets, v2
- [BUG] Fix NULL pointer dereference in stats_check_uri_auth(), v2
- [MINOR] acl: don't report valid acls as potential mistakes
- [MINOR] Add cut_crlf(), ltrim(), rtrim() and alltrim()
- [MINOR] Add chunk_htmlencode and chunk_asciiencode
- [MINOR] Capture & display more data from health checks, v2
- [BUG] task.c: don't assing last_timer to node-less entries
- [BUG] http stats: large outputs sometimes got some parts chopped off
- [MINOR] backend: export some functions to recount servers
- [MINOR] backend: uninline some LB functions
- [MINOR] include time.h from freq_ctr.h as is uses "now".
- [CLEANUP] backend: move LB algos to individual files
- [MINOR] lb_map: reorder code in order to ease integration of new hash functions
- [CLEANUP] proxy: move last lb-specific bits to their respective files
- [MINOR] backend: separate declarations of LB algos from their lookup method
- [MINOR] backend: reorganize the LB algorithm selection
- [MEDIUM] backend: introduce the "static-rr" LB algorithm
- [MINOR] report list of supported pollers with -vv
- [DOC] log-health-checks is an option, not a directive
- [MEDIUM] new option "independant-streams" to stop updating read timeout on writes
- [BUG] stats: don't call buffer_shutw(), but ->shutw() instead
- [MINOR] stats: strip CR and LF from the input command line
- [BUG] don't refresh timeouts late after detected activity
- [MINOR] stats_dump_errors_to_buffer: use buffer_feed_chunk()
- [MINOR] stats_dump_sess_to_buffer: use buffer_feed_chunk()
- [MINOR] stats: make stats_dump_raw_to_buffer() use buffer_feed_chunk
- [MEDIUM] stats: don't use s->ana_state anymore
- [MINOR] remove now obsolete ana_state from the session struct
- [MEDIUM] stats: make HTTP stats use an I/O handler
- [MEDIUM] stream_int: adjust WAIT_ROOM handling
- [BUG] config: look for ID conflicts in all sockets, not only last ones.
- [MINOR] config: reference file and line with any listener/proxy/server declaration
- [MINOR] config: report places of duplicate names or IDs
- [MINOR] config: add pointer to file name in block/redirect/use_backend/monitor rules
- [MINOR] tools: add a new get_next_id() function
- [MEDIUM] config: automatically find unused IDs for proxies, servers and listeners
- [OPTIM] counters: move some max numbers to the counters struct
- [BUG] counters: fix segfault on missing counters for a listener
- [MEDIUM] backend: implement consistent hashing variation
- [MINOR] acl: add fe_conn, be_conn, queue, avg_queue
- [MINOR] stats: use 'clear counters all' to clear all values
- [MEDIUM] add access restrictions to the stats socket
- [MINOR] buffers: add buffer_feed2() and make buffer_feed() measure string length
- [MINOR] proxy: provide function to retrieve backend/server pointers
- [MINOR] add the "initial weight" to the server struct.
- [MEDIUM] stats: add the "get weight" command to report a server's weight
- [MEDIUM] stats: add the "set weight" command
- [BUILD] add a 'make tags' target
- [MINOR] stats: add support for numeric IDs in set weight/get weight
- [MINOR] stats: use a dedicated state to output static data
- [OPTIM] stats: check free space before trying to print
2009-10-12 04:40:53 +00:00
|
|
|
* Mon Oct 12 2009 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.4-dev4
|
|
|
|
|
2009-09-23 22:12:50 +00:00
|
|
|
* Thu Sep 24 2009 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.4-dev3
|
|
|
|
|
2009-08-09 20:57:09 +00:00
|
|
|
* Sun Aug 9 2009 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.4-dev2
|
|
|
|
|
2009-07-29 20:38:32 +00:00
|
|
|
* Wed Jul 29 2009 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.4-dev1
|
|
|
|
|
2009-06-09 09:59:08 +00:00
|
|
|
* Tue Jun 09 2009 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.4-dev0
|
|
|
|
|
2009-05-10 18:27:47 +00:00
|
|
|
* Sun May 10 2009 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.3.18
|
|
|
|
|
2009-03-29 13:26:57 +00:00
|
|
|
* Sun Mar 29 2009 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.3.17
|
|
|
|
|
2009-03-26 14:45:53 +00:00
|
|
|
* Sun Mar 22 2009 Willy Tarreau <w@1wt.eu>
|
2009-03-22 22:46:12 +00:00
|
|
|
- updated to 1.3.16
|
|
|
|
|
2008-04-19 19:06:14 +00:00
|
|
|
* Sat Apr 19 2008 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.3.15
|
|
|
|
|
2007-12-06 00:25:44 +00:00
|
|
|
* Wed Dec 5 2007 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.3.14
|
|
|
|
|
2007-10-18 20:38:22 +00:00
|
|
|
* Thu Oct 18 2007 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.3.13
|
|
|
|
|
2007-06-17 21:41:40 +00:00
|
|
|
* Sun Jun 17 2007 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.3.12
|
|
|
|
|
2007-06-03 15:27:07 +00:00
|
|
|
* Sun Jun 3 2007 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.3.11.4
|
|
|
|
|
2007-05-14 12:40:25 +00:00
|
|
|
* Mon May 14 2007 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.3.11.3
|
|
|
|
|
2007-05-14 01:18:43 +00:00
|
|
|
* Mon May 14 2007 Willy Tarreau <w@1wt.eu>
|
2007-05-14 01:42:47 +00:00
|
|
|
- updated to 1.3.11.2
|
|
|
|
|
|
|
|
* Mon May 14 2007 Willy Tarreau <w@1wt.eu>
|
2007-05-14 01:18:43 +00:00
|
|
|
- updated to 1.3.11.1
|
|
|
|
|
2007-05-14 00:42:33 +00:00
|
|
|
* Mon May 14 2007 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.3.11
|
|
|
|
|
2007-05-10 05:51:17 +00:00
|
|
|
* Thu May 10 2007 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.3.10.2
|
|
|
|
|
2007-05-09 20:58:28 +00:00
|
|
|
* Tue May 09 2007 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.3.10.1
|
|
|
|
|
2007-05-08 23:44:58 +00:00
|
|
|
* Tue May 08 2007 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.3.10
|
|
|
|
|
2007-04-15 23:18:12 +00:00
|
|
|
* Sun Apr 15 2007 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.3.9
|
|
|
|
|
2007-04-03 18:30:13 +00:00
|
|
|
* Tue Apr 03 2007 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.3.8.2
|
|
|
|
|
2007-04-01 09:06:22 +00:00
|
|
|
* Sun Apr 01 2007 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.3.8.1
|
|
|
|
|
2007-03-25 22:24:56 +00:00
|
|
|
* Sun Mar 25 2007 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.3.8
|
|
|
|
|
2007-01-26 22:49:01 +00:00
|
|
|
* Wed Jan 26 2007 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.3.7
|
|
|
|
|
2007-01-21 23:56:46 +00:00
|
|
|
* Wed Jan 22 2007 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.3.6
|
|
|
|
|
2007-01-07 01:47:01 +00:00
|
|
|
* Wed Jan 07 2007 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.3.5
|
|
|
|
|
2007-01-01 23:59:39 +00:00
|
|
|
* Wed Jan 02 2007 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.3.4
|
|
|
|
|
2006-10-15 22:03:35 +00:00
|
|
|
* Wed Oct 15 2006 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.3.3
|
|
|
|
|
2006-09-03 09:23:06 +00:00
|
|
|
* Wed Sep 03 2006 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.3.2
|
|
|
|
|
2006-07-09 15:11:39 +00:00
|
|
|
* Wed Jul 09 2006 Willy Tarreau <w@1wt.eu>
|
|
|
|
- updated to 1.3.1
|
|
|
|
|
2006-05-21 21:26:20 +00:00
|
|
|
* Wed May 21 2006 Willy Tarreau <willy@w.ods.org>
|
|
|
|
- updated to 1.2.14
|
|
|
|
|
2006-05-13 16:51:38 +00:00
|
|
|
* Wed May 01 2006 Willy Tarreau <willy@w.ods.org>
|
|
|
|
- updated to 1.2.13
|
|
|
|
|
2006-04-15 19:47:50 +00:00
|
|
|
* Wed Apr 15 2006 Willy Tarreau <willy@w.ods.org>
|
|
|
|
- updated to 1.2.12
|
|
|
|
|
2006-03-30 16:03:39 +00:00
|
|
|
* Wed Mar 30 2006 Willy Tarreau <willy@w.ods.org>
|
|
|
|
- updated to 1.2.11.1
|
|
|
|
|
2006-03-19 20:01:07 +00:00
|
|
|
* Wed Mar 19 2006 Willy Tarreau <willy@w.ods.org>
|
|
|
|
- updated to 1.2.10
|
|
|
|
|
2006-03-15 19:47:25 +00:00
|
|
|
* Wed Mar 15 2006 Willy Tarreau <willy@w.ods.org>
|
|
|
|
- updated to 1.2.9
|
|
|
|
|
|
|
|
* Sat Jan 22 2005 Willy Tarreau <willy@w.ods.org>
|
|
|
|
- updated to 1.2.3 (1.1.30)
|
|
|
|
|
|
|
|
* Sun Nov 14 2004 Willy Tarreau <w@w.ods.org>
|
|
|
|
- updated to 1.1.29
|
|
|
|
- fixed path to config and init files
|
|
|
|
- statically linked PCRE to increase portability to non-pcre systems
|
|
|
|
|
|
|
|
* Sun Jun 6 2004 Willy Tarreau <willy@w.ods.org>
|
|
|
|
- updated to 1.1.28
|
|
|
|
- added config check support to the init script
|
|
|
|
|
|
|
|
* Tue Oct 28 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated to 1.1.27
|
|
|
|
- added pid support to the init script
|
|
|
|
|
|
|
|
* Wed Oct 22 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated to 1.1.26
|
2005-12-17 23:57:06 +00:00
|
|
|
|
2006-03-15 19:47:25 +00:00
|
|
|
* Thu Oct 16 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- initial build
|