Connection redirect
Connection redirect
y00! If my ircd is full can i redirect the connections to other ip?
ex.:
Disconnected... server is full... redirect to irc3.xy.com
thanks
ex.:
Disconnected... server is full... redirect to irc3.xy.com
thanks
Someone's lazy to use the documentation! You can easily find the solution by searching for the term 'full' in unreal32docs.html. Your friend is set::default-server.
Ok, I wasn't very informative, I've got to extend my previous answer with further explanations.
You might want to know, set::default-server is explicitly the default server used for redirecting. In the allow block you can specify a server name and a port with allow::redirect-server and allow::redirect-port where users are forwarded to if the connection class is full. If those directives are not present, set::default-server is used.
You might want to know, set::default-server is explicitly the default server used for redirecting. In the allow block you can specify a server name and a port with allow::redirect-server and allow::redirect-port where users are forwarded to if the connection class is full. If those directives are not present, set::default-server is used.
Code: Select all
allow {
ip *@*;
hostname *@*;
class clients;
maxperip 50;
redirect-server xxx.com;
redirect-port 5555;
};...that isnt a really great description of a problem.
HOW doesnt it work. What error?
HOW doesnt it work. What error?
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
no error..
no error, its not redirect the connection.. 
That's obvious, the connection class isn't full. You must saturate the clients class. This will redirect every new connection to the configured server and port. And don't forget that the lowest allowed value of class::maxclients is 1.
(In Hungarian: ez egyértelmü, nincs tele a kapcsolati osztály. TelÃtsd meg a clients osztályt! Ezzel minden új kapcsolat át lesz irányÃtva a beállÃtott szerverre és portra. És ne felejtsd el, hogy a class::maxclients megengedett legkisebb értéke 1.)
(In Hungarian: ez egyértelmü, nincs tele a kapcsolati osztály. TelÃtsd meg a clients osztályt! Ezzel minden új kapcsolat át lesz irányÃtva a beállÃtott szerverre és portra. És ne felejtsd el, hogy a class::maxclients megengedett legkisebb értéke 1.)
Last edited by AngryWolf on Tue Aug 03, 2004 3:31 pm, edited 1 time in total.