corazawaf / coraza-spoa

EXPERIMENTAL: A wrapper around the OWASP Coraza WAF for HAProxy's SPOE filters
Apache License 2.0
83 stars 18 forks source link

Listen "server" on .sock #96

Open UnveilTech opened 10 months ago

UnveilTech commented 10 months ago

Hello, the doc indicates the server "s1" on ip:port as below: # /etc/haproxy/haproxy.cfg .... backend coraza-spoa mode tcp server s1 127.0.0.1:9000

do you think it could makes sense to also use a .sock (/var/run/coaza-spoa.sock), it could be nice to have that instead of having dozens of open ports on the computer and it might be faster in transaction..

thanks, bye Fred