Excerpt from cfg
Backend1
mode http
acl is-error res.hdr(status) 403
http-request track-sc2 src table error-count
http-response sc-inc-gpc0(2) if is-error
option httpchk
balance static-rr
server serverA [serverip-here] check inter 5s downinter 4s maxconn 4000
server serverB [serverip-here] check inter 5s downinter 4s maxconn 4000
backend error-count
stick-table type ip size 1m expire 3m store gpc0
RESULT after I force a 403 error on the browser:
# table: error-count, type: ip, size:1048576, used:1
0x562d0383ccc8: key=IPdisplays-here use=0 exp=173781 gpc0=0
I can see the IP is being tracked and expiration is there no problem, but I can't get gpc0 to update in the stick table. It remains 0.
I've tried all kinds of anonymous and other ACLs and table type string. No luck. Google has nothing. Any ideas are appreciated.
Thanks!