Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  


Pages: [1] 2 3 ... 10
 on: Today at 04:56:43 PM 
Started by low - Last post by Lord255
did you set a listen port on unrealircd side for port 7001?
did you do a /rehash ?

can you please paste your unreal's link and listen block and anope's uplink block?

 on: Today at 04:48:52 PM 
Started by low - Last post by low
Anope 2.0.11, build #2, compiled 05:28:08 Dec  6 2022, flags D
Using configuration file conf/services.conf
Attempting to connect to uplink #1 ( with protocol UnrealIRCd 4+
Successfully connected to uplink #1
Lost connection from uplink #1 ( Connection reset by peer

 on: Today at 12:04:50 PM 
Started by Zell - Last post by CrazyCat

Tu ne pourras pas car c'est un mot de passe avec une encryption de type bcrypt qui n'est pas supportée directement par MySQL.

 on: December 04, 2022, 05:27:48 PM 
Started by Zell - Last post by Zell

Je cherche a savoir comment utiliser le query du module m_sql_authentication d'anope pour la table wp_users de wordpress.

J'ai fait de multiple test mais je ne trouve pas la solution.
Je précise que lorsque je modifie le mot de passe d'un utilisateur de la table wp_users de wordpress sans hashage, le module d'anope fonctionne correctement.
Les mots de passe de ma table wordpress sont sous la forme $P$BlIadtEJDn3L0Ew3YjV1h4LLSKyMsi.

Quelqu'un aurait mis en place le bon query pour effectuer les tests d'utilisateurs dans cette table ?

Merci beaucoup d'avance.
Jessie - Zell 

 on: October 27, 2022, 02:51:33 PM 
Started by Ivan - Last post by WorldAxis

The IRC protocol has many advantages. It has some limit too. This is of course due to some security reasons. But I have alway bin a big fan of IRC.

I get the part of adding a nick and pass to the anope mysql db.
What I don't see is that the registered nick gets automaticly identified.

Reason why this is maybe importend is that in this time people are as lazy as can be. Most of them don't even know the IRC protocol.
They must be able to post and click without using any braincells.

So... My plan is to run the db part from my own website. (That should be no math.)
After that (When using some kind of Web IRC Client) they have to get identified with that automaticly.
I think IRCx did the same in the past with a ticket and auth check.

Maybe a writen connection coneection is also needed for that to let the no web clients connect to the server.

If that should be possible in time (or maybe alreadiy is...) I think more people going to use IRC again and that we can bring it back to it's full glory. :)
I'm going to try to make that possible ,but I was out of it for almost 10 years. So.. maybe it will crush my brain at some point.  ;D

I hope that you see my intentions and plan behind this.

Good luck to all who is busy with this!!!

Greets WorldAxis

 on: October 27, 2022, 10:38:52 AM 
Started by WorldAxis - Last post by WorldAxis
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 WorldAxis - 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 WorldAxis - Last post by WorldAxis
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 Maltesers
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 Maltesers - Last post by Maltesers
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.

Pages: [1] 2 3 ... 10