Linking .. GGRRR!!!

These are old archives. They are kept for historic purposes only.
Post Reply
VegetaSan
Posts: 18
Joined: Wed Aug 25, 2004 9:11 am
Location: The Netherlands
Contact:

Linking .. GGRRR!!!

Post by VegetaSan »

Linking .... a Pain in the ass

Ok, Iam trying to link 2 servers to eachother. but .. it's not going too well

Server1 = 1.1.1.1
Server2 = 2.2.2.2

me::name (Server1) = Anime.Anime
me::name (Server2) = Lighting.Lighting

(for example ofcourse)

Server1 Numeric = 4
Server2 Numeric = 5

(You couldnt link 2 server with the same Numeric)

Server1's Link.conf

Code: Select all

link Anime.Anime { 
   username *; 
   hostname 2.2.2.2; 
   bind-ip *; 
   port *; 
   hub *; 
   password-connect "l33t";
   password-receive "l33t";
   class servers; 
};

Server2's Link.conf

Code: Select all

link Lighting.Lighting { 
   username *; 
   hostname 1.1.1.1; 
   bind-ip *; 
   port *; 
   hub *; 
   password-connect "l33t";
   password-receive "l33t";
   class servers; 
};
Ok, Unreal was running succesfully, and when I used
/connect Lighting.Lighting on the Anime.Anime Server

Then ..the server noticed me with this 'error':
server wrote: *** Connecting to Lighting.Lighting[2.2.2.2].
*** LocOps -- Link denied for Lighting.Lightning([email protected]) (No link block named 'Lighting.Lightning') Lighting.Lighting[@2.2.2.2.0]
And ... I got the same problem if I did a /connect Anime.Anime at the Lighting.Lighting Server.

Could somebody please explain me what to do .. did I miss something ... or forgot something?


Thank you.

With Regards, Nabil a.k.a VegetaSan
Image
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

Hm... I think you have your link pastes backwards, because if those are what you really have, then that means both servers have a link block for themselves (not what you want :P ).
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

You also seem to be using 'Lighting.Lighting' in one place and 'Lighting.Lightning' in the other.
jewles
Posts: 263
Joined: Thu Mar 11, 2004 7:41 pm
Location: Herndon, VA

Post by jewles »

hmmm... suppose all the linking post in here are worthless? not to mention the documentation...

over 50+ post dealing with linking... and a nice How-To
FBSD-DEV Project
http://www.fbsd-dev.org

YatesDev Hosting
http://www.yatesdev.com

The Wrong Way
http://www.thewrongway.net
Winbots
Posts: 65
Joined: Wed Apr 21, 2004 12:26 am
Location: irc://irc.winbots.org/Winbots
Contact:

Post by Winbots »

Server2

Code: Select all

link Anime.Anime { 
   username *; 
   hostname 1.1.1.1; 
   bind-ip *; 
// change to w/e port you want, i am just going to use port 6667
   port 6667; 
   hub *; 
   password-connect "l33t"; 
   password-receive "l33t"; 
   class servers; 
           options {
        autoconnect;
// uncomment the following line for ziplinks
//        zip;
// uncomment the following line for ssl
//        ssl;
        };
}; 
Server1

Code: Select all

link Lighting.Lighting { 
   username *; 
   hostname 2.2.2.2; 
   bind-ip *; 
// assuming both servers have a listen block for port 6667 without the 
// clients only flag
   port 6667; 
   hub *; 
   password-connect "l33t"; 
   password-receive "l33t"; 
   class servers; 
           options {
        autoconnect;
// uncomment the following line for ziplinks
//        zip;
// uncomment the following line for ssl
//        ssl;
        };
}; 
/rehash both servers and they should link perfectly :)
VegetaSan
Posts: 18
Joined: Wed Aug 25, 2004 9:11 am
Location: The Netherlands
Contact:

Post by VegetaSan »

still doesnt work :roll:
server: /connect Lighting.Lighting 6667 at Anime.Anime wrote: *** Notice -- Connection to Lighting.Lighting[2.2.2.2] activated.
*** LocOps -- Link denied for Lighting.Lighting([email protected]) (No link block named 'Lighting.Lighting') Lighting.Lighting[@2.2.2.2.0]
*** LocOps -- Link denied for Lighting.Lighting([email protected]) (No link block named 'Lighting.Lighting') [@2.2.2.2.4978]
server: /connect Anime.Anime 6667 at Lighting.Lighting wrote: *** Notice -- (link) Link Lighting.Lightning -> Anime.Anime[@1.1.1.1.4563] established
*** LocOps -- ERROR :from Anime.Anime[1.1.1.1.139] -- Link denied (No matching link configuration) Lighting.Lighting[@2.2.2.2.0]
*** LocOps -- ERROR :from Anime.Anime[1.1.1.1.139] -- Closing Link: Lighting.Lighting[2.2.2.2] (Link denied (No matching link configuration))
*** LocOps -- Server Anime.Anime[1.1.1.1.139] closed the connection
Anime.Anime: Lighting.Lighting.conf

Code: Select all

link Lighting.Lighting { 
   username *; 
   hostname 2.2.2.2; 
   bind-ip *; 
   port 6667; 
   hub *; 
   password-connect "l33t"; 
   password-receive "l33t"; 
   class servers; 
           options { 
        autoconnect; 
        }; 
}; 
Lighting.Lighting: Anime.Anime.conf

Code: Select all

link Anime.Anime { 
   username *; 
   hostname 1.1.1.1;
   bind-ip *; 
   port 6667; 
   hub *; 
   password-connect "l33t"; 
   password-receive "l33t"; 
   class servers; 
           options { 
        autoconnect; 
        }; 
}; 
Still no success :(
Image
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

From your error messages, I can say that the problem lies on Anime.Anime. What it is exactly, I have no clue. Apparently, Anime.Anime doesn't think your link block for Lighting.Lighting exists. I would suggest run /stats link on that server. If you see a C for your server, then something else might be wrong, but if not, there may be configuration problems (a /* that wasn't closed correctly?) that is preventing it from seeing the link block.
Winbots
Posts: 65
Joined: Wed Apr 21, 2004 12:26 am
Location: irc://irc.winbots.org/Winbots
Contact:

Post by Winbots »

does your server have a address? if so can i see it so i can connect and help you on irc itself?
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Post by katsklaw »

has a /rehash or /restart been done since these changes?
jailmann
Posts: 81
Joined: Wed Apr 28, 2004 9:51 am

Post by jailmann »

Hello

i dont no if you can use this but that help me to link my server up

remember to do /rehash on both serveres when you change conf files



Master Server
---------------------
irc.xx.com
IP:1234


Server 2
-----------
tux.xx.com
IP: 5678

---------------------------------------------

how woukd the linkg then be like i have tried many things but i cant link the 2 serveres


I really shouldn't do this, but I will regardless...

Master Server Config:
link tux.xx.com
{
username *;
hostname 5678;
bind-ip *;
port 4000;
hub *;
password-connect "password";
password-receive "password";
class servers;
options {
autoconnect;
};
};

link irc.xx.com
{
username *;
hostname 1234;
bind-ip *;
port 4000;
hub *;
password-connect "password";
password-receive "password";
class servers;
options {
autoconnect;
};
};
VegetaSan
Posts: 18
Joined: Wed Aug 25, 2004 9:11 am
Location: The Netherlands
Contact:

Post by VegetaSan »

Ggrr. Ok I got it thx all. Stupid mistake in the me::name of Lighting.Lighting
ok. But there is another question.

I want to have this. When someone types /server -m irc.myserver.net

Then he shouldnt get connected to irc.myserver.net. But another server .. that is linked to irc.myserver.net how do I do this ?

just like Rizon has .. and ofcourse other servers too

/server irc.Rizon.net > you wont connect to irc.rizon.net ... but irc.sex0rz.us, irc.hacked.us, or any other server that is linked to irc.Rizon.net.

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

Post by AngryWolf »

It's called round robin DNS, and have been discussed here.
VegetaSan
Posts: 18
Joined: Wed Aug 25, 2004 9:11 am
Location: The Netherlands
Contact:

Post by VegetaSan »

Ah, Thank you all guys for the help. =)
Image
Post Reply