Connection redirect

These are old archives. They are kept for historic purposes only.
Post Reply
lms
Posts: 32
Joined: Mon Mar 15, 2004 9:29 am

Connection redirect

Post 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
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post 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.
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post 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.
lms
Posts: 32
Joined: Mon Mar 15, 2004 9:29 am

Post by lms »

koszike :PP
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post 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'.]
lms
Posts: 32
Joined: Mon Mar 15, 2004 9:29 am

Post by lms »

Code: Select all

allow {
        ip             *@*;
        hostname       *@*;
        class           clients;
        maxperip 50;
        redirect-server xxx.com;
        redirect-port   5555;
};
its not worx, why?
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

...that isnt a really great description of a problem.

HOW doesnt it work. What error?
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
lms
Posts: 32
Joined: Mon Mar 15, 2004 9:29 am

no error..

Post by lms »

no error, its not redirect the connection.. :cry:
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post 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.)
Last edited by AngryWolf on Tue Aug 03, 2004 3:31 pm, edited 1 time in total.
lms
Posts: 32
Joined: Mon Mar 15, 2004 9:29 am

Post by lms »

how can i do this?
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

What exactly are you asking?
lms
Posts: 32
Joined: Mon Mar 15, 2004 9:29 am

Post by lms »

how can i will the clients class?
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

Could you rephrase the question, or explain? I don't understand what you wanted to know. Perhaps try the international forum.
lms
Posts: 32
Joined: Mon Mar 15, 2004 9:29 am

0k

Post by lms »

Post Reply