Page 1 of 1
REDIRECT
Posted: Mon Feb 06, 2006 4:14 am
by Arsenico
i wanna know if there is a module.. who makes this thing.
Redirects users when one of the servers linked have X users ..
for example .. Elsitio was using that in a system croom. but i dont like croom
i like unreal and i wanna make that. cuz my shells have 500 users limit =)
Thnkz all and i hope u can tell me =)
Posted: Mon Feb 06, 2006 9:38 am
by Dukat
You don't need a module for that.
Use the maxclients limit in the class block and set a redirect-server in the allow block.
Read the docs:
http://www.vulnscan.org/UnrealIRCd/unre ... classblock
Posted: Mon Feb 20, 2006 8:59 am
by sChutt
Kinda having the same problem.
Question tho: the only classes available are servers an clients right?
Not like i can make the SSL connections a seperate class?
If that'd be possible i could set it a diff listen block right?
- sChutt
Posted: Mon Feb 20, 2006 9:43 am
by Dukat
You can add as many classes as you want.
If you want your SSL Clients in a separate class, set up a special allow block for them (using the ssl option).
Read the docs:
http://www.vulnscan.org/UnrealIRCd/unre ... allowblock
Posted: Mon Feb 20, 2006 10:11 am
by sChutt
Code: Select all
allow {
ip *@*;
hostname *@*;
class specials;
maxperip 3;
redirect-server <second server>;
redirect-port 7000;
options {
ssl;
};
};
allow {
ip *@*;
hostname *@*;
class clients;
maxperip 3;
};
an the obvious:
Code: Select all
class clients
{
pingfreq 90;
maxclients 500;
sendq 1000000;
recvq 12000;
};
class specials
{
pingfreq 90;
maxclients 5;
sendq 1000000;
recvq 12000;
};
So a copy of the clients class for the 'special' ssl connections right? Set limit to something low like 5. Allow block copy from standard clients with the added option if they're ssl to redirect server etc right?
This config is rehashed atm yet new ssl connections do not get redirected yet. Re-read the documentation but alas...
- sChutt
Posted: Mon Feb 20, 2006 10:47 am
by Dukat
Re-read it again... (The part "About matching" should be interesting for you)
http://www.vulnscan.org/UnrealIRCd/unre ... allowblock
Also the allow blocks are read upside down, so you need specific host/ip allow blocks AFTER your general *@* allow blocks.
Posted: Mon Feb 20, 2006 1:08 pm
by sChutt
Oh ffs...
/me slaps himself...
I indeed tried that before postin previous post, guess what i forgot to do tho? /rehash... So set it back to find it not working etc etc... Switched it into the right sequence - all good now, thx for the assist.
- sChutt