On Wed, Jan 13, 2016 at 11:27:02AM +0100, Lukas Tribus wrote:
> > I'm checking byte 0 and 2, not 0 and 1, so it's more 80??01
>
> True.
>
> You could combine anonymous ACLs:
> use_backend bk2 if { payload(0,1) -m bin 80 } { payload(2,1) -m bin 01 }
Definitely. Just for fun, I don't know if it's possible to do it with
regex, approximately like this :
use_backend bk2 if { payload(0,3) -m reg \x80.\x01 }
I haven't found a way to cast it to an IP address or integer, otherwise
we could have tried that as well :-)
Willy