I want to ban an entire ISP on my server and allow certain users from that ISP to connect with a password.
I know about ban ip and except ban, but the second one does not allow setting a password. For what I searched and read around here, it's something in the allow block, right? I tried to do it, but didn't work.
Banning an ISP and allowing connection with a password.
Banning an ISP and allowing connection with a password.
Computers are machines that cause trouble you wouldn't normally have if you wouldn't have a computer.
You should probably read the documentation... http://www.vulnscan.org/UnrealIRCd/unre ... allowblock
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
- Coleman Hawkins
I did, over and over again. I just can't find anything about this. Look at these lines from the conf file:
allow {
ip *@*;
hostname *@*;
class clients;
maxperip 3;
};
allow {
ip *@192.168.*;
hostname *@*;
class clients;
password "achosenpassword";
maxperip 1;
};
[...... other lines .......]
ban user {
mask *@192.168.*;
reason "Because I feel like it!"
};
allow {
ip *@*;
hostname *@*;
class clients;
maxperip 3;
};
allow {
ip *@192.168.*;
hostname *@*;
class clients;
password "achosenpassword";
maxperip 1;
};
[...... other lines .......]
ban user {
mask *@192.168.*;
reason "Because I feel like it!"
};
Computers are machines that cause trouble you wouldn't normally have if you wouldn't have a computer.
Read the part "About matching" again...
http://www.vulnscan.org/UnrealIRCd/unre ... allowblock
You made 2 mistakes - both are explained there.
You shouldn't need a ban user block... a correct allow block should be enough.
http://www.vulnscan.org/UnrealIRCd/unre ... allowblock
You made 2 mistakes - both are explained there.
You shouldn't need a ban user block... a correct allow block should be enough.
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
- Coleman Hawkins