|
|
| Author |
Message |
LIQUID_NiTrO none

Joined: 06 Apr 2004 Posts: 34
|
Posted: Jun 04, 2004 5:09pm Post subject: OperServ RAW command and hub servers |
|
|
ok, I've got 2 newbish questions for you today.
1) Always I ask people and get the same response: "Everyone tells me this OperServ raw command is highly destructive and easily misused, so why does it exist and what are the reasons you WOULD use it?" and they always say "If you do not know how to use the OperServ raw command then you should stay away from it" which doesn't answer my question. I just hope I don't get that same response here
2) OK, so I added this server, test.sillynet.com to the link block in unrealircd.conf. If I don't have my main server defined in the link blocks in the same manner as the test server, then I get this message when I try to /connect it:
| Quote: | -irc.sillynet.com- *** Connecting to test.sillynet.com[127.0.0.1].
-
-irc.sillynet.com- *** LocOps -- Link denied for irc.sillynet.com(unknown@127.0.0.1) (No link block named 'irc.sillynet.com') [@127.0.0.1.3273]
-
-irc.sillynet.com- *** LocOps -- ERROR :from test.sillynet.com[127.0.0.1] -- Link denied (No matching link configuration) [@127.0.0.1.3273]
-
-irc.sillynet.com- *** LocOps -- ERROR :from test.sillynet.com[127.0.0.1] -- Closing Link: [127.0.0.1] (Link denied (No matching link configuration))
-
-irc.sillynet.com- *** LocOps -- Server test.sillynet.com[127.0.0.1] closed the connection |
And if I DO add my main server to the link block in the same manner as the test server, then I get this message:
| Quote: | -irc.sillynet.com- *** Connecting to test.sillynet.com[127.0.0.1].
-
-irc.sillynet.com- *** Notice -- Link [@127.0.0.1.3350] cancelled, server irc.sillynet.com already exists from irc.sillynet.com
-
-irc.sillynet.com- *** LocOps -- ERROR :from test.sillynet.com[127.0.0.1] -- Server irc.sillynet.com already exists from irc.sillynet.com
-
-irc.sillynet.com- *** LocOps -- ERROR :from test.sillynet.com[127.0.0.1] -- Closing Link: [127.0.0.1] (Server Exists)
-
-irc.sillynet.com- *** LocOps -- Server test.sillynet.com[127.0.0.1] closed the connection |
What am I doing wrong and how do I work this command? |
|
| Back to top |
|
 |
uchat Idler

Joined: 17 Mar 2004 Posts: 335
|
Posted: Jun 04, 2004 6:11pm Post subject: |
|
|
1> RAW sends data from a U:Lined server to the network. Meaning you can do nearly ANYTHING. Some of the nicer things, yet still arguably unethical, include force users to join channels, nick changes ... and even trick Services into thinking that some other user requested information (kinda like the INJECT command).
2> Link denied (No matching link configuration) [@127.0.0.1.3273] - means the link block or C/N:lines don't match.
3>Server irc.sillynet.com already exists from irc.sillynet.com - Server is already present on the network via a normal link or JUPE. |
|
| Back to top |
|
 |
zeke Idler

Joined: 04 Oct 2003 Posts: 295
|
Posted: Jun 04, 2004 11:10pm Post subject: |
|
|
| Quote: | | -irc.sillynet.com- *** Notice -- Link [@127.0.0.1.3350] cancelled, server irc.sillynet.com already exists from irc.sillynet.com |
^ kinda redundant?
example link between two servers on the same server with one ip (why you would want to, who knows, but oh well )
on irc.sillynet.com:
| Code: | link test.sillynet.com {
username *;
hostname 127.0.0.1;
bind-ip 192.168.1.101;
port 7646;
hub *;
password-connect "p4ssw0rd";
password-receive "p4ssw0rd";
class servers;
};
listen 192.168.1.101:7646; |
on test.sillynet.com:
| Code: | link irc.sillynet.com {
username *;
hostname 192.168.1.101;
bind-ip 127.0.0.1;
port 7646;
hub *;
password-connect "p4ssw0rd";
password-receive "p4ssw0rd";
class servers;
};
listen 127.0.0.1:7646; |
I haven't checked, this works when im connecting 2 ircd's on one external ip...as long as i got the link blocks right
note also, in this case, 192.168.1.101 needs to be replaced with your external ip address
any questions? |
|
| Back to top |
|
 |
LIQUID_NiTrO none

Joined: 06 Apr 2004 Posts: 34
|
Posted: Jun 08, 2004 1:09pm Post subject: |
|
|
Just one...
How do services connect to the services server if you have to have 2 IRCds configured to link each other and bind-ip is * and blah blah blah? |
|
| Back to top |
|
 |
uchat Idler

Joined: 17 Mar 2004 Posts: 335
|
Posted: Jun 08, 2004 6:23pm Post subject: |
|
|
| Services *IS* a server ... it links to your net exactlly like a regular server. The difference between Services and a IRCd is clients can't connect to services and the *Serv bots have more access to the network because of the U:Line/block. |
|
| Back to top |
|
 |
|