Re: [ANNOUNCE] haproxy 1.5-dev9

2012-05-09 Thread Cyril Bonté
Hi, Le 09/05/2012 07:04, Baptiste a écrit : Hi, Yes, appsession has been obsoleted by cookie and set-cookie stick tables pattern extraction (in HAProxy 1.5-dev7 as far as I remember). As an example: stick-table type string len 32 size 10K stick store-response set-cookie(PHPSESSID) stick

Re: [ANNOUNCE] haproxy 1.5-dev9

2012-05-09 Thread Aleksandar Lazic
Hi Willy, On 09-05-2012 05:47, Willy Tarreau wrote: Hi Aleks, On Wed, May 09, 2012 at 12:26:38AM +0200, Aleksandar Lazic wrote: After all this changes is it still necessary to have the appsession directive in haproxy? Could it not be removed to avoid confusions and future question what

appsession redesign (was: Re: [ANNOUNCE] haproxy 1.5-dev9)

2012-05-09 Thread Aleksandar Lazic
Hi all, On 09-05-2012 14:08, Willy Tarreau wrote: Hi Cyril, On Wed, May 09, 2012 at 08:55:45AM +0200, Cyril Bonté wrote: Hi, Le 09/05/2012 07:04, Baptiste a écrit : Hi, Yes, appsession has been obsoleted by cookie and set-cookie stick tables pattern extraction (in HAProxy 1.5-dev7 as far

Re: Can't git clone haproxy repo

2012-05-09 Thread Baptiste
sometimes, it happens that HAProxy git is not available (or very very slow) :) just try again a bit later. cheers On Wed, May 9, 2012 at 6:52 PM, Aleksandar Lazic al-hapr...@none.at wrote: Hi, I just copied the git command to clone the repo from

stats admin: regression in 1.5-dev9 and potential security issue

2012-05-09 Thread Cyril Bonté
Hi Willy, Just after your announce, I've upgraded from haproxy 1.4.20 to 1.5-dev9 on a test machine. Today, I suddenly realize that the stats web page allows to disable/enable servers (and the result message is a bit weird, as the action is applied but it gives an Unexpected result message).

Re: Can't git clone haproxy repo

2012-05-09 Thread Sebastien Estienne
On a side note, why not using github? I guess you have been asked this one already :) -- Sebastien E. Le 9 mai 2012 à 20:11, Baptiste bed...@gmail.com a écrit : sometimes, it happens that HAProxy git is not available (or very very slow) :) just try again a bit later. cheers On Wed,

Re: stats admin: regression in 1.5-dev9 and potential security issue

2012-05-09 Thread Cyril Bonté
Hi again, I couldn't find time to find a fix, but i could isolate the behaviour change...and also discovered other issues :-( See below. Le 09/05/2012 20:33, Cyril Bonté a écrit : Hi Willy, Just after your announce, I've upgraded from haproxy 1.4.20 to 1.5-dev9 on a test machine. Today, I

Re: ACLs that depend on cookie values

2012-05-09 Thread Malcolm Handley
On Tue, May 8, 2012 at 1:24 AM, Willy Tarreau w...@1wt.eu wrote: Hi Malcolm, On Mon, May 07, 2012 at 06:19:36PM -0700, Malcolm Handley wrote: I'd like to write an ACL that compares the integer value of a cookie with a constant. (My goal is to be able to block percentiles of our users if we

Re: ACLs that depend on cookie values

2012-05-09 Thread Malcolm Handley
Oh, one more question: if I use reqrep to modify the cookies header that's going to destroy the original header, I suspect, which would cause problems for the web server that wants to read those cookies. Is there any way around that? On Wed, May 9, 2012 at 3:51 PM, Malcolm Handley