Anope IRC Services

Anope Support => 2.0.x/1.9.x Support => Topic started by: Ashsyn on February 19, 2014, 09:25:28 PM

Title: SQLINE BotServ: Reserved for services
Post by: Ashsyn on February 19, 2014, 09:25:28 PM
Good evening, after days of searching on google, I still can not correct the following error:

Code: [Select]
[Feb 19 21:46:02.206184 2014] USERS: BotServ services@services.pwetzorz.fr is now an IRC operator!.
[Feb 19 21:46:02.206226 2014] USERS: ChanServ is now services@services.pwetzorz.fr operator IRC year!.
[Feb 19 21:46:02.206261 2014] USERS: Global services@services.pwetzorz.fr IRC operator is now year!.
[Feb 19 21:46:02.206297 2014] USERS: HostServ services@services.pwetzorz.fr IRC operator is now year!.
[Feb 19 21:46:02.206330 2014] USERS: MemoServ services@services.pwetzorz.fr IRC operator is now year!.
[Feb 19 21:46:02.206364 2014] USERS: NickServ services@services.pwetzorz.fr IRC operator is now year!.
[Feb 19 21:46:02.206397 2014] USERS: OperServ services@services.pwetzorz.fr IRC operator is now year!.
[Feb 19 21:46:02.206453 2014] debug: Sent :: services.pwetzorz.fr SQLINE BotServ: Reserved for services

Waiting for a hand to pull me off of this problem
Thanks
Title: Re: SQLINE BotServ: Reserved for services
Post by: LEthaLity on February 19, 2014, 11:13:17 PM
What IRCd is this? Is services ulined correctly? and is it saying anything more than what you've pasted, such as an actual error.
Title: Re: SQLINE BotServ: Reserved for services
Post by: Ashsyn on February 20, 2014, 06:34:18 PM
Thank's for your answer,

I use Unrealircd 3.2.10.2 and Anope 2.0.0-RC3.

I think to have a ulined correctly because he uplink..but after restarting my server now, " Unable to connect to uplink #1 (services.pwetzorz.fr:6667): Connection refused".

UnrealIRCD

Code: [Select]
link services.pwetzorz.fr {
username *;
hostname 127.0.0.1;
bind-ip *;
port 6667;
hub *;
password-connect "XXX";
password-receive "XXX";
class servers;
options {
      };
};

ulines {
        services.pwetzorz.fr;
        stats.pwetzorz.fr;
};

Anope

Code: [Select]
uplink
{
 host = "services.pwetzorz.fr"
 port = 6667
 password = "XXX"
}
Title: Re: SQLINE BotServ: Reserved for services
Post by: John on February 20, 2014, 11:59:42 PM
It's not a good idea to bind services.* to use 6667 port, this is a port that's meant for a user. Try selecting a port that's much higher and in a range that is not allocated to an application or interface. Something from 52,000 to 65,000 would do the trick.
Title: Re: SQLINE BotServ: Reserved for services
Post by: katsklaw on February 21, 2014, 01:25:45 AM
It's not a good idea to bind services.* to use 6667 port ....

Why exactly is it a bad idea? Please be technical.
Title: Re: SQLINE BotServ: Reserved for services
Post by: John on February 22, 2014, 11:20:15 PM
Why exactly is it a bad idea? Please be technical.

Linking on a user port? I thought that was obvious, why it is a bad idea.
Title: Re: SQLINE BotServ: Reserved for services
Post by: katsklaw on February 23, 2014, 01:36:39 AM
Linking on a user port? I thought that was obvious, why it is a bad idea.

Lol, there is nothing bad about it. Services connecting to port 6667 is just as secure as it is connecting on 16667. A port is a port, all 65535 of them are exactly the same although some are reserved for root users only but port 1 is not different than port 65535. :)

Ports are nothing more than pre-arranged meeting places for servers or servers and clients to meet to establish a connection, nothing more. Ports allow multiple servers and services to use the same IP but listen for different protocols. For example port 80is where you go to see web pages and port 21 is where you go to ftp. Imagine FTPing to port 80, the webserver wouldn't understand your ftp client because it doesn't speak the same protocol as ftp doss and vice versa.

If you want to know more, let's chat in private so we aren't hijacking a thread.

Ciao.
Title: Re: SQLINE BotServ: Reserved for services
Post by: Ashsyn on February 23, 2014, 12:57:37 PM
Thank's all for your answer, so, i need to change my port for my problem ?

In debug mode ./services -support

I'have a new line

Code: [Select]
[Feb 23 14:50:58.319204 2014] SERVER: hub.pwetzorz.fr (IRC by Ashsyn) has connected to the network (uplinked to services.pwetzorz.fr)
[Feb 23 14:50:58.319248 2014] SERVER: services.pwetzorz.fr (Services Pwetzorz by Ashsyn) introduced hub.pwetzorz.fr
[Feb 23 14:50:58.319796 2014] USERS: BotServ!services@services.pwetzorz.fr is now an IRC operator.

#This ligne in bot
[Feb 23 14:50:58.320056 2014] Debug: Setting +o on #services for BotServ

[Feb 23 14:50:58.321014 2014] USERS: ChanServ!services@services.pwetzorz.fr is now an IRC operator.
[Feb 23 14:50:58.321055 2014] USERS: Global!services@services.pwetzorz.fr is now an IRC operator.
[Feb 23 14:50:58.321101 2014] USERS: HostServ!services@services.pwetzorz.fr is now an IRC operator.
[Feb 23 14:50:58.321142 2014] USERS: MemoServ!services@services.pwetzorz.fr is now an IRC operator.
[Feb 23 14:50:58.321175 2014] USERS: NickServ!services@services.pwetzorz.fr is now an IRC operator.
[Feb 23 14:50:58.321209 2014] USERS: OperServ!services@services.pwetzorz.fr is now an IRC operator.
[Feb 23 14:50:58.321358 2014] Debug: Sent: :services.pwetzorz.fr SQLINE BotServ :Reserved for services
Erreur de segmentation

Is good ?
Code: [Select]
grep "services.pwetzorz.fr" -R
services.conf:  value = "services.pwetzorz.fr"
services.conf: host = "services.pwetzorz.fr"
services.conf:  name = "services.pwetzorz.fr"
services.conf:  #localhost = "services.pwetzorz.fr"
services.conf:  networkname = "services.pwetzorz.fr"
services.conf:  ulineservers = "stats.pwetzorz.fr services.pwetzorz.fr"
services.conf:  sendfrom = "services@pwetzorz.fr"

I dont understand...  :(