I wanna capture tcp packet and make acl by captured tcp packet but now I'm
trying to capture payload it doesn't work.

My configuration

````

frontend hts_frontend

    bind *:8400

    mode tcp

    maxconn 3000

    option tcplog

    log global

#    log-format "%ci:%cp [%t] %ft %b/%s %Tw/%Tc/%Tt %B %ts
%ac/%fc/%bc/%sc/%rc %sq/%bq"

    log-format "capture0: %[capture.req.hdr(0)]"

    timeout client  1m

    tcp-request inspect-delay 1s

    tcp-request content capture payload(0,192) len 1

````

I want to capture the 118th character same as screenshot and make acl if the
character is 1 going to A backend server other character is going to B
backend server



Please advice me how to do that...

 

Reply via email to