mIRC Home    About    Download    Register    News    Help

Print Thread
#71146 12/02/04 02:51 PM
Joined: Jan 2004
Posts: 19
L
Pikka bird
OP Offline
Pikka bird
L
Joined: Jan 2004
Posts: 19
I am not sure if I have posted this in the correct board. If I haven't please accept my apoligies. I mean no harm. The other day me and tomato king (a member of this forum) where discussing some issues about IRC servers on AIM. I just wanted to clear some issues and learn more about this. I hope that some of you can help me.

My question and queries are based on the names of servers and their locations. Let's try an example.

dallas.server.com
london.server.com

1. Now they all connect to the IRC server "server.com" except they are located in different areas correct?

2. If they are located in different areas how exactly do they share information. I remember tomato king did some minor explaining to me. He was really nice but I still failed to understand it.

3. He said that the servers often share information every 24 hours or so. What about nickserv chanserv etc. And even chatting. When I type does the server relay that to other users on another location of the server. EG I am on dallas, does london read my text I sent.

4. How much does this type of operation and set up cost?

5. Are there any problems and issues. What type of software is required. Is it really hard and is it recommended. I have seen quite a few servers use this method.

6. When connecting to a server it is best to connect to one closer to your location right?

Sorry for the long post but I normally try to do everything in one major go.

~ Enjoy your day

#71147 12/02/04 03:36 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Quote:
1. Now they all connect to the IRC server "server.com" except they are located in different areas correct?

No. The two servers both have hostnames which happen to be subdomains of server.com (ie. something.server.com), but that does not in any way mean that they connect to a server using the hostname server.com (although the owners must have some affiliation with it to be using a subdomain). To answer the second part of that sentence: yes, they could very well be in different locations.


Quote:
2. If they are located in different areas how exactly do they share information. I remember tomato king did some minor explaining to me. He was really nice but I still failed to understand it.

They are connected to each other, in basically the same way that you or I or any other client would connect to one of those servers. The difference being that both servers have been specifically configured to treat certain connections (identified usually with a password and sometimes accepted only from certain domains or IP addresses) as servers, which means they allow certain commands that would be ignored if an ordinary client connection sent them.


Quote:
3. He said that the servers often share information every 24 hours or so. What about nickserv chanserv etc. And even chatting. When I type does the server relay that to other users on another location of the server. EG I am on dallas, does london read my text I sent.

I don't know anything about sharing information every 24 hours, AFAIK all information is shared in real-time, but then again I haven't been a network administrator on a *real* IRC network before so I couldn't say for sure that tehre isn't some information that gets sent only at certain intervals. Nickserv, Chanserv, and any other services bots are just users (often connected to their own separate server) that have certain flags set so that they can 'see' what's happening in all channels, and can do other things that regular connections cannot. As for your text, it is only seen by servers which it has to pass to/through in order to be sent to everyone you want it to be sent to. For example:
Let's say there are four servers named A, B, C, and D connected like this:
A[color:green]--B--C--D[/color]
Let's say you're connected to server A, and you're on a channel with two other users: 'Joe' connected to A, and 'Arnie' connected to C.
If you send a message to the channel it will be sent to A first of all (since that's where you're connected), relayed back to Joe since he's also on A, and also sent through B to C, which is where Arnie is. However D will never see the message. The same thing happens with private messages; it will only be sent to the servers which have to see it in order for all targets of the message to receive it.


Quote:
4. How much does this type of operation and set up cost?

It depends. If you're only running a small server or network with perhaps just 50 or less regular users you might get away with using your home connection as a server (assuming you have a static IP and broadband). If you're planning on hundreds or perhaps thousands of users then you'll need to get hosting which supports IRCds. I don't know the pricing offhand, but I do know it can get very expensive.


Quote:
5. Are there any problems and issues. What type of software is required. Is it really hard and is it recommended. I have seen quite a few servers use this method.

The only software required is an IRCd, many of which are completely free. Services are usually separate, but are often free also. Hard? Depends on your level of experience/knowledge of networks, both with IRC and in general. Recommended? Only if you're willing to put in time and probably money with little chance of getting much in the way of thanks. Not sure what you mean by 'method'.


Quote:
6. When connecting to a server it is best to connect to one closer to your location right?

Yes, it usually is. However if you connect to a local one and it seems lagged you can always try one further away to see it it's better. Typically you'll get a decent enough connection with any IRC server anywhere in the world anyway, it's just 'better' to use one closer to home if possible.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
#71148 12/02/04 03:38 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Actually I think he meant that he and KingTomato were both on AIM, discussing IRC servers. wink


Spelling mistakes, grammatical errors, and stupid comments are intentional.
#71149 12/02/04 03:42 PM
Joined: Dec 2003
Posts: 219
F
Fjord artisan
Offline
Fjord artisan
F
Joined: Dec 2003
Posts: 219
Yep I was totally wrong, just deleted my post :P
You didn't see anything ok? hehehe

#71150 13/02/04 01:52 PM
Joined: Dec 2002
Posts: 3,127
P
Hoopy frood
Offline
Hoopy frood
P
Joined: Dec 2002
Posts: 3,127
in addition to starbucks helpful into, links that may help you understand a bit more:
http://www.mirc.com/ircintro.html
http://www.mirc.com/links.html
http://docs.dal.net/docs/netsplits.html

re servers sharing info every so often, i think perhaps he meant that the servers and services bots like nickserv "sync" (synchronize) on a regular basis to communicate/update info to each other, but that doesnt effect chatting.


ParaBrat @#mIRCAide DALnet
#71151 14/02/04 05:29 AM
Joined: Jan 2004
Posts: 19
L
Pikka bird
OP Offline
Pikka bird
L
Joined: Jan 2004
Posts: 19
I would like to thank everyone who posted and helped me in this matter. God bless smile

#71152 14/02/04 05:31 AM
Joined: Dec 2002
Posts: 3,127
P
Hoopy frood
Offline
Hoopy frood
P
Joined: Dec 2002
Posts: 3,127
you're welcome, we're glad to help smile


ParaBrat @#mIRCAide DALnet
#71153 18/02/04 09:21 AM
Joined: Jan 2003
Posts: 1,063
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2003
Posts: 1,063
services run on 1 machine only. you can make a backup but all I know is that there is always 1 machine running (at least) 1 IRCd and 1 Services Deamon (if the IRC network is running services)

services are nothing more then bots with IRC-oper rights really... all using the same database

Code:
[18th?10:17:22] » (MAP) <*********> palm.irc.*********.net               (Users:   32)  (33%) [*********link6.15.2]
[18th?10:17:22] » (MAP) <*********> |-lefruitdemonde.irc.*********.net   (Users:    4)  ( 4%) [*********link6.15.2]
[18th?10:17:22] » (MAP) <*********> |-grolsch.irc.*********.net          (Users:   23)  (24%) [*********link6.15.2]
[18th?10:17:22] » (MAP) <*********> `-kriek.irc.*********.net            (Users:   30)  (31%) [*********link6.15.2]
[18th?10:17:22] » (MAP) <*********>   `-brouwerij.*********.net          (Users:    6)  ( 6%) [PTlink.Services2.21.3]


as you can see on this /map there are 4 IRCd's, running on 4 different machines, on 1 (kriek) the services are also running (in this case it's nickserv/chanserv/the rest).

this means if kriek would split the services will be on the other side of the split if your not on kriek, and can't be reached untill relinked.

servers communicate realtime with eachother, and there is only 1 services deamon so that doesn't have to sync it's data


If it ain't broken, don't fix it!
#71154 19/02/04 10:54 AM
Joined: Jan 2004
Posts: 19
L
Pikka bird
OP Offline
Pikka bird
L
Joined: Jan 2004
Posts: 19
Sorry but I do not follow.

#71155 19/02/04 10:57 AM
Joined: Jan 2004
Posts: 19
L
Pikka bird
OP Offline
Pikka bird
L
Joined: Jan 2004
Posts: 19
I actually wanted to try and make a small very simple server to learn off. Just wanted to test a few things. IRC and mIRC interest me quite a tad. Thanks for helping however I would appreciate as much help as I can get on these matters.


Link Copied to Clipboard