IRCSERVICES - Invalide Link!

The UnrealIRCd team does not officially provide support for any services packages that you may be using or want to use. This forum is provided so the community can help each other with services issues.

Moderator: Supporters

Locked
d22552000
Posts: 6
Joined: Mon Nov 12, 2007 6:39 am

IRCSERVICES - Invalide Link!

Post by d22552000 »

Code: Select all

[Nov 11 23:53:04 2007] IRC Services 5.1pre5 starting up
[Nov 11 23:53:05 2007] (httpd/main) Listening on 127.0.0.1:81
[Nov 11 23:53:06 2007] unknown message from server (ERROR :Link denied (No matching link configuration) [@192.168.1.1.4511])
[Nov 11 23:53:06 2007] unknown message from server (ERROR :Closing Link: [192.168.1.1] (Link denied (No matching link configuration)))
[Nov 11 23:53:06 2007] Read error from server: Connection reset by peer
Ya, I got that. My config... IRCSERVICES.CONF:

Code: Select all

RemoteServer    damon.zapto.org 6667 "PASSWORD"
UNREALIRCD.CONF:

Code: Select all

#stuff...

link              damon.zapto.org
{
   username *;
   hostname damon.zapto.org;
   bind-ip *;
   port 7000;
   password-connect PASSWORD;
   password-receive PASSWORD;
   hub *;
   class          servers;
};

#stuff...

set {
    network-name         "damon.zapto.org";
    default-server         "damon.zapto.org";
    services-server     "damon.zapto.org";
    stats-server         "damon.zapto.org";
    help-channel         "#help";

#stuff...
WHY WON'T IT WORK!?
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: IRCSERVICES - Invalide Link!

Post by Jobe »

"hostname" should be the reverse host of the IP that Unreal sees services connect from OR the IP that Unreal sees services connect from. In this case unless 192.168.1.1 resolves to damon.zapto.org you should use "192.168.1.1" for hostname.

Also looking at your config I have this strange feeling you called the IRCd damon.zapto.org in the me {}; block AND used the same for services name in services config. You will need to change one of these and any associated values.
Your IP: Image
Your Country: Image
d22552000
Posts: 6
Joined: Mon Nov 12, 2007 6:39 am

Re: IRCSERVICES - Invalide Link!

Post by d22552000 »

yes its damon.zapto.org in the me block.

so ,, my me can't be my services!?

Can I connect to my services using localhost to stop it from conflicting with my my block? cause then all of my configs could happily say localhost or 127.0.0.1 (192.168.1.3 inside IP) without getting the stupid loopback ip (192.168.1.1 fake)...

Please help me out..
d22552000
Posts: 6
Joined: Mon Nov 12, 2007 6:39 am

Re: IRCSERVICES - Invalide Link!

Post by d22552000 »

Code: Select all

RemoteServer    localhost 6667 "PASSWORD"
#LocalAddress    host.name.here 6677

ServerName      "damon.zapto.org"
ServerDesc      "Services for IRC Networks"
ServiceUser     "[email protected]"
ok thats my ircservices.conf now...
and my unreal.conf is:

Code: Select all

me
{
    name "damon.zapto.org";
    info "Damon IRC Server";
    numeric 1;
};

allow {
    ip             *@*;
    hostname       *@*;
    class           clients;
    maxperip 5;
};

oper Damon {
    class           clients;
    from {
        userhost [email protected];
    };
    password "******";
    flags
    {
        netadmin;
        can_zline;
        can_gzline;
        can_gkline;
	can_rehash;
	can_restart;
	can_localnotice;
	can_globalnotice;
	can_die;
        global;
    };
};

listen         *:6697
{
    options
    {
        clientsonly;
    };
};

listen         *:8067;
listen         *:6667;

link              localhost
{
   username *;
   hostname localhost;
   bind-ip *;
   port 7000;
   password-connect PASSWORD;
   password-receive PASSWORD;
   hub *;
   class          servers;
};

ulines {
    127.0.0.1;
    localhost;
    damon.zapto.org;
};

And now when I run IRCSERVICES I get ircservices.log:

Code: Select all

[Nov 12 11:25:58 2007] IRC Services 5.1pre5 starting up
[Nov 12 11:25:59 2007] (httpd/main) Listening on 127.0.0.1:81
[Nov 12 11:26:00 2007] unknown message from server (ERROR :Link denied (No matching link configuration) [@127.0.0.1.4908])
[Nov 12 11:26:00 2007] unknown message from server (ERROR :Closing Link: [127.0.0.1] (Link denied (No matching link configuration)))
[Nov 12 11:26:00 2007] Read error from server: Connection reset by peer
I go into my irc server and type /oper and get:

Code: Select all

OPER not enough parameters
No O-Lines for your host
For the second error I type "/oper [email protected] ******" What is the proper syntax? (I googled it to no avail)

... My WHOIS gives me "[email protected]" should I add that to the conf as an admin? I notice when I join any channel in my server I get auto @. But If I do HOP I lose it and go back to an unvoiced bastard.
Locked