hfs 0.50.0-alpha1 → 0.50.0-beta4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/admin/assets/{index-c618ba7d.js → index-3cd8ca5e.js} +394 -137
- package/admin/assets/index-8b462908.css +1 -0
- package/{frontend/assets/sha512-90bb0108.js → admin/assets/sha512-8adbc3db.js} +1 -1
- package/admin/index.html +2 -2
- package/central.json +5 -0
- package/frontend/assets/index-6024d2c6.js +94 -0
- package/frontend/assets/index-b90320b6.css +1 -0
- package/{admin/assets/sha512-1ee27408.js → frontend/assets/sha512-56c6d063.js} +1 -1
- package/frontend/index.html +2 -2
- package/package.json +3 -4
- package/src/adminApis.js +7 -0
- package/src/api.file_list.js +3 -0
- package/src/api.monitor.js +8 -4
- package/src/api.vfs.js +13 -14
- package/src/apiMiddleware.js +12 -12
- package/src/block.js +1 -1
- package/src/config.js +1 -1
- package/src/connections.js +12 -1
- package/src/const.js +3 -2
- package/src/cross.js +8 -2
- package/src/customHtml.js +1 -1
- package/src/frontEndApis.js +3 -2
- package/src/geo.js +61 -0
- package/src/index.js +5 -3
- package/src/langs/embedded.js +2 -1
- package/src/langs/hfs-lang-hu.json +134 -0
- package/src/langs/hfs-lang-it.json +1 -0
- package/src/langs/hfs-lang-nl.json +4 -3
- package/src/langs/hfs-lang-ru.json +3 -2
- package/src/listen.js +1 -1
- package/src/middlewares.js +14 -1
- package/src/misc.js +2 -18
- package/src/nat.js +3 -1
- package/src/plugins.js +2 -3
- package/src/serveFile.js +7 -3
- package/src/serveGuiFiles.js +1 -2
- package/src/util-http.js +36 -16
- package/src/vfs.js +2 -3
- package/admin/assets/index-f3fd8783.css +0 -1
- package/frontend/assets/index-83cd0389.js +0 -94
- package/frontend/assets/index-b50efd06.css +0 -1
package/README.md
CHANGED
|
@@ -40,6 +40,7 @@ This is a full rewrite of [the Delphi version](https://github.com/rejetto/hfs2).
|
|
|
40
40
|
- real-time monitoring of connections
|
|
41
41
|
- [show some files](https://github.com/rejetto/hfs/discussions/270)
|
|
42
42
|
- speed throttler
|
|
43
|
+
- geographic firewall
|
|
43
44
|
- admin web interface
|
|
44
45
|
- multi-language front-end
|
|
45
46
|
- virtual hosting (plug-in)
|
|
@@ -172,9 +173,9 @@ While this project focuses on ease of use, we care about security.
|
|
|
172
173
|
|
|
173
174
|
Some actions you can take for improved security:
|
|
174
175
|
- use https, better if using a proper certificate, even free with [Letsencrypt](https://letsencrypt.org/).
|
|
175
|
-
- have a domain (ddns is ok too),
|
|
176
|
+
- have a domain (ddns is ok too), configure it in "Internet" page, and enable "Accept requests only using domain"
|
|
176
177
|
- install rejetto/antidos plugin
|
|
177
|
-
-
|
|
178
|
+
- ensure "antibrute" plugin is running
|
|
178
179
|
- disable "unprotected admin on localhost"
|
|
179
180
|
|
|
180
181
|
## Hidden features
|