What version are you running? From memory up to 1.5.x you can have only one table per fe/be, not sure about 1.6 I haven't tried it yet. I've seen people using second table via dummy backend though. I don't have access to my notes atm so maybe someone else can jump in and help with this. On 01/10/2015 2:22 PM, "Jason J. W. Williams" <jasonjwwilli...@gmail.com> wrote:
> I still would like to keep the rate limiting based on source ip but the > persistence based on header. > > My thought was to create a second named stick table but I didn't see a > name parameter to the stick-table declaration. > > Sent via iPhone > > On Sep 30, 2015, at 18:23, Igor Cicimov <ig...@encompasscorporation.com> > wrote: > > Well in case of header you would have something like this I guess: > > tcp-request content track-sc1 hdr(x-app-authorization) > > > > On Thu, Oct 1, 2015 at 9:47 AM, Jason J. W. Williams < > jasonjwwilli...@gmail.com> wrote: > >> Wondered about that... Do the "tcp-request" rate limiters use the stick >> table (I assume they need type ip) or another implied table? >> >> -J >> >> On Wed, Sep 30, 2015 at 3:41 PM, Igor Cicimov < >> ig...@encompasscorporation.com> wrote: >> >>> The stick-table type would be string and not ip in that case though >>> >>> On 01/10/2015 5:07 AM, "Jason J. W. Williams" <jasonjwwilli...@gmail.com> >>> wrote: >>> > >>> > We've been seeing CenturyLink and a few other residential providers >>> NATing their IPv4 traffic, making client persistency on source IP result in >>> really lopsided load balancing lately. >>> > >>> > We'd like to convert to sticking on a custom header we're already >>> using that IDs the user. There isn't a lot of examples of this, so I was >>> curious if this is the right approach: >>> > >>> > Previous "stick on src" config: >>> https://gist.github.com/williamsjj/7c3876d32cab627ffe70 >>> > >>> > New "stick on header" config: >>> https://gist.github.com/williamsjj/f0ddc58b9d028b3fb906 >>> > >>> > Thank you in advance for any advice. >>> > >>> > -J >>> >>> The stick-table type would be string and not ip in that case though >>> >> >> > > > -- > Igor Cicimov | DevOps > > > p. +61 (0) 433 078 728 > e. ig...@encompasscorporation.com <http://encompasscorporation.com/> > w*.* encompasscorporation.com > a. Level 4, 65 York Street, Sydney 2000 > >