[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ircd.conf newbie help...
Thanks for the input, I'm slowly but surely nailing this down. These
servers are running Linux 2.0.32 The servers are working fine solo, I
just can't get them to connect to each other. Just a few more
questions...
Christophe Kalt wrote:
>
> numeric addresses are only meaningful on the left side, and
> hostnames on the right side, e.g:
>
> I:135.104.26.*::*.research.bell-labs.com:..
>
>From your example, I take it that I line is a match if either numeric or
host field matchs - not required to match both to get a match. I also
take it that the ident result is not "special" in terms of the regular
expression matching - the above line would match both
"host1.research.bell-labs.com" and "bill@xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
> Check example.conf, there are some useful examples.
> If you only have 2 servers, H/L lines are not needed.
relevant lines from Alcatraz ircd.conf:
M:alcatraz.streek.com:209.90.10.2:Stranger Creek IRC Server(2):6667:
Y:1:60:300:50:20000:2:5
C:206.216.33.187:xyz1:rikers.streek.com:6667:1
N:*@206.216.33.187:xyz:rikers.streek.com::1
relevant lines from Rikers ircd.conf:
M:rikers.streek.com:206.216.33.187:Stranger Creek IRC Server:6667:
Y:1:60:300:50:20000:2:5
C:209.90.10.2:xyz:alcatraz.streek.com:6667:1
N:*@209.90.10.2:xyz1:alcatraz.streek.com::1
When both servers are fired up with this config, the following syslog
entries result. I can't figure out why they're trying to connect to
themselves?
Feb 5 10:01:53 alcatraz /usr/local/sbin/ircd[16271]: Failed in
connecting to alcatraz.streek.com[0.0.0.0@.6667] :Transport endpoint is
not connected
Feb 5 10:01:48 rikers /usr/local/sbin/ircd[5935]: Failed in connecting
to rikers.streek.com[0.0.0.0@.6667] :Transport endpoint is not connected
If I telnet into 6667 on one of the servers (from the other server) and
use the "PASS" and "SERVER" commands, I get "no C/N lines defined for
your connection"
The config.h file has been edited to use user "nobody" and group
"nobody"
When I compile without debug set, no errors occur (and the servers work
as expected for clients). When I try to compile with debug defined I
get these errors.
gcc -O2 -m486 -Wall -I. -I../irc -I../common -DCLIENT_COMPILE -c -o
clbsd.o ../c
ommon/bsd.c
../common/bsd.c: In function `deliver_it':
../common/bsd.c:136: too few arguments to function `debug'
../common/bsd.c:163: warning: passing arg 3 of `debug' makes pointer
from intege
r without a cast
../common/bsd.c:163: warning: passing arg 4 of `debug' makes pointer
from intege
r without a cast
../common/bsd.c:163: warning: passing arg 6 of `debug' makes pointer
from intege
r without a cast
../common/bsd.c:163: warning: passing arg 7 of `debug' makes pointer
from intege
r without a cast
../common/bsd.c:163: too few arguments to function `debug'
../common/bsd.c: At top level:
../common/bsd.c:22: warning: `rcsid' defined but not used
make: *** [clbsd.o] Error 1
Thanks again for your help and your patience.
-Jeff