rejetto forum

Recent Posts

91
sorry, i missed your post for long.
there's no automatic conversion, best way is to re-do the vfs by hand.
thanks for your contribution, i'll see to add it to next version.
92
Pусский / Re: Ищу адекватный шаблон
« Last post by rejetto on November 15, 2023, 10:36:03 PM »
sorry I don't speak russian, but you may want to have a look at next version https://github.com/rejetto/hfs

video files are playable only for formats supported by the browser
93
HFS ~ HTTP File Server / Re: reCAPTCHA for hfs?
« Last post by rejetto on November 15, 2023, 09:53:57 PM »
cool, Leo!
this is how it is done with HFS 3 instead: you put this line in "server code"

exports.middleware = ctx => ctx.host === 'mydomain.com' || ctx.socket.destroy()

i'm considering to offer this as an option
94
Bug reports / Re: HFS needs restart
« Last post by rejetto on November 15, 2023, 09:44:12 PM »
see if this can workaround your problem with HFS 2
https://rejetto.com/forum/index.php?topic=9577.msg1054784#msg1054784

for HFS 3, "browser at startup" is an option you can disable.
The "powershell window" can be avoided by turning hfs into a Service, or using a utility like this https://github.com/benbuck/rbtray
The Service is the right choice for an always-running server.
Hopefully in the future I will make this easier.
95
HFS ~ HTTP File Server / Re: blocking ip-addresses by country
« Last post by rejetto on November 13, 2023, 10:01:41 AM »
yes, plugins, but if you don't intend to distribut your scripts/changes, you can just use "custom html" and "server code".
It depends on what you want to do....
96
HFS ~ HTTP File Server / Re: blocking ip-addresses by country
« Last post by ALEX on November 13, 2023, 09:46:35 AM »
consider helping with testing. You can enable Admin > Options > Update to beta
https://github.com/rejetto/hfs/releases/tag/v0.50.0-alpha2

This release will be very powerful.

How can I add a script in this version?
using plugins...
97
rejetto-crafted software / Re: refresh network list
« Last post by rejetto on November 13, 2023, 09:36:57 AM »
much love guys ❤️
98
HFS ~ HTTP File Server / Re: Ban IP using cloudflare
« Last post by D on November 12, 2023, 05:25:24 AM »
Your best option is to allow not * but just the IPs of cloudflare.
If anyone wonders how to do it... here's a ready-made solution (comes with no warranty)

Just add one ban rule for this IP mask and tick "disconnect with no reply"
Code: [Select]
\173.245.48.1-173.245.63.254;103.21.244.1-103.21.247.254;103.22.200.1-103.22.203.254;103.31.4.1-103.31.7.254;141.101.64.1-141.101.127.254;108.162.192.1-108.162.255.254;190.93.240.1-190.93.255.254;188.114.96.1-188.114.111.254;197.234.240.1-197.234.243.254;198.41.128.1-198.41.255.254;162.158.0.1-162.159.255.254;104.16.0.1-104.23.255.254;104.24.0.1-104.27.255.254;172.64.0.1-172.71.255.254;131.0.72.10-131.0.75.254Source: https://www.cloudflare.com/ips/

Works for me I believe
99
HFS ~ HTTP File Server / Re: blocking ip-addresses by country
« Last post by rejetto on November 11, 2023, 05:36:06 PM »
consider helping with testing. You can enable Admin > Options > Update to beta
https://github.com/rejetto/hfs/releases/tag/v0.50.0-alpha2
100
HFS ~ HTTP File Server / Re: blocking ip-addresses by country
« Last post by ALEX on November 10, 2023, 11:39:48 AM »
we are waiting for this release

guys, initial I had planned to work on this after official release of HFS 3, but i opted to have something special to celebrate next release 0.50, nearing the 2 years anniversary (december 8 ).
hopefully... work in progress