Page 1 of 1

Connection redirect

Posted: Fri Jul 30, 2004 12:33 pm
by lms
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

Posted: Fri Jul 30, 2004 5:45 pm
by AngryWolf
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.

Posted: Fri Jul 30, 2004 6:03 pm
by AngryWolf
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.

Posted: Sat Jul 31, 2004 3:30 pm
by lms
koszike :PP

Posted: Sat Jul 31, 2004 8:12 pm
by AngryWolf
This is not the international forum, you must speak in English here, thank you.

[To those who don't speak that language: 'koszike' is the slang form of the Hungarian 'thanks'.]

Posted: Sat Jul 31, 2004 9:45 pm
by lms

Code: Select all

allow {
        ip             *@*;
        hostname       *@*;
        class           clients;
        maxperip 50;
        redirect-server xxx.com;
        redirect-port   5555;
};
its not worx, why?

Posted: Sun Aug 01, 2004 3:11 am
by w00t
...that isnt a really great description of a problem.

HOW doesnt it work. What error?

no error..

Posted: Tue Aug 03, 2004 9:51 am
by lms
no error, its not redirect the connection.. :cry:

Posted: Tue Aug 03, 2004 12:01 pm
by AngryWolf
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.)

Posted: Tue Aug 03, 2004 3:14 pm
by lms
how can i do this?

Posted: Tue Aug 03, 2004 3:37 pm
by AngryWolf
What exactly are you asking?

Posted: Tue Aug 03, 2004 5:32 pm
by lms
how can i will the clients class?

Posted: Tue Aug 03, 2004 7:12 pm
by AngryWolf
Could you rephrase the question, or explain? I don't understand what you wanted to know. Perhaps try the international forum.

0k

Posted: Tue Aug 03, 2004 7:59 pm
by lms