rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Hardy

Pages: 1
1
HFS ~ HTTP File Server / Re: Question about "Files filter"
« on: April 11, 2012, 12:25:45 PM »
No, it's not alternative for me, cause sometimes i'm adding gigatons of content, and adding each file manually...
Anyway, i found a solution - eventscripts:

[+download]
{.disconnection reason|Too much hax|if={.match|*.txt|%url%.} {.match|*.cfg|%url%.} {.match|*.lua|%url%.} {.match|*.dll|%url%.} {.match|*.so|%url%.}.}

Thank you for your help

2
HFS ~ HTTP File Server / Re: Question about "Files filter"
« on: April 11, 2012, 11:34:04 AM »
So, there is no way to restrict download for certain file types? Only hide them?
Because all FastDL folders is marked for "Recursively hidden" anyway, but person who knows full path to file can still download it. That's why i need that kind of restrictions.

3
HFS ~ HTTP File Server / Re: Question about "Files filter"
« on: April 11, 2012, 11:25:46 AM »
I even tried it like that:
\*.lua;*.dll;*.txt
and like that:
\*.lua;\*.dll;\*.txt
but it's still totally ignoring that field, allowing some skilled person to download valuable configs and scripts from my server. Help!

4
HFS ~ HTTP File Server / Question about "Files filter"
« on: April 11, 2012, 11:13:41 AM »
Hello.
I am using HFS as FastDownload for game servers, and i have question:
Is there any way to whitelist file extensions, which users can download?
For example: i need to allow access only for *.bsp and such files, but need to restrict access to *.cfg and *.lua.
I tried to set up files filter like that:
*.bsp;*.bz2;*.wav;*.mp3;*.res;*.mdl;*.vtx;*.vvd;*.phy;*.vmt;*.vtf;*.ain;*.pcf;*.ttf;*.dua;*.dat;*.ztmp;\*.lua;\*.dll;\*.txt
But i still can download any file, if i know full path to it (i disabled file browsing)
How to fix that? And is there any whitelist feature, to make "files filter" act like whitelist, restricting access to other file types?
Thanks in advance.

Running 2.3 beta, build 279

5
Bug reports / Real folder is not instant?
« on: October 06, 2011, 04:27:46 PM »
Hello.
I am using HFS 2.3b build 279 as my garry's mod server FastDL. (happens in not beta version too)
When i updating any lua file on the server - server rebuild cache on map change, and then players will instantly start to download new cache.
The problem is that looks like some time after new cache file appears, HFS can't "see" it.
So players can't download lua, and getting errors.
But everything is downloading fine after they rejoin.

So, how can i fix that issue?

Sorry for my bad english.

Pages: 1