[REQ] userauth and staticcloak

Need a module converted from 3.2.x to UnrealIRCd 4? Or looking for a certain module? Ask here.

Moderators: Gottem, Supporters

Post Reply
LooPstr
Posts: 3
Joined: Tue Nov 07, 2017 12:32 pm

[REQ] userauth and staticcloak

Post by LooPstr » Wed Nov 08, 2017 9:04 am

Hi, im new to this forum and have finaly made the registration because of Unrealircd4x.

I have been using Unrealircd for some years now, we are a group of friends who use it as our meeting place and have various bots running.
Now I feel its time to do the upgrade to version 4.x but a couple of my modules are not working and I have no clue on how to fix them.

I thinks its angrywolf who made them a lllloonnnggg time ago but i cant find them anywhere more so I have made a pastebin of them.

The first is a authentication module called userauth.c
When this module is loaded you can limit access to the ircd server with a file, either a remote file on a http link or a local file with username and md5 hashed passwords for every single user allowed to enter the icrd. Pastebin here -> https://pastebin.com/3mQiPqtc
It will require some ekstra content in unrealircd.conf file. Pastebin here -> https://pastebin.com/zpaeR4Z5

The second is a cloak module that enables you to set a static cloak for everyone on the ircd server so that all the host is hidden and not only some of it, its called staticcloak.c. Pastebin here -> https://pastebin.com/0rM6dhwE
It will require some ekstra content in unrealircd.conf file, like examble below.
set {
static-cloak "cloak name here";
};

Will it be possible to change those modules so that they will work with Unrealircd4.x ?
I have been searching the forum and could not find anything that works the way they do.

Thanks in advance

Gottem
Posts: 133
Joined: Fri Aug 19, 2016 5:26 pm
Location: NL

Re: [REQ] userauth and staticcloak

Post by Gottem » Wed Nov 08, 2017 5:52 pm

The userauth mod sounds good, but I would use at least SHA2-256 in the present day for passwords etc. Cuz you know, MD5 is officially broken. ;] I will port the module when I have some time.

As for staticcloak, perhaps you can use set::cloak-method instead. I don't really see the point of everyone having the same cloaked host, so I won't port the module myself. =]

P.S. Angrywolf took down his website hosting modules, so that's probably why you can't find it.
If you like my modules, pls consider donating (through PayPal) or becoming a monthly Patron ;];]

LooPstr
Posts: 3
Joined: Tue Nov 07, 2017 12:32 pm

Re: [REQ] userauth and staticcloak

Post by LooPstr » Wed Nov 08, 2017 8:08 pm

Thanks alot Gottem

I agree about the MD5, my first goal was to hear if anyone would port the module :)

The same cloaked host is to me just a extra layer of security, that way the complete host is hidden.
But im just happy that you will look into the userauth module :D

Gottem
Posts: 133
Joined: Fri Aug 19, 2016 5:26 pm
Location: NL

Re: [REQ] userauth and staticcloak

Post by Gottem » Wed Nov 08, 2017 8:51 pm

Try using set { cloak-method ip; }; in your unrealircd.conf, that does exactly what you want without everyone having the same host. ;]
If you like my modules, pls consider donating (through PayPal) or becoming a monthly Patron ;];]

LooPstr
Posts: 3
Joined: Tue Nov 07, 2017 12:32 pm

Re: [REQ] userauth and staticcloak

Post by LooPstr » Thu Nov 09, 2017 7:49 am

I will try that, thanks :)

Post Reply