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 - danny

Pages: 1 ... 3 4 5 6 7 ... 15
61
Tmeter free version http://www.tmeter.ru/en/ can do up to 4 filters, such as speed limit HFS (to reduce flooding).
 I see bandwidth shaping aka speed control, but don't see bruteforce protection

------------------
also
Netbalancer https://netbalancer.com/download versions older than 9.3 would allow 3 free filters (including speed limit); and the April 2016 v9.2.7.839 version looks like it is meant for Window 7. 
Likewise I see speed limit but don't see bruteforce protection

------------------
I wonder if there are other free ways to do bandwidth-shaping with Windows? 


P.S.  There is another: 
Linux virtual machine running HFS on wine (because running iptables in front of HFS). 

62
HFS ~ HTTP File Server / Re: Running HFS Behind A VPN
« on: March 19, 2021, 10:33:23 PM »
The problem is similar to Carrier Grade Nat (aka double-nat); so the work-arounds for that (such as pagekite) should also work for VPN. 

63
Bug reports / Re: HFS 2.4 RC7 Login Required Issue - Please help!
« on: March 19, 2021, 09:17:00 PM »
Ok but i have just tried to access my server from my mobile not connected to my internet and it still is doing the same login required issue this seems strange as it does not happen if i run HFS 2.3 at all
Try the stripes template http://rejetto.com/forum/index.php?topic=13415.msg1066702#msg1066702
version for hfs2.4 has
[unauth]
{.redirect|/~login.}

So, instead of lasting error screen, it should show the login screen instantly.
Also use:  Menu > Other > Users > After Login Redirect To (your real folder).

64
Hi! What are the real limitations of HFS on simultaneous file downloads? After 15 users simultaneously download one file over the Internet, the connection is lost on my server. Changed the router, then changed the provider. The situation has improved, but the problem is not completely solved. How much load can HFS handle ? Thanks.
40+ simultaneous RQ's which could be done by 1 to 40+ users. 
Try the simultaneous downloads limit (set at 2 if internet faster than 150 megabit) or netlimiter or set properties of ethernet card to 100 megabit to reduce flooding.   (hfs speed limit is worse.  hfs connections limit is worse.)

See my WatchCat script to regain connectivity automatically.

See my Stripes-Oneshot template for lower RQ cost.

And this.

If your router supports iptables then: 
iptables -I INPUT -d 192.168.1.200 -m connlimit --connlimit-above 40 -j REJECT
whereby 200 would be changed to your server's lan ip
whereby 40 would be changed much lower if incoming rate is flooding at more than 150 megabits.
Weird exception REJECT used for wan even though we should use DROP for strangers; and, that's because, for http server we do want seamless retry that REJECT makes possible (not the black hole of DROP).  If the INPUT chain won't do it, try the FORWARD chain.
Alternative for iptables-crippled ('diet' iptables) routers is use hashlimit instead (dd-wrt, etc...).

HFS limits menu (if fast internet)
simultaneous downloads limit = good
inbuilt speed limit = worse* (use netlimiter or ethernet port speed setting)
inbuilt connections limit = worse* (use iptables connlimit or hashlimit)

*On fast internet with your single thread Apache/HFS/Nginx for Windows, by the time a flood has reached the http server, it was too late; so, the flood has to be throttled before then.   If 100 megabit or lower, a single thread server can do many simultaneous downloads.  Or, if gigabit/flooding then 1 or 2. 

65
HTML & templates / Re: Stripes, the template for simple and easy
« on: March 18, 2021, 02:30:28 PM »
This is really a good template. very simple, fast, easy to custom. love it! thanks :D
Inspiration was from your comment "...like throwback but simpler..." and from NaitLee's white.tpl. 

Thanks!!!

66
HTML & templates / Re: Tiles and Stripes, the gallery view
« on: March 18, 2021, 01:03:48 PM »
At post#1, Tiles-n-Stripes-v3b.tpl plays flac.
The file size is smaller because I just copied&pasted some updates from the Stripes template; including login script, error redirection pages, and the music player script too. 

67
HFS ~ HTTP File Server / Re: How to show thumbnail of JPG image file?
« on: March 18, 2021, 11:51:44 AM »
Ideally, we should:
look for jpg inbuilt thumbnail > failover to full file (no blanks)
and lazyload,
and small delays between each image, to give the server time for multiple users.

68
HTML & templates / Re: How can I implement thing on image attached?
« on: March 16, 2021, 09:25:45 PM »
You asked me to elaborate what I'm trying to do....
Kudos for that. 
Unfortunately, I'm a bit daft and didn't manage to get past editing of an older template which was slow and so huge that the editing is difficult.  Maybe it would be good to use something more streamlined?  For example, the Takeback template has a lot of features but also more speed and less bulk. 

69
HTML & templates / Re: How to Speed up Rendering
« on: March 16, 2021, 07:41:23 PM »
what factors can speed up blogspot?
I hear you.   The factors are similar to HFS. 
Install firefox on pc.
Menu >
Web Developer >
Network >
F5 >

Your site isn't bad, but order of loading may be chaotic. 
You could use XHTML and do load order by UI order. 
There is also script defer or move script after </body> close tag; either of which can make the scripts load After content is visible.
Smaller icon files that cause waiting on additional RQ, can be replaced with base64 or unicode icons (not separate files). 
Too many RQ (too many separate files); so, perhaps consolidate. 

70
HFS ~ HTTP File Server / Re: favicon HFS ?
« on: March 16, 2021, 06:35:18 AM »
latest effort on favicon is this: 
Code: [Select]
<link rel="icon" href="data:image/gif;base64,R0lGODlhEAAQAPIBABAhShAAAIx/KWeFav/vKSRWjDl7ztPMwyH5BAEAAAAALAAAAAAQABAAAANRCLrcPiee4dSAMt528zGXIDCXERloOFoD6l6DKCpF/cayQAG1DeYwWq8GKxYAgaRyyUwSnAGC9CmYQqNY5XM5fU4FgSoBnPU2y9CtU0o+K5oJADs=">It costs less than RQ overhead. 

71
HTML & templates / Re: How can I implement thing on image attached?
« on: March 16, 2021, 04:29:38 AM »
If the folder you want is the current folder, that is %encoded-folder%

See also this for more macro fun:  http://rejetto.com/forum/index.php?topic=12059.msg1065252#msg1065252

Separation of (additional) functions works with filetypes, users, groups. . . But not the parent folder, because the time-travel functionality was already redacted by the future developers (surely doable; but, the costs are inconvenient).   ;)  (not easy to separate by parent folder contents that have not yet been seen). 

P.S.
The traditional way is user-group to identify special folders (before the contents have been seen).   However, if you're not going with login > users > groups to differentiate, then you can use the .exec macro for diy scanner (to flag content, before the end-user arrives).

72
HTML & templates / Re: Responsive small screen template
« on: March 12, 2021, 09:46:51 PM »
I think that the most efficient way to load player and features scripts is:
Code: [Select]
<a href="#" onclick="var script = document.createElement('script'); script.src = '/~player1.js'; document.head.appendChild(script) ; ; var script = document.createElement('script')">&nbsp;&#128065;&nbsp;</a>
Then you can include more features; and, the scripts don't load until user clicks icon. 

How do I make it work with audioplayer, such as no button, generic browser (no moz, no webkit) and start shuffle+repeat at script load? 

73
HTML & templates / Re: Stripes, the template for simple and easy
« on: March 11, 2021, 08:41:44 AM »
Edit:  Older versions are now stored in historic-s.zip.

74
HTML & templates / Re: Responsive small screen template
« on: March 10, 2021, 05:09:39 AM »
I have noticed that templates with server-management top menu causes all users to expect that they Should be doing server-management (the purpose). 

Instead, howabout a footer menu? 
with the page in this order: 
🏠/nav
File List
menu (at the bottom)

P.S.
I mention this. . . because I was investigating adding a menu to one of the 'easy view' templates (Stripes and White); and, did notice the 'easy view' benefit is lost if a top menu were installed; but, the 'easy view' benefit is not lost if a bottom menu were installed. 

P.P.S.
Avoiding css redraw (bouncing menu) = exclusive screen area (files vs menu divs which don't overlap).  So, probably, the scrollbar goes on the files div, not the whole page? 

75
Code: [Select]
{.if not|%user%|{:{.if|{.%url% = /.}|{:{.disconnect.}:}.}:}.}

Pages: 1 ... 3 4 5 6 7 ... 15