https - Iptables DROP SSL traffic (443) -
i'm trying block request ssl resource specific parameters using iptables, i.e.: https://domain.com/hello?param=aux
i have blocked traffic port 80 following command (we assume iptables rules list empty):
iptables -i input -p tcp --dport 80 -m string --string "get /hello?param=aux" --to 70 --algo bm -j drop
it's straightforward think ssl version (at least non-expert me):
iptables -i input -p tcp --dport 443 -m string --string "get /hello?param=aux" --to 70 --algo bm -j drop
however not working. ideas of doing wrong? in advance.
it never work, since traffic ssl site encrypted, including request method , parameters.