rejetto forum

bans with more than one IP

MarkV · 5 · 2685

0 Members and 1 Guest are viewing this topic.

Offline MarkV

  • Tireless poster
  • ****
    • Posts: 764
    • View Profile
OK, here we go :roll:

HFS 2.0beta 30

Limits-bans

I want to enter 2 IP addresses allowed to connect to the server. It looks like this:

Code: [Select]
\192.168.0.1;192.168.0.24   |   allow these addresses
That works. Now i save the options (using .ini) and quit HFS. When I open it again, the display has changed. Now it looks this way:

Code: [Select]
\192.168.0.1                       |   allow these addresses
192.168.0.24                       |

It broke the IP chain at the ';', now the second IP is banned too.
I hope you get the point.

The .ini entry is:
Code: [Select]
ban-list=\192.168.0.1;192.168.0.24#allow these addresses;
You're also using the ';' as a seperator in the ini, is that the cause of the break?

MarkV
http://worldipv6launch.org - The world is different now.


Offline RazTK

  • Occasional poster
  • *
    • Posts: 85
    • View Profile
    • http://raztk.50webs.com
I guess it causes to a break.
rejetto should fix that.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
big bad bug :(
easy to fix
but this will likely screw up previous ban configurations


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
ok
now the ini uses | as separator (if present in the comment, it is encoded).
there is a warning for users whose configuration may be screwed up


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
it will be fixed in next beta (33)
if you need it urgently, ask me in ICQ/MSN