Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4737

Capture tcp payload on HAProxy

$
0
0

HAProxy version:2.2.1
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
    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

image
Please advice me how to do that…

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>