UnrealIRCd 4.0.12 released

News about the UnrealIRCd project, including release announcements
Post Reply
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

UnrealIRCd 4.0.12 released

Post by Syzop »

UnrealIRCd 4.0.12 is now available for download. It fixes a number of bugs and adds a new user mode +Z which SSL/TLS users may find useful.

Also, an important note to anyone using 3rd party modules: They are a great way to extend UnrealIRCd's functionality. However, a (small) mistake in a module can easily cause UnrealIRCd to crash. Currently more than 95% of the crashes reported to us are due to faulty 3rd party modules and not due to any bug in UnrealIRCd itself. Third party modules are modules coded by authors other than the UnrealIRCd team. We do not investigate such bug reports. These bugs are caused by and should be resolved by the module author(s). Keep this in mind if your server crashes: try unloading all (recently) installed 3rd party modules and see if the crash issue disappears. Also, be sure to check for updates of 3rd party modules, your crash issue may very well be fixed already.

Improvements:
  • New user mode +Z: Only allow SSL/TLS users to private message you.
  • Ability to hide all channels in /LIST that you cannot join due to deny channel blocks: set { hide-list { deny-channel }; };
  • The optional 'nocodes' module makes +S/+c also block/strip bold, underline and italic text. (The latter is new)
  • Add support for 'mask' in allow channel { } and deny channel { } and add some support for negative 'mask'. Probably not very useful on most networks with services, since bans/AKICK do the same, but you can now do like this:
    deny channel { channel "#help*"; };
    allow channel { channel "#help-nolan"; mask !192.168.*; };
    allow channel { channel "#help-lan"; mask 192.168.*; };
Major issues fixed:
  • Crash issue if a module using ModData was unloading (not reloading)
  • Vhosts were not always correctly synched across servers.
  • The maximum number of clients that a server could accept was decreased by one on every linking attempt if it was both: 1) an outgoing SSL/TLS linking attempt; AND 2) the error was "Connection refused".
Minor issues fixed:
  • Adjustments to channel mode +f were not always effective.
  • If you have a vhost set and wish to remove it and change to a cloaked host you can now safely use '/MODE yournick -t'. This feature was rarely used so far and it previously had a bug which caused it to still expose the real host/IP to others. This has been resolved.
  • Channel mode +D (delayjoin): when people are de-oped we now part 'hidden' users to avoid a client desynch.
  • Bump lag for remote MOTD requests to avoid flooding.
Other:
  • More than 95% of the crashes reported to us are due to 3rd party modules (and thus not bugs in our code). We now ask users to unload any recently installed 3rd party modules first, see if the crash issue persists, and only then submit a crash report to us.
  • UnrealIRCd will now refuse to run as root. https://www.unrealircd.org/docs/Do_not_run_as_root
For module coders:
  • Added two functions to search for user modes:

    Code: Select all

    has_user_mode(acptr, 'i') // returns 1 / 0
    find_user_mode('i') // returns the user mode (as 'long')
As always, you can download UnrealIRCd from www.unrealircd.org.
acidvegas
Posts: 8
Joined: Sat Feb 04, 2017 12:58 am
Location: Olympia, Greece
Contact:

Re: UnrealIRCd 4.0.12 released

Post by acidvegas »

The optional 'nocodes' module makes +S/+c also block/strip bold, underline and italic text. (The latter is new)
1. There is not a "nocodes" module in the modules config file, but I do see
"src/modules/nocodes.c", so I think maybe you forgot to include it in the config.

2. I noticed "loadmodule "extbans/textban" was removed from the modules config, but I still see
"src/modules/extbans/textban.c". Might want to re-add that to the config file.
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: UnrealIRCd 4.0.12 released

Post by Syzop »

Both modules are optional so they are not loaded by default and thus not present in modules.default.conf.
You can load them if you wish to use them. Just to avoid confusion: none of this changed in 4.0.12.

The modules you mention were announced in 4.0.10, so the 4.0.10 release notes contain a bit more information:

Code: Select all

* All free modules from vulnscan.org (by Syzop) are now included in
  UnrealIRCd itself. Note that only the "privdeaf" and "jumpserver" modules
  are loaded by default. The others you will need to load explicitly.
  The new modules are:
  * extbans/textban - Channel specific word filter (+b ~T:censor:*badword*)
                      https://www.unrealircd.org/docs/Extended_Bans
  * usermodes/privdeaf - Do not permit PM's from others (User Mode +D)
  * jumpserver - Redirect users to another server during maintenance
                 www.unrealircd.org/docs/User_%26_Oper_commands#JUMPSERVER
  * antirandom - Detect drones with random nicks / ident / etc.
                 https://www.unrealircd.org/docs/Set_block#set::antirandom
  * hideserver - Hide servers in /MAP and /LINKS
                 (Note that this does not truly enhance security)
  * m_ircops - Show which ircops are online (/IRCOPS command)
  * m_staff - Show custom file (/STAFF command)
  * nocodes - Makes chanmode +S/+c also strip/block bold and underline
You do have a point though, I think we should document better which modules are optional / not loaded by default.

In next release we'll have an modules.optional.conf (link to git version).
Post Reply