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 ... 41
1
HTML & templates / Re: Watchdog accessory?
« on: February 20, 2020, 01:54:12 PM »
Ping hfs locally +  Restart hfs if no response. 
Just the usual standard keep-alive function.
Ah, now I understand. 8) You can start by reading THIS.
Then add the following, somewhere in your template:

Code: [Select]
[ping|no log]
{
    "pong" : 1
}

And inside a batch, access/ping periodically with wget (with the appropriate arguments) this URL: http://127.0.0.1/~ping

I have almost no experience using wget to give you more help. But it could be useful for the rest of users here, if you can share the final working code you end using (so, if anyone here in the future ask the same question, it will find the solution).

I hope you could get more help from some experienced wget user... :-\

2
HFS ~ HTTP File Server / Re: hfs.events timed events question
« on: February 20, 2020, 10:28:45 AM »
Hi!, welcome to the forum. :)

I'm not expert on this, but I'm afraid that yes, it will start the task every 15 minutes, no matter if the previous task was completed. Unless you add some kind of 'task detection', it will overlap your previous task. Other users like Mars or Rejetto could give you more details, but if you share here the contents of your 'hfs.events' file, it will be easier for other users to help you.

You could find more info about 'hfs.events', here and here.

Cheers,
Leo.-

3
HTML & templates / Re: Watchdog accessory?
« on: February 20, 2020, 10:14:16 AM »
I read your post, although I was scratching my head because I tried setting ip-services= to my preference; and that would keep for many hours, appeared fixed, but then it reverted itself later.  Also, what is the function of ip-services-time= ??
As far I know, ip-services-time= keeps a record/log of the last time ip-services= was updated. By setting it up to a future date, like '99999.99999' (which is 13/10/2173 23:59:59 in Delphi date format), 'ip-services' won't be updated until that date.

About the Watchdog thing, sorry, I currently don't understand what are you trying to archive with it, but I guess some other user could help you out... :-\ ???

Cheers,
Leo.-

4
HTML & templates / Re: Watchdog accessory?
« on: February 20, 2020, 08:48:55 AM »
So, if settings caused the server to freeze, functional settings and server would be restored to working order automatically.
Although it's always recommended doing a backup of hfs.ini file, the whole problem/issue you had (about the freeze), was a very exceptional one. And it would never happen again if you follow what I've posted HERE. Have you read that? You currently have your Private Message disabled on the forum (User 'danny' has blocked your personal message.), so I couldn't let you know about the updated post.
Please keep your PM open... ::) :D

Cheers,
Leo.-

5
Beta / Re: version 2.4
« on: February 20, 2020, 05:46:22 AM »
template corrected http://www.rejetto.com/hfsfiles/hfs24rc4.exe
(Sorry, I had no time to check this yesterday)

Cool! 8) now everything seems to be working OK!...
At first sight, I didn't found anything wrong to report.
I will do more in-depth tests on the next days.

6
Beta / Re: version 2.4
« on: February 17, 2020, 05:06:24 AM »
latest version http://www.rejetto.com/hfsfiles/hfs24rc3.exe
Nice to see RC3! :D According to my tests (if I'm not mistaken, correct me if I'm wrong), RC3 (hfs24rc3.exe) comes with 'exactly' the same default template than RC2 (hfs24rc2.exe). Perhaps Rejetto forgot to include the changes on the template. I did a list of what's fixed...

» Addressed issues, possibly fixed on RC3:
- Response headers with multiple content length (untested by me)
- Color issue in log window, adjusted to system colors (untested by me)
- 'Switch On' and 'Switch Off' button was reversed (tested and fixed OK!)
- 'hfs.diff.tpl' works ony on sub-folders? (not a bug, it's working OK!)

» Issues possibly fixed on RC4 (template related):
- Selecting an item has the same effect as download
- Make some strings translatable, and change '48em to 50em'
- Minor fixes on the template ('bad session' was missing a dot)

» 'Won't fix' list (at the moment):
- Cut/word-wrap long file names
- Problematic unicode filenames

@Rejetto: a silly but still somewhat important question: what is exactly the version of the compiler you are currently using to build hfs24rc3.exe (I ask this just for references purposes only, and because I'm trying to figuring out why there were some memory problems/issues reported by several users, starting from versions v2.3k or v2.3m (like for example, someone did here). Are you still using Turbo Delphi? (if you don't feel more comfortable answering this, just ignore the question) ...or perhaps have you changed the compiling platform, let say, from Windows 7 to 10, and that affected some users? (By the way, I currently don't have any memory problem with my Windows, but I'm curious to know if a compiler change could be the reason).

windows defender:
rc3    1 danger  :'( Trojan:Win32/Detplock
rc2    0 danger
2.3m 0 danger
I was just writing this post, when I see your message. You can rest assured is a false positive (hfs24rc3.exe was tested by myself, and I found it safe, just be sure the file you have downloaded has the same checksum, with SHA1: A98EE8B9D8D2C523466F5609EE71436BEDD69B22). Besides that, both RC2 and RC3 have exactly the same size 2,12 MB (2.224.640 bytes), so I doubt it could have anything bad. On each version, it's the same issue with antivirus companies, as always some of them flag HFS as not safe (and mostly because HFS is not digitally signed).

Cheers,
Leo.-

7
HTML & templates / Re: The Throwback (retro) template.
« on: February 14, 2020, 08:28:53 AM »
However, there is a cleaned-up open source Throwback template located at post#1.  It is quite like Throwback11MP along with some of the Throwback13-Gigabit project.  Think of that as a "best of" collection in one file.  It has finished the same way that it started, with simplifying as the main goal.
This is good to keep the forum community healthy and to keep the post sanity :) (This thread has currently almost 42k views, and those who come back to download your Throwback template will now have your template available again). I appreciate your comment, and that you have restored the good-willing. You do a good team-work helping and testing DJ's templates! 8)

8
HTML & templates / Re: The Throwback (retro) template.
« on: February 12, 2020, 05:04:05 AM »
» Edit1: (14-02-2020, 02:04 PM) @Everyone: About editing the Windows host file, you can do it, but is NOT recommend at all (because you will broke HFS functionality and security). You can disable updates, but you could end exposing your PC to vulnerabilities, fixed on new versions. You always must keep HFS updated (the same like you update your Windows).



» Edit2: (20-02-2020, 02:12 AM) @Danny: I might have been unclear in my initial explanation (on a private message I've sent you 09-02-2020), but what I meant to tell you, is that HFS will maintain/keep your settings untouched, if you have the 'ip-services=' setting filled with some value (of any type). For example (see the text marked in red and green):

Quote
ip-services=0.0.0.0
ip-services-time=99999.99999

With the above setting, HFS will never download any setting from Rejetto's server. The same goes if you use:

Quote
ip-services=http://checkip.amazonaws.com/
ip-services-time=88888.88888

...or also if you use:

Quote
ip-services=http://whatismyip.akamai.com/
ip-services-time=77777.77777

With any of those settings, everything will be keep untouched on your 'hfs.ini' (the settings marked in red, are my recommendation for you, instead of using DNS blocking).

But keep in mind, that using the first setting ip-services=0.0.0.0 (and the same as doing 'DNS blocking'), it will disable/broke the following HFS features: 'Self test' and 'Dynamic DNS updater' (since those features rely on finding your external IP address). To test if those settings were applied, go to (in Expert mode): "Menu > IP address > Find external address", and it should give you an error (if you have used ip-services=0.0.0.0).

Using any of the last two settings (those with the text marked in green), will enable those features again (and nothing will be downloaded from Rejetto's server).



Correct me if I'm wrong, but I think this problem/issue started when have you followed a Rejetto comment (posted here), and you have cleaned the 'ip-services=' settings value, like this:

Code: [Select]
ip-services=
ip-services-time=

And using that 'empty' setting, it makes HFS automatically 'fetch' from Rejetto's server, a correct working value (and if you have 'hfs.ini' write protected, it makes this worst, since this 'fetch' will happen every time you start HFS). And that was what made you (Danny) enter on 'panic mode'.

So, remember that 'ip-services=' must be always filled with some value, because HFS needs this setting to some of his features ('Self test' and 'Dynamic DNS updater'). It's also recommended to regularly make a backup of your 'hfs.ini', instead of having it write protected.

Now that everything is more calm down, I'm sure you will understand how HFS works (but don't be afraid to ask if you have any more questions, of if you don't understand my explanation). We are all here to help.

Cheers,
Leo.-

9
HTML & templates / Re: About retro style templates...
« on: February 11, 2020, 12:46:02 AM »
» EDIT: I'm sorry, I've edited my post again and I've removed any negative connotation about this issue. Sometimes I'm a little bit "temperamental" (it's my fault) and I recognize that I've totally over-reacted to this. Positive Rejetto's attitude had me change my mind. Eventually, we will get another active user that takes his place (I mean, if one user goes, another will eventually come in the future). That's life cycle...



Since the template (originally posted on the first post of this thread) was deleted/cancelled (he left the forum), an old style type of (retro/simple/throwback) template can however being totally rewritten (or being forked), and it could reborn, if any of you want to take back this. Please use this thread to post constructive useful material. :)
 

10
i'm sorry but the original post from danny was deleted and i don't understand what information you are asking to me
Danny said this: "The transload feature could be ready for prime-time, if it were possible to load files from https:// url source.". But it seems HFS can't handle any kind of HTTPS, right?...

11
HFS security has been backdoored so you should not use HFS at all.
HFS is open source (you can even compile it, following my instructions). There are several long-time experienced users on the forum, who had closely analyzed how HFS works, and nobody has complained before about any misuse or malicious backdoor. You can rest assured, that it's safe to use, but don't take my word about it, you can use a network traffic monitor like Wireshark and see by yourself... ::)

It seems danny had a very bad day today. He even has deleted his throwback (retro) template on the first post. I'm glad to have a backup of those files (just in case I need them). I hope he can review his attitude, because he was hostile and negative (just because he doesn't seem to understand how HFS works). :( HFS was several times reviewed by security experts (and all those vulnerabilities were solved/fixed), so his comments are like an insult to HFS.

12
HFS ~ HTTP File Server / Re: deadlocked again this morning
« on: February 09, 2020, 10:55:55 AM »
I suppose that it was not malicious.  However, backdoor has costs, which was me.  I do not support using a server which can have settings changed by remote control!
NO!!!!
Hi Danny! :) Relax, there is no need to panic (I've sent you a PM with more details). It's not that "HFS takes control of your settings". If you delete "ip-services=" line from "hfs.ini" (like Rejetto said to do), HFS automatically recreates that line again, reading it from: http://hfsservice.rejetto.com/ipservices.php (but this only happens if you delete that "ip-services=" line from "hfs.ini"). Those 'freezing' you experienced, were because a URL contained on "ip-services=" (from your local "hfs.ini"), started to make a redirection from HTTP to HTTPS (and because HFS can't handle HTTPS, it just freeze). Just as simple as that. Rejetto or Mars could explain this better than me.
Cheers,
Leo.-

13
Howabout this way, with %encoded-folder% as the destination?  Better security.
Code: [Select]
<center><form method='post'>Paste a URL: <input name='url' value=""><input type='hidden' name='dest' value=""><br><input type='submit' value='Transfer'></form>
{.set|url|{.postvar|url.}.}
{.break|if={.count substring|\|{.decodeuri|{.^url.}.}.}|result=Direct access on hard disk not allowed.}
{.set|dest|%encoded-folder%{.or|{.filename|{.postvar|dest.}.}|{.filename|{.^url.}.}.}.}
{.set|filesize|{.filesize|{.^url.}.}.}
{.if|{.match|^ftp?://|{.^url.}.}| {:{.set|from|{.^filesize.}.}:} | {:{.delete|{.^dest.}|bin=0.}{.set|from|0.}:}.}
{.break|if={.not|{.^filesize.}.}{.=|{.^filesize.}|{.filesize|{.^dest.}.}.}.}
{.save|{.^dest.}|.}
{.^from.}
{.comment| define CHUNK with the min size, if nul then WHILE is never executed.}
{.set|chunk|{.min|{.^filesize.}|10000000.}.}
{.^chunk.}
{.while|chunk|{:
 {.add to log|loading {.^chunk.} bytes.}
   {.load|{.^url.}|from={.^from.}|var=data|size={.^chunk.}.}
   {.length|var=data.}
   {.add to log|Download: from={.^from.} request={.^chunk.}  loaded= {.length|var=data.}.}
   {.if|{.length|var=data.}
      |   {:
         {.add to log|saving.}
         {.append|{.^dest.}|var=data.}{.inc|from|{.length|var=data.}.}
         {.comment| redefine CHUNK with the min size, if nul then WHILE is stoped.}
         {.set|chunk|{.min|{.^chunk.}|{.sub|{.^filesize.}|{.^from.}/sub.}.}.}
         :}
      |   {:
         {.set|chunk|0.}
         {.if|{.and| {.not|{.match|^ftp?://|{.^url.}.}/not.} | {.not|{.^filesize.} = {.filesize|{.^dest.}.}/not.}   /and.}
            |{:{.delete|{.^dest.}|bin=0.}:}.}
         {.add to log|End of download.}:}/if.}:}|timeout=0.}</center>
Thanks! I will check it out :)

if reMatch(fn, '^https?://', 'i!') > 0 then
    try result:=httpGet(fn, from, size)
Where does that part go?
It's already part of the source code (in the file 'scriptLib.pas'). I think it was pointed (cited) by Mars to ask to Rejetto why HTTPS doesn't work. I hope Rejetto could bring us some information about this...

14
HFS ~ HTTP File Server / Re: deadlocked again this morning
« on: February 09, 2020, 12:58:43 AM »
How do we lock in the setting, or block the updates backdoor/phonehome? 
HFS doesn't have any backdoor/phonehome (neither anything malicious), but that reminds me that it would be nice if Rejetto also publish (and includes along the source code files) the PHP Script file that runs on "hfstest.rejetto.com" (which runs the 'Self test'), because that could be also useful just in case one day the website is down (I know changing the 'SELF_TEST_URL' needs recompiling). It's not something I need, so don't take this as a request, it's just a suggestion. ;)

15
Bug reports / Raw IP address list
« on: February 09, 2020, 12:25:50 AM »
Hi everyone! My (very late) happy new year to all the folks here... :)

My 2 cents about this (just in case Rejetto wants to add them on 'ipservices.php' list):

Code: [Select]
http://checkip.amazonaws.com/
http://whatismyip.akamai.com/
http://bot.whatismyipaddress.com/

Those are fast and very reliable servers (with high uptime), which deliver the IP in plain text (raw). The first is from Amazon Web Services (AWS), the second from Akamai (CDN), and the third from WhatIsMyIPAddress.com (a long lasting service, online since 2000).

I'm happy to see Rejetto is back! :) I'm (like everyone else) also eager to see the final 2.4 version released (but I understand it needs a little more testing).

Cheers,
Leo.-

Pages: [1] 2 3 ... 41