Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  


Pages: 1 ... 8 9 [10]
 on: October 27, 2022, 10:38:52 AM 
Started by Josh - Last post by Josh
Hi Rene,

I forgot to configure the Services.conf part indeed.
I thought that I was getting to old for this  ;D
It's working like it should be now.

Thank you very much for helping me out.

Greets WorldAxis.

 on: October 26, 2022, 01:21:03 AM 
Started by Josh - Last post by Rene
Hello and Nice to meet you?
Are You sure that you configure your Ircd and Services correctly you must enable this option in the operserv.example.conf of anope...

Here are Examle of configs that you must setup:
After it do a restart of all and try again.

Unrealircd.conf section OperBlock:

Code: [Select]
oper Youroper {
class opers;
mask *@*;
password "yourpass";
/* Oper permissions are defined in an 'operclass' block.
* See
* UnrealIRCd ships with a number of default blocks, see
* the article for a full list. We choose 'netadmin' here.
operclass netadmin-with-override;
swhois "is a Network Admin";
snomask bBcdfkqsSoO;

Services.conf of anope section Oper:

Code: [Select]

/* The nickname of this services oper */
name = "Yournick"

/* The opertype this person will have */
type = "Services Root"

/* If set, the user must be an oper on the IRCd to gain their Services
* oper privileges.
require_oper = yes

/* An optional password. If defined, the user must login using "/OPERSERV LOGIN" first */
password = "yourpass"

/* An optional SSL fingerprint. If defined, it's required to be able to use this opertype. */
#certfp = "ed3383b3f7d74e89433ddaa4a6e5b2d7"

/* An optional list of user@host masks. If defined the user must be connected from one of them */
#host = "*@* ident@*"

/* An optional vHost to set on users who identify for this oper block.
* This will override HostServ vHosts, and may not be available on all IRCds
#vhost = "oper.mynet"

And the Superadmin option in operserv.example.conf of Anope.

Code: [Select]

 * os_set
 * Provides the command operserv/set.
 * Used to set various settings such as superadmin, debug mode, etc.
name = "os_set"

* If set, Services Admins will be able to use SUPERADMIN [ON|OFF] which will temporarily grant
* them extra privileges such as being a founder on ALL channels.
* This directive is optional.
superadmin = yes
command { service = "OperServ"; name = "SET"; command = "operserv/set"; permission = "operserv/set"; }

if done do a restart it should be work. hopefully, :)

 on: October 25, 2022, 09:46:51 PM 
Started by Josh - Last post by Josh
Hello all.  :)

I've bin out of this for almost 10 years. Lately I started a new website again and next to that an irc server.
I got it all working ,but I keep failing to config or login as a Superadmin.

I got the Anope 2.0.11... running on the latest UnrealIRCD 6...

It seems that I have to set my nick as a root.

I get the access denied on all what I try to get de superadmin.
It even says in some cases that there is no Operblock for my nick.

I did set the Operblock for my name in Unreal before connecting Anope.
My nick is registered and logged in as a Netadmin-With-Overide while I'm trying to get the Superadmin to work.

I feel kinda stupid for not getting it done.

Can somebody help me out with it?

Thank you in advance  :)

 on: October 23, 2022, 05:53:20 PM 
Started by Rene - Last post by AnopeDude
Hi Rene

How does your listen block for servers look like in unrealircd.conf? It should look similar like

Code: [Select]
listen {
ip; //or any other ip
port 6000;
options { serversonly; }

check there if you possibly have set tls in the options directive and remove it if it exists, because you have set SSL to no in services.conf.

Wthout knowing exactly how your network setup looks like, you can also try to remove

Code: [Select]
    outgoing {
        bind-ip *; /* or explicitly an IP if you have a shell provider, as mentioned in step 1 */
        hostname; /*  or if '' does not exist then you can use an IP or something like '' */
        port 6000; /* the special SSL server port we opened up earlier */
        options { };

from link

 on: October 23, 2022, 12:38:49 PM 
Started by AnopeDude - Last post by AnopeDude
Hi guys  :D

I'm using Anope with MySQL database and password encryption with sha256. Currently I'm trying to figure it out how Anope encrypts passwords to check against the value in the database. I need to know that because I'm using a php login page for some special features for registered irc users. So far I understand, the sha256 password has the format encryption:encryptedpassword:iv. for example:


My thoughts was, I need the IV (in this example 9247724720ef2305021dbb0373b3958b39f3b8cb595ff9740f158d7426011dZ4) and then the plain-text password (or maybe the base64 encoded password) and then encode this with sha256 to get the encoded password (in this example Af1d8222aaff4ee6957bc1db32680915e0563804c83ed1ce8f926612c43ef9eb). But unfortunately that did not the job. Regardless in which order I set the plain-text password and the IV or if the plain-text password is base64 encoded or not.

Therefore Anope generates the password hash in a different way and I can't figure it out how exactly it is done. I tried to check the source code and I guess the important part is:

Code: [Select]
void Anope::Encrypt(const Anope::string &src, Anope::string &dest)
Anope::string Anope::Hex(const char *data, unsigned len)

EventReturn OnEncrypt(const Anope::string &src, Anope::string &dest) anope_override

but since I've no clue how the sha256 algorithm works and if Anope has made some modification to it, that brings me to this forum. Do you guys know how the password hash is actually being created so that I can use an external login verification and registration process which works with the exact sha256 encryption that Anope uses? Thank you in advance.

 on: October 19, 2022, 12:40:30 AM 
Started by Rene - Last post by Rene
Sorry if I'm wrong here but I can't anope with my unrealircd link. He always says this:
[Oct 18 23:22:57 2022] Lost connection from uplink #1 (
[Oct 18 23:22:57 2022] Check that you are not connecting Anope to an SSL enabled port without configuring SSL in Anope (or vice versa)

This is the link block etc. that something is wrong but I just can't find anything? maybe you can help me there? I don't have SSL enabled on this port.

Both Config Parts located on diferent machines

Unrealircd.conf part Link block and ulines: (Unrealircd Windows Server)
Code: [Select]
link {
    incoming {
        mask *;
    outgoing {
        bind-ip *; /* or explicitly an IP if you have a shell provider, as mentioned in step 1 */
        hostname; /*  or if '' does not exist then you can use an IP or something like '' */
        port 6000; /* the special SSL server port we opened up earlier */
        options { };
    password "xxxxx";
    class servers;

/* U-lines give other servers (even) more power/commands.
 * If you use services you must add them here.
 * NEVER put the name of an UnrealIRCd server here!!!
ulines {;

Services.conf section uplink (Ubuntu VM in Virtualbox):
Code: [Select]
* The IP or hostname of the IRC server you wish to connect Services to.
* Usually, you will want to connect Services over (aka localhost).
* NOTE: On some shell providers, this will not be an option.
host = ""

* Enable if Services should connect using IPv6.
ipv6 = no

* Enable if Services should connect using SSL.
* You must have an SSL module loaded for this to work.
ssl = no

* The port to connect to.
* The IRCd *MUST* be configured to listen on this port, and to accept
* server connections.
* Refer to your IRCd documentation for how this is to be done.
port = 6000

* The password to send to the IRC server for authentication.
* This must match the link block on your IRCd.
* Refer to your IRCd documentation for more information on link blocks.
password = "xxxx"

So what's wrong with it?
Thanks for help!

 on: September 10, 2022, 02:50:36 PM 
Started by Me - Last post by CrazyCat
After more tries, trouble comes when authenticating with SASL. See

 on: September 06, 2022, 08:05:40 AM 
Started by Me - Last post by CrazyCat
kiwiirc allows to auto-identify by giving the user password. If users don't identify themselves, there is no way to get their memo.
And no, there is no eggdrop solution, unless the eggdrop is in the same group as the user.

 on: September 06, 2022, 12:09:25 AM 
Started by Me - Last post by Me
Thank you very much for answering me.

So identifying with the Kiwirc interface it is normal that it doesn't work.

Would the solution be to make a small eggdrop script that does a /msg memoserv read all, for example, each time a person arrives with a registered nickname?

Another solution?

 on: September 05, 2022, 11:57:34 PM 
Started by Me - Last post by CrazyCat
notifications come when you identify yourself, not when you connect to the server.

Pages: 1 ... 8 9 [10]