Hi, On Sun, Jan 21, Tim Düsterhus wrote: > Jarno, > > Am 15.01.2018 um 14:28 schrieb Jarno Huuskonen: > > I'll try to test later (might be couple of days). > > Did you find time, yet?
I did some brief testing on saturday and with this silly config frontend test4 bind ipv4@127.0.0.1:8080 bind ipv6@::1:8080 http-request track-sc1 src,ipmask(32,128) table test_be http-request track-sc0 req.hdr_ip(X,1),ipmask(24,64) table test_be http-request set-var(sess.myx) req.hdr_ip(X,1),ipmask(24,64) http-response set-header X-MY %[var(sess.myx)] default_backend test_be backend test_be stick-table type ipv6 size 20 expire 180s store gpc0,conn_cnt server wp1 some.ip.addr.ess:80 id 1 and curl -4|-6 -H "X: ipv4.or.ipv6.address" http://localhost:8080/ everything I tested seemed to work (I tested Tim's patch with for size_t outside of loop). -Jarno -- Jarno Huuskonen