Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 ... 8 9 [10]
 91 
 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  :)


 92 
 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 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

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

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.

 94 
 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!


 95 
 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

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

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

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

 99 
 on: September 05, 2022, 11:49:12 PM 
Started by Me - Last post by Me
He there,

I have annoyances with anope, despite /memoserv set notify on, the notifications of messages received work in real time, and also when returning from /away, but not when you arrive on the chat. Would you have an idea?

Thank you !

 100 
 on: September 05, 2022, 03:45:53 PM 
Started by christophe - Last post by CrazyCat
Dear LTEF aka christophe,
Learn to read the explicit error message, learn to read the full answers given to you, and learn to read the documentation (often comments in the .conf file).

Unrealircd and Anope have really well explained configuration files, read them.

Pages: 1 ... 8 9 [10]