Anope 2.1.20 Release
Anope 2.1.20 has been released. This is a development release.
The most notable changes are:
Breaking Changes
-
Changed the registration of database types added by modules to be delayed until after the module constructor has been called. This might affect any custom modules you are using.
-
Moved akicks out of the core into cs_akick. Modules which depend on akicks now require the cs_akick module to be loaded.
Changes
-
Added
{db_json}:preserve_unknown_datato configure whether unknown database types are kept in the JSON database. By default unknown database types from unloaded modules will be preserved in the database to allow reloading later. This setting can be used to disable this and prune the database. -
Added support for forbidding passwords. This is intended to be used with file forbids (see below).
/OPERSERV FORBID ADD PASSWORD +30d hunter2 This password is insecure -OperServ- Added a forbid on hunter2 of type password to expire on Mon 29 Dec 2025 11:51:13 AM UTC (30 days from now). -
Added support for loading forbids from a file.
file { type = "email" file = "temp-emails.txt" reason = "Temporary email" } -
Added support for the UnrealIRCd
+Fflood profile mode. -
Added the
anope-mkpasswdscript to help generate passwords for use in the config.$ ./anope-mkpasswd argon2id hunter2 For use in the database: argon2id:$argon2id$v=19$m=65536,t=3,p=4$AmGWdtn1OUT9WSKSqESsPw $iguvHs6oIi/hF7e3t/bGNwgqP41vl/J4qP3a/yH9SLo For use in an oper: password = "$argon2id$v=19$m=65536,t=3,p=4$AmGWdtn1OUT9WSKSqESsPw $iguvHs6oIi/hF7e3t/bGNwgqP41vl/J4qP3a/yH9SLo" password_hash = "argon2id" For use in an jsonrpc/xmlrpc token: token = "$argon2id$v=19$m=65536,t=3,p=4$AmGWdtn1OUT9WSKSqESsPw $iguvHs6oIi/hF7e3t/bGNwgqP41vl/J4qP3a/yH9SLo" token_hash = "argon2id" Make sure you have the enc_argon2 module loaded! -
Added the DISPLAY flag to
nickserv/listto only show account display nicknames./NICKSERV LIST * -NickServ- List of entries matching *: -NickServ- nick1 (last mask: foo@example.com) -NickServ- nick1|afk (last mask: bar@example.com) -NickServ- nick2 (last mask: baz@example.com) -NickServ- End of list - 3/3 matches shown. /NICKSERV LIST * DISPLAY -NickServ- List of entries matching *: -NickServ- nick1 (last mask: foo@example.com) -NickServ- nick2 (last mask: baz@example.com) -NickServ- End of list - 2/2 matches shown. -
Added the hs_offer module which allows offering templated vhosts to users (based on a modsite module by @genius3000 on GitHub).
/HOSTSERV OFFER ADD {account}.users.example.com /HOSTSERV OFFERLIST -HostServ- Current host offer list: -HostServ- 2: {account}.users.example.com / FooBar.users.example.com -- does not expire -HostServ- End of host offer list. -
Changed chanserv/mode lock messages to stack the responses into one message per type instead of sending one message per mode.
/CHANSERV MODE #stest LOCK ADD +bb foo!foo@foo bar!bar@bar -ChanServ- +bb foo!foo@foo bar!bar@bar has been locked on #stest. -
Changed database objects to rehook to their type when it becomes available again.
-
Changed the
nickserv/set/languageandnickserv/set/timezonecommands to allow setting back to the default value by omitting the last parameter./NICKSERV SET LANGUAGE 12:23 -NickServ- Language changed to English. /NICKSERV SET TIMEZONE 12:24 -NickServ- Timezone changed to UTC. -
Changed the default install directory from
~/anopeto~/anope-2.1. -
Changed the enc_sha1 module to use a vendored SHA-1 implementation.
-
Expanded password obscurity checks and added an event hook to allow modules to reject passwords.
-
Fixed the rpc_user module sending the “invalid account” and “invalid password” error codes inverted.
-
Fixed unintentionally reloading the core database when reloading a module that provides a database type.
-
Removed a bunch of obsolete build system cruft.
The full change log can be found on GitHub.
Users who want to test out new features are encouraged to upgrade. Before upgrading you may wish to take a backup of your databases and read the upgrading guide. If you encounter any incompatibilities that aren’t mentioned on this page then please open an issue.
SHA256 Sum: f2b754de919f4fe864777a44496a9011b4d3006062f07b097c9aac43f355e5da anope-2.1.20.tar.gz
SHA256 Sum: 9bc03aee3136199983f0ae94f8c14e0e8bec5029419879221cab1bb2d13910e7 anope-2.1.20.exe