On Tue, May 11, 2010 at 12:42:13PM -0700, Shannon Lee wrote:
> Hey guys,
>
> The stick-table feature is great, but it turns out I'm not smart enough to
> use it :\
>
> We got the stick-table feature working ok, and 'src' seems to be exactly
> what we're looking for, except that the majority of our connections come in
> via ssl -- via stunnel -- which means that 'src' is 'localhost.' It seems
> like we ought to be able to use the X-Forwarded-For header as the key for
> the table, but I don't understand how, what am I missing?
it's not implemented right now but it should be easy to do so. I'll see if
I can implement it in version 1.4.5. The principle will be :
stick on hdr_ip(x-forwarded-for)
Regards,
Willy