PDA

View Full Version : [Added] Host.Rules not being read on rehash


fobban
10-24-2003, 07:33 AM
I was playing around with Host.Rules and banning myself.. just to make sure it worked so i added these 2 lines in it:
DENY I 127.0.0.1 "blahblah"
DENY I localhost "blahblah"

and first i tried to connect without a rehash, and i was able to log in. After that i rehashed the daemon but i was still able to log in.
So finally i restarted the daemon and "finally" i got banned :)
So it seems like it is a "bug" there somewhere since not even rehash did the trick.

Zer0Racer
10-24-2003, 07:40 AM
I think it's by design. Hosts.rules is checked on startup (just like ioftpd.env).

Mouton
10-24-2003, 07:40 AM
That's expected.
ioftpd cache the file at startp only. rehash doesn't do.
Same for ioftpd.env and Scheduler settings in the ini.

fobban
10-24-2003, 08:10 AM
so if i wanna ban someone i'll add his ip and then i have to restart the daemon to get him banned.. sounds weird to me :|

EwarWoo
10-24-2003, 08:24 AM
Or just deluser him.........

darkone
10-24-2003, 08:25 AM
yep.. hosts.rules isn't updated with rehash/automatically yet...