91
HFS ~ HTTP File Server / Re: blocking ip-addresses by country
« Last post by ALEX on October 03, 2023, 06:16:12 PM »I Use HFS 3
there's no such feature in HFS 2, but i don't exclude that one could script it.
for HFS 3, i don't plan to add it, but one day we may have a plugin for it.
[request]
{.if|{.{.header|User-Agent.}!=ALLOWED_USER_AGENT_NAME.}|{:{.disconnect.}:}.}
[request]
{.if|{.{.header|User-Agent.}!=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0.}|{:{.disconnect.}:}.}
this one works perfectly, thank you.nice. btw, are you using 2.3 or 2.4?
Telegram - @rejetto ?yes, if you'd like to use version 3 in the future, consider contacting me anyway, as I'm interested in understanding what are real customization needs, I'm still "shaping" version 3.