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

Pages: 1 2 3 ... 56
1
Everything else / Re: Something about me...
« on: April 03, 2024, 06:38:05 PM »
I always try to stay positive (I am a very optimistic person by nature), but 2½ years later, the situation is even worse (to the point of being unsustainable). Now I'm having some health issues because of that. My daily diet (what I eat every day) was drastically reduced in the last 3 months (and yes, it was all because of changes that have recently occurred in my country, that I am not going to name). Unfortunately, I am selling my house and I want to go somewhere else, more stable, more predictable place. The situation in my country has no remedy, no matter which side you look at it from. If I could at least find a partner (a woman), we could share expenses and life would be very different, but it has never been easy for me to achieve it. Not for not being handsome, but because I have a different personality, and at my age, many women look for a man who is already successful and has life resolved. I know you can't do anything for me, but these are things that I had to tell, to at least not feel so sad. Don't worry about me, I will not surrender (I will not give up in this life), but I felt the need to share this with all of you.

2
Programmers corner / Re: Configure HFS Virtual File System by code
« on: January 17, 2024, 04:25:05 PM »
You could do it by scripting (THIS thread could give you some light). Keep in mind that Rejetto stopped developing HFS v2.x (he is busy developing his new HFS v3). The most easy solution, is using an already modified HFS version. The only active fork of HFS is maintained by Rapid, which already changed the VFS to ZIP format (with JSON and images, as separate files). I haven't tested it, but you can download it from HERE.

In case you know about programming (Delphi language), another option is modifying the source code and recompiling the binaries (the executable). If I were to modify the sources, I would analyze the possibility of saving the VFS encoded in Base64 (but that's only useful if, before, we convert data blobs from binary to ASCII format), otherwise it makes no sense in just saving the VFS using Base64 encoding. I have no time to think about the changes needed, but if you do it, you could leave the modifications here (to make this useful to anyone).

Hope it helps.
Leo.-

3
Hi!, and welcome to the forum... :)

Yes, this is possible to do (the very same question was answered a few days ago). You can follow the steps described HERE (replacing "test.mydomain.com" with your own "myhost.com"). For future reference to other users, please report back which option worked better (#1, #2 or #3).

Cheers,
Leo.-

4
Español / Re: [Tutorial] Cómo compilar el código fuente de HFS
« on: November 28, 2023, 11:25:15 AM »
Portable Delphi link is not available anymore. 😔
Thank you for reporting a broken link... :)
I will try to update the links, as soon I find a permanent hosting for the file. I could temporally send you the file by Private Message (send me a PM if you want).

This thread is for Spanish messages only, please leave English messages HERE (perhaps some Moderator could move those posts there, deleting this small note).

5
...this script tests if the size of the vfs is less than a certain value (255 to be reduced if necessary) and in this case restores the backup...
Besides checking VFS's file size, is there some alternative to check VFS integrity? (even if it requires modifying the source code). This is serious, because I think it could be very frustrating loosing a well configured VFS.



» Edit: by saying 'checking VFS integrity', I mean comparing what's loaded on memory, versus what is stored on file, before writing the VFS to the disk (of course it would need writing a new function, modifying the source code). An easy source code modification, would be saving a copy of the VFS without compressing (without applying zlib). If the origin of this issue is a bug with zlib, perhaps on those cases, it could be useful (or not, it depends). ???
 

6
Bug reports / Re: [2.4.0 RC6][*.vfs] almost empty file
« on: November 05, 2023, 11:40:46 AM »
This is the only method that comes to mind, and I hope that it will solve your problem of loss of VFS  ;)
Hey Mars! Woo-hoo!! :D Happy to see you, like the good-old days... (and nice macro solution, by the way). Now we just need SilentPliz to visit us, and the team is almost complete. 8)

7
rejetto-crafted software / Re: refresh network list
« on: November 05, 2023, 11:36:55 AM »
Hi bmartino1! :) Nice to see you around here again.

I'm n and out of the form don't normally login anymore. Not even sure how to help as alot has changed.
Even if there is a new version 3.0, many users still use HFS v2.3 & v2.4 (which still has very widespread usage), and those users still come around here to ask questions (and our experience could be of help to those users). Although we can't know every answer, we keep alive the good-old days of HFS, by just being active on the forum (that's what I try to do here). You're welcome here anytime... ;)

Cheers,
Leo.-

8
Bug reports / Re: HFS needs restart
« on: November 03, 2023, 04:42:05 AM »
I've found a very similar report from 2004, where no solution was found, but as ‘workaround’ it seemed that using a non-standard port, other higher than port 80, it could help on those cases.

» Just wondering: besides upgrading from HFS 2.3 to 2.4, try to think what other changes you did on your server. Since HFS worked fine for years, there must be something else that suddenly is causing this (like for example, an incompatibility with another software, or some other change). It's known that some applications like Skype, could 'take over' (or grab) port 80/443, thus blocking the normal functioning of HFS, as you can read HERE. In Windows 10, an "IIS service" is enabled by default (or it could have been re-enabled after a Windows Update), and it could cause the same issue, as you can read HERE.

• Besides that, if you wish, you can share a debug log by uploading it as attachment here on the forum. To get a debug log, follow THESE steps, but on step 4 wait until HFS stop responding, and then continue with step 5 onwards. I can't make any promises or guarantee about fixing this (this only could be useful to find the origin of the issue, or find a possible workaround, but most of the time, it is not enough to find the source of the error). Remember that without having an EXACT way to reproduce this bug, this could be hard to fix.

At the moment, since Rejetto stopped developing HFS v2.x (now considered obsolete by him), and until an independent fork of the old HFS v2.x branch doesn't arise, I would highly recommend testing his new HFS v3.

9
Bug reports / Re: HFS needs restart
« on: November 02, 2023, 12:36:25 PM »
Hi, and welcome to the forum... :)

Have you tried disabling 'power saving' (or something similar) on your network adapter to avoid getting idle?. I've read that some network adapters would not reconnect after returning from sleep, and/or that they could enter on idle mode without you even noticing it (check HERE and HERE, for a possible solution).

Perhaps is as easy as that (since you were 'successfully using HFS for years', it could happen that some 'Windows Update' changed some networking setting).

Hope it helps.
Leo.-

10
HFS ~ HTTP File Server / Re: blocking ip-addresses by country
« on: November 01, 2023, 04:32:15 AM »
I Use HFS 3
Sorry, my bad, now I realize that you use HFS v3 (I thought you were using HFS v2). All my comments apply only to version HFS v2.x, not HFS v3. Ignore my comments then, and follow what Rejetto says. :)

11
HFS ~ HTTP File Server / Re: blocking ip-addresses by country
« on: October 29, 2023, 08:12:45 AM »
Still, attacks will slow down the performance of the system....

I would like to ask if you know a program or a method that blocks external ip addresses?
There is nothing I know, besides PeerBlock, to block incoming connections at country level (at least, as 'easy to use' like that program). Another option is installing a firewall, like TinyWall (which is a free and lightweight firewall for Windows), but you can NOT install it when you are using a VPS, since you will end up blocking your own access to your VPS (I repeat: do not install it over a remote connection, as they state on their FAQ), so, forget that option. Most of the time, a firewall cannot stop a DDoS Attack but mitigate the effects, since usually a DDoS attack will flood your network connection or exhaust hardware resources (as you can read here). But keep in mind that ANY software you install on your VPS, no matter how lightweight it is, it will have some kind of impact on the performance of the system.

If you were not using a VPS (if this were your local computer), I would recommend filtering those connections using a firewall at router level. Since most home routers don't offer that feature, in that case you would need to buy a router compatible with OpenWRT. Then you would need to configure OpenWRT's firewall. But since you use a VPS, your last resort would be commenting your problem with your VPN's support team (perhaps they could block those IPs for you).

I don't know how they do that 'DDoS attack' to your HFS website, if it's by accessing your direct IP or your Hostname, but if it's by your Hostname, then you could configure Cloudflare as a 'protection layer' between your server and the end user (and you should block direct access to your IP).

Another simpler option: change your VPS to another "DDoS Protected VPS" (so you don't have to worry about this), like: BuyVM, Cloudzy, Alexhost, BlueVPS, JavaPipe, UltaHost, DDoS-Guard, etc. (I've found them doing a simple Google Search).

I've run out of ideas... :-[
I truly don't know other way to help you, sorry... :(

12
HFS ~ HTTP File Server / Re: reCAPTCHA for hfs?
« on: October 27, 2023, 09:52:44 AM »
I'm using Latest version: 2.3m, using my own computer as server.
You could try this...
Press ALT+F6 inside HFS, and then paste any of this:
(choose only one of the following options, testing one by one)

Option #1
Quote
[+request]
{.if|{.!=|%host%|test.mydomain.com.}|{:{.disconnect.}:}.}

Option #2
Quote
[+request]
{.if not|{.or|{.pos|test.mydomain.com|{.header|host.}.}.}|{:{.disconnect.}:}.}

Option #3
Quote
[+request]
{.disconnection reason|Forbidden|if={.not|{.pos|test.mydomain.com|{.header|host.}.}/not.}.}

Replace the text marked in red (test.mydomain.com) with the "subdomain.domain.com" you are using with HFS (this is only an example). Better code or corrections are welcome. This event script is untested (please report back if it works or not, and which option worked better).

13
HFS ~ HTTP File Server / Re: reCAPTCHA for hfs?
« on: October 26, 2023, 06:28:45 AM »
I'm using my ftp via subdomain, like ftp.mydomain.com ... but it can be open by my IP adress to? Can you tell me how can i forbid my ftp to be open by my IP, only by my subdomain? thanks.
What FTP server are you using?...
You have to configure this on your FTP server (in case they offer that option). This has nothing to do with HFS. If this were about HFS, I would recommend using Nginx as 'transparent proxy' to intercept connections between clients and the server (to block direct 'IP access', and allow 'Hostname' access). But Nginx doesn't support proxying to FTP servers, so you could try routing your FTP server through STunnel (on Windows), or HAProxy (on Linux). HAProxy can be run on Windows with a special Cygwin build (but all this it's untested by me). Sadly, that's all I can help you (configuration of all this is complex, and you need to know what you are doing, since requires some networking knowledge).
Hope it helps,
Leo.-

14
rejetto-crafted software / Tsunami of Fysack's messages has passed
« on: October 25, 2023, 04:46:35 AM »
Why shouldn't you wake a sleeping cat?
Cats who are deprived of these stages of sleep can become lethargic or irritable, it is therefore better to avoid waking them up as much as possible

and I must say that taking care of an awakened Fysack is not easy  ;D ;D ;D
:P You were right, it was a mess yesterday, when we had another Fysack ‘tsunami’ (it happened on 23-10-2023, and it lasted 4 hours: between 20:26 to 00:20 UTC, approx). It has been a long time since the last tsunami on 2017. I could imagine the ‘cleaning’ (the next day) was not fun for the moderator (although it seems Fysack had a lot of fun, posting those crazy messages).

@Fysack: your 46 messages were saved in a special place (very hidden in the forum ), so, don't worry if you don't see them (they were read). Thanks for visiting us...

15
HFS ~ HTTP File Server / Re: blocking ip-addresses by country
« on: October 23, 2023, 02:38:05 AM »
and I wanted to find out if I am blocking the ip address ranges correctly, for example 192.168.1.10-192.168.1.50?
Yes, you are doing right. Use a semicolon ; to specify several IP ranges. To avoid any confusion (from my previous comments) if you put a backslash \ before the IP range, that IP range will be excluded from the 'IP Banning'. In the Wiki this is explained.

Pages: 1 2 3 ... 56