Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1] 2 3 ... 10
 1 
 on: October 27, 2022, 02:51:33 PM 
Started by Ivan - Last post by WorldAxis
Hi..

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

 2 
 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.

 3 
 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 https://www.unrealircd.org/docs/Operclass_block
* 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";
vhost netadmin.example.org;
snomask bBcdfkqsSoO;
}

Services.conf of anope section Oper:

Code: [Select]

oper
{
/* 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 = "*@*.anope.org 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.
 */
module
{
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, :)

 4 
 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  :)


 5 
 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 127.0.0.1; //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 xx.xxx.xxx.xx; /*  or if 'beta.test.net' does not exist then you can use an IP or something like 'beta.dyndns.org' */
        port 6000; /* the special SSL server port we opened up earlier */
        options { };
    };

from link services.igamerpg.de

 6 
 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:

sha256:Af1d8222aaff4ee6957bc1db32680915e0563804c83ed1ce8f926612c43ef9eb:9247724720ef2305021dbb0373b3958b39f3b8cb595ff9740f158d7426011dZ4

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]
misc.cpp
void Anope::Encrypt(const Anope::string &src, Anope::string &dest)
Anope::string Anope::Hex(const char *data, unsigned len)

enc_sha256.cp
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.

 7 
 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:
Quote
[Oct 18 23:22:57 2022] Lost connection from uplink #1 (xx.xxx.xxx.xx:6000)
[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.

Quote
Both Config Parts located on diferent machines

Unrealircd.conf part Link block and ulines: (Unrealircd Windows Server)
Code: [Select]
link services.igamerpg.de {
    incoming {
        mask *;
    };
    outgoing {
        bind-ip *; /* or explicitly an IP if you have a shell provider, as mentioned in step 1 */
        hostname xx.xxx.xxx.xx; /*  or if 'beta.test.net' does not exist then you can use an IP or something like 'beta.dyndns.org' */
        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.igamerpg.de;
}


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

/*
* 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!


 8 
 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 https://bugs.anope.org/view.php?id=1752

 9 
 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.

 10 
 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?

Pages: [1] 2 3 ... 10