What are the random characters in the cookie header?

2014-08-29 Thread Ricardo Fraile
Hello,

When Haproxy is configured with persistence, delivering request along various 
backends with something like:

...
cookie SERVER insert maxidle 60m maxlife 180m indirect

server web1 192.168.1.50:80 cookie A check inter 5s fastinter 1s downinter 1s 
rise 2 fall 2
server web2 192.168.1.51:80 cookie B check inter 5s fastinter 1s downinter 1s 
rise 2 fall 2
...

I see that the cookie inserted have some random characters, in this example 
VAA8l|VAA8l, what are they?

Set-Cookie: SERVER=B|VAA8l|VAA8l; path=/


Thanks,


Re: What are the random characters in the cookie header?

2014-08-29 Thread Baptiste
On Fri, Aug 29, 2014 at 10:47 AM, Ricardo Fraile rfra...@yahoo.es wrote:
 Hello,

 When Haproxy is configured with persistence, delivering request along
 various backends with something like:

 ...
 cookie SERVER insert maxidle 60m maxlife 180m indirect
 server web1 192.168.1.50:80 cookie A check inter 5s fastinter 1s downinter
 1s rise 2 fall 2
 server web2 192.168.1.51:80 cookie B check inter 5s fastinter 1s downinter
 1s rise 2 fall 2
 ...

 I see that the cookie inserted have some random characters, in this example
 VAA8l|VAA8l, what are they?

 Set-Cookie: SERVER=B|VAA8l|VAA8l; path=/


 Thanks,


Hi Ricardo,

They are your maxidle and maxlife encoded.

Baptiste