Linking Problem

These are old archives. They are kept for historic purposes only.
Post Reply
intricatic
Posts: 4
Joined: Wed Jul 02, 2008 3:52 am

Linking Problem

Post by intricatic »

When linking two servers, I get:

-XX.XXX.XX.XXX- error binding to local port for irc.xxxxxxxx.org[xxxxxxxx.org]:Can't assign requested address

The first server is running FreeBSD, and the other is running Gentoo. I have had no problems connecting the second server (on Gentoo) to services server, but the FreeBSD server refuses to connect for some reason. :?:

I also have no problem connecting remotely to either server, and have verified that no process is using the port set aside for the connection.
T-rexke
Posts: 147
Joined: Sat Mar 18, 2006 4:37 pm

Re: Linking Problem

Post by T-rexke »

post some logs and check your link blocks again
intricatic
Posts: 4
Joined: Wed Jul 02, 2008 3:52 am

Re: Linking Problem

Post by intricatic »

Logs say the same thing. I tried swapping the tld with just the IP on each side, server 1 set as hub, server 2 set as leaf - that worked when I ran into problems about a year ago with a similar setup, but it's not working now. I think FreeBSD has a firewall installed by default (or at least does on my box) which limits connectivity on the port 7059, which I'm using for the connection. I'm not sure how to get around that, though.
intricatic
Posts: 4
Joined: Wed Jul 02, 2008 3:52 am

Re: Linking Problem

Post by intricatic »

Lemme restate that: the second server (one on FreeBSD) is my own server, physically at my house. I've been experimenting with FreeBSD, but I'm not used to ipfw yet. Whenever I attempt a connection, I see on the LCD on my desk that the packet filter is blocking the port - I only just noticed this as I normally have the monitor turned off since I can just SSH into it and i have a really lousy keyboard attached to it, haha. So I've determined the link is working, theoretically, it just isn't getting past the firewall.

Anyone know anything about FreeBSD who can lend a hand? If it was iptables, I could fix it in a second, but this firewall just makes no sense to me.
CCCC
Posts: 6
Joined: Fri Jul 18, 2008 11:51 pm

Re: Linking Problem

Post by CCCC »

I have this problem with linking two servers:

This is HUB settings:
link irc.mydomain.com {
username *;
hostname IRCD IP;
bind-ip *;
port 12345;
leaf *;
password-connect "********";
password-receive "********";
class servers;
options {
autoconnect;
ssl;
};
};


This is IRCD setings:

link hub.mydomain.com {
username *;
hostname HUB IP;
bind-ip *;
port 12345;
hub *;
password-connect "********";
password-receive "********";
class servers;
options {
autoconnect;
ssl;
};
};

And when I rehash my servers this is message:

-hub.mydomain.com- *** Notice -- Connection to irc.mydomain.com[IRCD IP] activated.

-hub.mydomain.com- *** Notice -- No response from irc.mydomain.com[IRCD IP], closing link

In me section numeric is for the HUB 1 and for IRCD 2
Where could be a problem, anyone could help ?
I have restarted both servers
[dx]
Posts: 107
Joined: Sat Jun 16, 2007 1:03 am

Re: Linking Problem

Post by [dx] »

CCCC wrote:I have this problem with linking two servers:

This is HUB settings:
link irc.mydomain.com {
username *;
hostname IRCD IP;
bind-ip *;
port 12345;
leaf *;
password-connect "********";
password-receive "********";
class servers;
options {
autoconnect;
ssl;
};
};


This is IRCD setings:

link hub.mydomain.com {
username *;
hostname HUB IP;
bind-ip *;
port 12345;
hub *;
password-connect "********";
password-receive "********";
class servers;
options {
autoconnect;
ssl;
};
};

And when I rehash my servers this is message:

-hub.mydomain.com- *** Notice -- Connection to irc.mydomain.com[IRCD IP] activated.

-hub.mydomain.com- *** Notice -- No response from irc.mydomain.com[IRCD IP], closing link

In me section numeric is for the HUB 1 and for IRCD 2
Where could be a problem, anyone could help ?
I have restarted both servers
Check both link informations, IPs, Ports, Passwds, And try without SSL option
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: Linking Problem

Post by Jobe »

Also make sure you have a listen block WITHOUT the clientsonly option for the port you put in the link blocks. The listen block MUST be on both servers.
Your IP: Image
Your Country: Image
Post Reply