Hello Suricata community, I want to only allow domain url path.
for example:
example.com/something-good-1
example.com/something-good-2
example.com/something-bad
From these I just want to allow traffic from all URLS which are:
example.com/something-good-*
But not from:
example.com/something-bad
pass http $HOME_NET any → $EXTERNAL_NET 443 (msg: “Allowed HTTPS domain”; flow: established,to_server; content: “example.com”; http_uri; pcre: “/something .* /UR” ; sid:1; rev:1;)
pass tls $HOME_NET any → $EXTERNAL_NET any (tls.sni; content:“exampl.com”; msg:“matching TLS allowlisted FQDNs”; flow:to_server, established; sid:2; rev:1;)
The above rule isnt working as expected.