alert tls any any -> any any (msg:"test google"; tls_sni; content:"google.com"; nocase; priority:1; sid:51000000; rev:1;)
curl -6 -i https://google.comHTTP/2 301 location: https://www.google.com/content-type: text/html; charset=UTF-8...
Are you sure the rule is correct? Can you do a packet capture if curl is really calling this SNI?
curl -4 -i https://google.com
blocked LAN_0 10.1.0.40 53838 216.58.209.238 443 test google
root@qwe:~# curl -k -I -6 --resolve google.com:443:[2404:6800:4005:810::200e] https://google.com/HTTP/2 301 location: https://www.google.com/content-type: text/html; charset=UTF-8date: Wed, 30 Sep 2020 13:00:20 GMTexpires: Fri, 30 Oct 2020 13:00:20 GMTcache-control: public, max-age=2592000server: gwscontent-length: 220x-xss-protection: 0x-frame-options: SAMEORIGINalt-svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-27=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"root@qwe:~# curl -k -I -6 --resolve youtube.com:443:[2404:6800:4005:810::200e] https://youtube.com/HTTP/2 301 strict-transport-security: max-age=31536000; includeSubDomains; preloadcontent-length: 0location: https://www.youtube.com/date: Wed, 30 Sep 2020 13:00:31 GMTcontent-type: text/htmlserver: YouTube Frontend Proxyx-xss-protection: 0alt-svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-27=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
alert http any any -> any any (msg:"HTTP google"; http.host; content:"google.com"; priority:1; sid:91000001; rev:1;)
root@qwe:~# curl -4 -i http://google.com^C
blocked LAN_0 10.1.0.40 38848 216.58.209.238 80 HTTP google
root@qwe:~# curl -6 -i http://google.comHTTP/1.1 301 Moved PermanentlyLocation: http://www.google.com/Content-Type: text/html; charset=UTF-8Date: Wed, 30 Sep 2020 13:16:54 GMTExpires: Fri, 30 Oct 2020 13:16:54 GMTCache-Control: public, max-age=2592000Server: gwsContent-Length: 219X-XSS-Protection: 0X-Frame-Options: SAMEORIGIN<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8"><TITLE>301 Moved</TITLE></HEAD><BODY><H1>301 Moved</H1>The document has moved<A HREF="http://www.google.com/">here</A>.</BODY></HTML>
I found the solution (in my case).My user rule was not fully loaded. After rebooting the router my user rule was loaded successfully and applied.Problem solved for me.
Maybe ask in Suricata Forums top?