Community discussions

MikroTik App
 
JimF
just joined
Topic Author
Posts: 9
Joined: Sat Nov 28, 2015 6:13 pm

Can a hEX lite router block URI level 7 requests?

Fri Jan 10, 2025 12:03 am

I'd like a firewall rule to block any inbound https request where the URI string contains "cart.pl" but the cookie named "VISA" is missing.
 
User avatar
BartoszP
Forum Guru
Forum Guru
Posts: 3327
Joined: Mon Jun 16, 2014 1:13 pm
Location: Poland

Re: Can a hEX lite router block URI level 7 requests?

Fri Jan 10, 2025 2:40 am

Hard task ... almost impossible with ROS.
simple forum search gives that viewtopic.php?p=1112124&hilit=http+leve ... r#p1112124
 
sukram
just joined
Posts: 10
Joined: Mon Jan 08, 2024 1:29 am

Re: Can a hEX lite router block URI level 7 requests?

Fri Jan 10, 2025 12:03 pm

Since this seems to be part of a Webshop, it might be better to setup a reverse proxy (eg. with nginx) in front of your server(s) to filter those requests. Also you might consider using this Proxy to have your TLS (HTTPS) connection handling, which might add to the overall performance.