[DONE] Porting m_portsifresi (password per port)

For the old 4.x series

Moderators: Gottem, Supporters

Post Reply
Gottem
UnrealIRCd coder
Posts: 189
Joined: Fri Aug 19, 2016 5:26 pm
Location: NL

[DONE] Porting m_portsifresi (password per port)

Post by Gottem » Thu Jan 05, 2017 7:07 pm

Using this module you can specify a different password for every port. This might be useful if you have like backup servers only certain people should be able to connect to. Or if you want a totally private network. I think it was originally written by Sky-Dancer. The code seems to indicate the maximum password is 32 chars, so keep that in mind.

Config block:
I've kept the original format mostly, with the exception of stripping the required trailing colon. ;]

Code: Select all

psifre {
	pass "6667:secret";
	pass "6697:supersecret";
};
So any client connecting to port 6667 will first have to send a PASS secret command. People who use 6697 have to do PASS supersecret. Simply don't specify anything if you want a regular-type/public port.

Grab the code from the git repo.
If you like my modules, pls consider donating (through PayPal) or use the custom job fee option in my shop if you want to donate with credit card or iDEAL ;];]

erkut79
Posts: 20
Joined: Thu Jun 09, 2016 2:16 am

Re: [DONE] Porting m_portsifresi (password per port)

Post by erkut79 » Sat Jan 14, 2017 6:12 am

working !
nice work
thanks !

Post Reply