/connect
-
joethomas3000
- Posts: 31
- Joined: Tue Oct 26, 2010 12:36 am
/connect
ok heres another problem,
basically i have both servers up and running;
Rampage = Hub
Madness = Leaf
From Rampage when i do /stats c i get:
C *@72.20.21.111 * madness.ircmadness.net 12312 servers
H rampage.ircmadness.net * madness.ircmadness.net
C *@72.20.21.111 * services.ircmadness.net 12312 servers
H * * services.ircmadness.net
End of /STATS report
From Madness when i do /stats c i get:
C *@72.20.21.111 * rampage.ircmadness.net 12312 servers
H * * rampage.ircmadness.net
C *@72.20.21.111 * services.ircmadness.net 12312 servers
H * * services.ircmadness.net
End of /STATS report
My services are only working on Rampage, and when i try and connect them (from rampage) i get:
-rampage.ircmadness.net- *** Connect: Illegal port number
Both the ports are at 12312 and they are not busy :/
basically i have both servers up and running;
Rampage = Hub
Madness = Leaf
From Rampage when i do /stats c i get:
C *@72.20.21.111 * madness.ircmadness.net 12312 servers
H rampage.ircmadness.net * madness.ircmadness.net
C *@72.20.21.111 * services.ircmadness.net 12312 servers
H * * services.ircmadness.net
End of /STATS report
From Madness when i do /stats c i get:
C *@72.20.21.111 * rampage.ircmadness.net 12312 servers
H * * rampage.ircmadness.net
C *@72.20.21.111 * services.ircmadness.net 12312 servers
H * * services.ircmadness.net
End of /STATS report
My services are only working on Rampage, and when i try and connect them (from rampage) i get:
-rampage.ircmadness.net- *** Connect: Illegal port number
Both the ports are at 12312 and they are not busy :/
Re: /connect
You cant have BOTH server's listening on the SAME IP and SAME port on the SAME server.
You must use either a DIFFERENT port or a DIFFERENT IP.
You must use either a DIFFERENT port or a DIFFERENT IP.
Your IP: 
Your Country:

Your Country:

-
joethomas3000
- Posts: 31
- Joined: Tue Oct 26, 2010 12:36 am
Re: /connect
Ive changed 1 port to 32132 and the other is 12312, they both rehash fine and then on connect its still the same error!
Re: /connect
Can you show me the listen blocks and link blocks from BOTH servers please?
Your IP: 
Your Country:

Your Country:

-
joethomas3000
- Posts: 31
- Joined: Tue Oct 26, 2010 12:36 am
Re: /connect
Hub (Rampage)
Leaf (Madness)
Edit: Added listen blocks, sorry just got up and i cant see propper 
Code: Select all
link madness.ircmadness.net {
username *;
hostname 72.20.21.111;
bind-ip *;
port 32132;
password-connect xxxxxxx;
password-receive xxxxxxx;
hub rampage.ircmadness.net;
class servers;
};Code: Select all
listen 72.20.21.111:12312;Code: Select all
link rampage.ircmadness.net {
username *;
hostname 72.20.21.111;
bind-ip 216.18.189.253;
port 12312;
password-connect xxxxxxx;
password-receive xxxxxxx;
hub *;
class servers;
};Code: Select all
listen 216.18.189.253:32132;Re: /connect
Forgive me if this is obvious, but if madness binds to 216.18.189.253, why does rampage have 72.20.21.111 for madness' IP in the link block?
Also can you show me the EXACT /connect command you're using? Because upon reviewing the source, the error message you quoted in your original post only occurs if you supply the port number to /connect. (I really should have checked that sooner sorry)
Also can you show me the EXACT /connect command you're using? Because upon reviewing the source, the error message you quoted in your original post only occurs if you supply the port number to /connect. (I really should have checked that sooner sorry)
Your IP: 
Your Country:

Your Country:

-
joethomas3000
- Posts: 31
- Joined: Tue Oct 26, 2010 12:36 am
Re: /connect
hi,
i got told off someone to do it like that, im not really good with links blocks
edit: i am doing /quote connect madness.ircmadness.net rampage.ircmadness.net
i got told off someone to do it like that, im not really good with links blocks
edit: i am doing /quote connect madness.ircmadness.net rampage.ircmadness.net
Re: /connect
There's the problem, the CORRECT syntax for /connect is:
/connect <servertoconnectto> [<port> [<remoteservertoconnectfrom>]]
If the server you want to connect from is the server YOU are connected to then it does not need to be included.
As for the link block, "hostname" should be the IP or hostname the server the link block is for connects from.
/connect <servertoconnectto> [<port> [<remoteservertoconnectfrom>]]
If the server you want to connect from is the server YOU are connected to then it does not need to be included.
As for the link block, "hostname" should be the IP or hostname the server the link block is for connects from.
Your IP: 
Your Country:

Your Country:

-
joethomas3000
- Posts: 31
- Joined: Tue Oct 26, 2010 12:36 am
Re: /connect
hmm, thanks for that but when i try and connect i get the error "No Such Server"
/connect 216.18.189.253 [32132 [72.20.21.111]]
/connect madness.ircmadness.net [32132 [rampage.ircmadness.net]]
Both have the same error
/connect 216.18.189.253 [32132 [72.20.21.111]]
/connect madness.ircmadness.net [32132 [rampage.ircmadness.net]]
Both have the same error
Re: /connect
Look at the listen blocks, the port's are transposed. that means the port in the link block must match the port in the listen block. How can you expect a connection on a port we aren't listening to?
Also, /connect can use wildcards. It seems to me you took Jobe's syntax literally. From madness try /connect ram*
The serv2 port serv3 syntax is mainly for connecting if you are on serv1 and connecting 2 servers remotely, if you are on one of the 2 servers being connected there is no need to do more than /connect server or /connect server port
You also have 2 different IP's in rampage's link block, I told you before to set the bind-ip to * on all servers.
on rampage:
on madness:
In the servers class block add:
Edit rampage first, then /rehash. Edit madness second, then /rehash. Madness will then autoconnect to rampage. The connfreq is how often to try a connection if the auto connecting server is not connected. in this case every 1 minute and 40 seconds madnesss will try to connect to rampage if it's not already connected.
Note about autoconnect. Autoconnect is optional, but if used it's expected for leafs to autoconnect to their respective hubs. This is not required and autoconnecting hubs to leafs will work, just not standard practice.
Also, /connect can use wildcards. It seems to me you took Jobe's syntax literally. From madness try /connect ram*
The serv2 port serv3 syntax is mainly for connecting if you are on serv1 and connecting 2 servers remotely, if you are on one of the 2 servers being connected there is no need to do more than /connect server or /connect server port
You also have 2 different IP's in rampage's link block, I told you before to set the bind-ip to * on all servers.
on rampage:
Code: Select all
link madness.ircmadness.net {
username *;
hostname 72.20.21.111;
bind-ip *;
port 4400;
password-connect "xxxxxxx";
password-receive "xxxxxxx";
class servers;
};
Code: Select all
listen 216.18.189.253:4400;Code: Select all
link rampage.ircmadness.net {
username *;
hostname 216.18.189.253;
bind-ip *;
port 4400;
password-connect "xxxxxxx";
password-receive "xxxxxxx";
hub *;
class servers;
options {
autoconnect;
};
};
Code: Select all
listen 72.20.21.111:4400;Code: Select all
connfreq 100; /* How many seconds between each connection attempt */Note about autoconnect. Autoconnect is optional, but if used it's expected for leafs to autoconnect to their respective hubs. This is not required and autoconnecting hubs to leafs will work, just not standard practice.
Configuration - https://www.unrealircd.org/docs/Configuration
FAQ - https://www.unrealircd.org/docs/FAQ
FAQ - https://www.unrealircd.org/docs/FAQ
-
joethomas3000
- Posts: 31
- Joined: Tue Oct 26, 2010 12:36 am
Re: /connect
Ive done as you have said and i get the following error on rehash
-rampage.ircmadness.net- Error binding stream socket to IP 216.18.189.153 port 4400 - rampage.ircmadness.net[216.18.189.153.4400]:Can't assign requested address
-rampage.ircmadness.net- Error binding stream socket to IP 216.18.189.153 port 4400 - rampage.ircmadness.net[216.18.189.153.4400]:Can't assign requested address
Re: /connect
that means something else is using port 4400, try 4500 for everything.
Configuration - https://www.unrealircd.org/docs/Configuration
FAQ - https://www.unrealircd.org/docs/FAQ
FAQ - https://www.unrealircd.org/docs/FAQ
-
joethomas3000
- Posts: 31
- Joined: Tue Oct 26, 2010 12:36 am
Re: /connect
ive found a port that only i am using,
now i have this error when doing /connect mad*
-rampage.ircmadness.net- *** LocOps -- ERROR :from madness.ircmadness.net[72.20.21.111] -- Link denied (No matching link configuration) [@72.20.21.111.58059]
-
-rampage.ircmadness.net- *** LocOps -- ERROR :from madness.ircmadness.net[72.20.21.111] -- Closing Link: [72.20.21.111] (Link denied (No matching link configuration))
-
-rampage.ircmadness.net- *** LocOps -- Server madness.ircmadness.net[72.20.21.111] closed the connection
now i have this error when doing /connect mad*
-rampage.ircmadness.net- *** LocOps -- ERROR :from madness.ircmadness.net[72.20.21.111] -- Link denied (No matching link configuration) [@72.20.21.111.58059]
-
-rampage.ircmadness.net- *** LocOps -- ERROR :from madness.ircmadness.net[72.20.21.111] -- Closing Link: [72.20.21.111] (Link denied (No matching link configuration))
-
-rampage.ircmadness.net- *** LocOps -- Server madness.ircmadness.net[72.20.21.111] closed the connection
Re: /connect
did you /rehash after editing unrealircd.conf?
Configuration - https://www.unrealircd.org/docs/Configuration
FAQ - https://www.unrealircd.org/docs/FAQ
FAQ - https://www.unrealircd.org/docs/FAQ