rejetto forum

questions

0 Members and 1 Guest are viewing this topic.

Offline jlpelectronics

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
Hi Rejetto
About hfs, nice programs... i am testing hfs months ago, so i am test 2.3-230 now... nice... good... i have some questions:
- I have a task to run hfs when XP started... when login with administrator user... all good, when login with another user no administrator, i have an "monolib error" on display. Also, the ISO format for the date no work... i have to turn off hfs and start it again.
- Is possible to logout next to be login... leave my PC login is no good idea... maybe a timeout for logout?
- If i have an folder only for upload, no for read or delete... Is possible upload files without see the files uploaded before?
Thanks for advancing


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13438
    • View Profile
1. could you please post the full message?
2. why you say the ISO date doesn't work? could you please post an example?
3. no logout at the moment, sorry, you have to close your browser. i know this sucks.
4. yes, it's possible. http://www.rejetto.com/forum/index.php?topic=6715.0

last 2 questions were answered many times on this forum. use the search!


Offline jlpelectronics

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
Thansk for you attention... ok i will post problem 1 on mon... i am far of my office
About ISO date, before i login on XP, the ISO is good... i have tested it from doing a remote access... when i login on XP, the date change to format am-pm: ej: 24/3/09 10:23:58 p.m.... turn off and on again solve the problem...
The solution about 4 is good.. thanks.
Also... I am sorting the files by time-ISO date... but I prefer to sort root directory by name... Is possible?
Thanks for advancing... congratulations again... nice soft...


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13438
    • View Profile
please post: menu > debug > show customized options
and a screenshot of the page with the wrong date format.

is your HFS running normally or as a service?


Offline Baggio

  • Occasional poster
  • *
    • Posts: 55
    • View Profile
    • Всё для Datalife Engine (DLE) in UA-IX
Do please restrict downloads to only certain IP addresses
DLE.IN.UA  Всё для Datalife Engine (DLE) in UA-IX

linux-bsd.in.ua


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13438
    • View Profile
you can do it by using HFS 2.3 and an event script (ALT+F6)

[+download]
{.if not
|{.match address|127.0.0.1|%ip%.}
|{:{.disconnection reason|you shall not pass!.}:}
.}


Offline Baggio

  • Occasional poster
  • *
    • Posts: 55
    • View Profile
    • Всё для Datalife Engine (DLE) in UA-IX
you can do it by using HFS 2.3 and an event script (ALT+F6)

[+download]
{.if not
|{.match address|127.0.0.1|%ip%.}
|{:{.disconnection reason|you shall not pass!.}:}
.}


So right?
Quote
[+download]
{.if not
|{.match address|127.0.0.1|%ip%.}
|{.match address|62.16.0.0/19|%ip%.}
|{.match address|62.64.64.0/18|%ip%.}
|{.match address|62.64.88.0/21|%ip%.}
|{.match address|62.64.112.0/21|%ip%.}
|{:{.disconnection reason|you shall not pass!.}:}
.}
DLE.IN.UA  Всё для Datalife Engine (DLE) in UA-IX

linux-bsd.in.ua


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2051
    • View Profile
In programming as with the macro, the same rules apply, so thus:
 if not BOOLEAN  then  ACTION1  else  ACTION2

{.if not| BOOLEAN | ACTION1 | ACTION2 .}

In fact so that your macro works it is necessary to write it as what follows

Quote
[+download]
{.if not|{.trim|
              {.match address|127.0.0.1|%ip%.}
              {.match address|62.16.0.0/19|%ip%.}
              {.match address|62.64.64.0/18|%ip%.}
              {.match address|62.64.88.0/21|%ip%.}
              {.match address|62.64.112.0/21|%ip%.}
            .}
|{:{.disconnection reason|you shall not pass!.}:}
.}



Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13438
    • View Profile
62.16.0.0/19

HFS doesn't support this syntax.
can you tell me what addresses are supposed to match 62.16.0.0/19 ?


Offline Baggio

  • Occasional poster
  • *
    • Posts: 55
    • View Profile
    • Всё для Datalife Engine (DLE) in UA-IX
62.16.0.0/19

HFS doesn't support this syntax.
can you tell me what addresses are supposed to match 62.16.0.0/19 ?
This syntax is called a band, I understand. In principle, 62.16.0.0/19, so you can replace: 62.16 .*.*
I think this will work?

I want to allow access only to a specific list of IP addresses!
The list will be taken from this site: http://www.colocall.net/uaix/

If it was Apache, then I would be allowed access as follows:
Quote
deny from all
allow from 62.16.0.0/19
allow from 62.64.64.0/18
allow from 62.64.88.0/21
allow from 62.64.96.0/21
allow from 62.64.112.0/21
allow from 62.64.120.0/21
allow from 62.72.160.0/19
allow from 62.80.160.0/19
allow from 62.122.0.0/21
allow from 62.122.56.0/21
allow from 62.122.64.0/21
allow from 62.122.104.0/21
allow from 62.122.152.0/21
and so on all 2598 lines  ;D

That is, I want to allow access only to Ukrainian IP addresses  ;D  ::)
And how do, I do not know  :P
« Last Edit: April 21, 2009, 08:29:27 PM by Baggio »
DLE.IN.UA  Всё для Datalife Engine (DLE) in UA-IX

linux-bsd.in.ua


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2051
    • View Profile
It would be easier for you to use the banlist
look at teh wiki to more informations
http://www.rejetto.com/wiki/index.php/HFS:_Main_menu#Limits

MENU > Limits > Bans

Add row for multi-lines

Ip Adress MaskComment
\127.0.0.1Localhost allowed
\62.16.*.*allowed
\62.64.64.*allowed
\62.64.88.*allowed
\62.64.96.*allowed
\62.64.96.*allowed
\62.64.96.*allowed
\62.64.120.*allowed
\62.72.160.*allowed
\62.80.160.0-62.80.160.255allowed
\62.122.0.0-62.122.255.255allowed
\62.122.56.0-62.122.56.255allowed
\62.122.64.0-62.122.64.255allowed
\62.122.104.0-62.122.104.255allowed
\62.122.152.0-62.122.152.255allowed
0.0.0.0-255.255.255.255Baned


http://www.rejetto.com/wiki/index.php/HFS:_IP_masks

127.0.0.1-127.0.0.10

127.0.0.*       =    127.0.0.0-127.0.0.255
« Last Edit: April 21, 2009, 09:04:25 PM by mars »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13438
    • View Profile
in hfs you can specify 62.16.0.0/19 as 62.16.0.0-62.16.31.255

it's not the same as 62.16.*.* that will accept 62.16.32.10


Offline MarkV

  • Tireless poster
  • ****
    • Posts: 764
    • View Profile
Maybe HFS could learn to understand CIDR notification?
http://worldipv6launch.org - The world is different now.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13438
    • View Profile

Offline Baggio

  • Occasional poster
  • *
    • Posts: 55
    • View Profile
    • Всё для Datalife Engine (DLE) in UA-IX
Dear developer, but it is a very long time by hand. I would in a file using the function Akelpad replace all of 2958 set the IP:) Notepad (AkelPad) will be faster:)

OMG  ;D
« Last Edit: April 22, 2009, 05:34:50 PM by Baggio »
DLE.IN.UA  Всё для Datalife Engine (DLE) in UA-IX

linux-bsd.in.ua


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13438
    • View Profile
guys, you are doing the wrong way.
there's no need to make 1000 rules.
you can make 1 rule, and all masks divided by semicolons.

62.16.0.0/19;62.64.64.0/18;62.64.88.0/21;62.64.96.0/21

anyway the A/B thing will work only from next build.


Offline Baggio

  • Occasional poster
  • *
    • Posts: 55
    • View Profile
    • Всё для Datalife Engine (DLE) in UA-IX
It will be very good! Waiting  ;D
DLE.IN.UA  Всё для Datalife Engine (DLE) in UA-IX

linux-bsd.in.ua