]> jfr.im git - irc/freenode/solanum.git/blame - NEWS.md
Make show_ip not care about remoteness (#139)
[irc/freenode/solanum.git] / NEWS.md
CommitLineData
7e5f0af6
WP
1# News
2
6ec9c49f 3This is solanum 1.0-dev.
212380e3
WP
4See LICENSE for licensing details (GPL v2).
5
6ec9c49f
EK
6## solanum-1.0
7
8Includes changes from charybdis-4.1.3-dev.
9
faf98b8e
EK
10**This release includes breaking changes from charybdis 4.x.** Please pay close attention to
11bolded warnings in the full release notes below.
6ec9c49f
EK
12
13### build
14- Add `--with-asan` to configure to produce an ASan instrumented build
15
16### server protocol
17- OPER is now propagated globally, as :operator OPER opername privset
18
19### user
20- **Breaking:** invite-notify is now enabled by loading the invite-notify extension
21- Prioritise older, more important client capabilities for clients that can only accept
22 one line of CAP LS
23- Add the solanum.chat/realhost vendor capability (provided by extensions/cap\_realhost)
24- Add the solanum.chat/identify-msg vendor capability (provided by extensions/identify\_msg)
25- Server-side aliases preserve protocol framing characters
26- Add the +G user mode for soft callerid (implicitly allow users with a common channel)
27- /invite no longer punches through callerid
28- invite-notify now works
29- Rejectcached users are now sent the reason of the ban that caused their reject in most cases
30- Rejectcache entries expire when their corresponding K-lines do
31- One-argument /stats and zero-argument /motd are no longer ratelimited
32- Channel bans don't see through IP spoofs
33- Global /names now respects userhost-in-names
34- The `$j` extban is no longer usable inside ban exceptions
faf98b8e
EK
35- TLSv1 connections are accepted. They can still be disabled using OpenSSL config if you don't
36 want them. TLSv1 existing is not thought to be a threat to up-to-date clients.
6ec9c49f
EK
37
38### oper
39- **Breaking:** Kick immunity for override is now its own extension, override\_kick\_immunity
40- **Breaking:** /stats A output now follows the same format as other stats letters
41- **Breaking:** helpops now uses +h instead of +H
faf98b8e 42- **Breaking:** sno\_whois and the spy\_ extensions have been removed
d04ed5c5 43- **Breaking:** Using /wallops now requires the oper:wallops privilege instead of oper:massnotice
6ec9c49f
EK
44- Opers now have their privset (identified by name) on remote servers
45- Oper-only umodes are refreshed after rehash and /grant
46- Extension modules can be reloaded
47- Override no longer spams about being enabled/disabled. It continues to spam on each use.
48- Add /testkline, which has the same syntax as /testline but doesn't check if the mask is ilined
49- /privs is now remote-capable and can respond with more than one line
50- Most commands now respect oper hiding
51- Massnotice (notice/privmsg to $$.../$#...) now alerts opers
52- Massnotice no longer imposes any restrictions on the target mask
53- /kline and /dline are hardened to invalid inputs
54- K/D-lines are more consistent about checking for encoded ipv4-in-ipv6 addresses
55- Add extensions/drain to reject new connections
56- Add extensions/filter to filter messages, parts and quits with a Hyperscan database
57- Add extensions/sasl\_usercloak to interpolate SASL account names into I-line spoofs
58
59### conf
60- **Breaking:** Completely overhaul oper privs. All privset configs will need to be rewritten.
61 See reference.conf for details.
62- Add the `kline_spoof_ip` I-line flag to make any spoof opaque to K-line matching
63- Add general::hide\_tkline\_duration to remove durations from user-visible ban reasons
64- Add general::hide\_opers, which behaves as if all opers have oper:hidden
65- Add general::post\_registration\_delay
66- Add general::tls\_ciphers\_oper\_only to hide TLS cipher details in /whois
67- Add channel::opmod\_send\_statusmsg to send messages allowed by +z to @#channel
68- Add class::max\_autoconn, with the behaviour of class::max\_number for servers prior to
69 charybdis 4
faf98b8e
EK
70- Add `secure {}` blocks. Networks listed in a secure block gain +Z and can match `need_ssl` I-
71 and O-lines.
6ec9c49f
EK
72- Remove general::kline\_delay
73- If m\_webirc is loaded, connections that try to use a webirc auth block as their I-line will
74 be disconnected on registration
75
76### misc
77- **Breaking:** WEBIRC now processes the "secure" option as specified by IRCv3. Web gateways that
78 do not set this option will need to be updated or their connections will show as insecure.
faf98b8e 79- Successfully changing IP with WEBIRC now drops an identd username
6ec9c49f
EK
80
81### code
82- Channel lists are now kept sorted. A for-loop macro, `ITER_COMM_CHANNELS`, is introduced to
83 efficiently compare two such lists.
84
85
efe1f312
SA
86## charybdis-4.1.2
87
88### user
6ec9c49f 89- src/s\_user.c: don't corrupt usermodes on module unload/reload
efe1f312 90
17776e52
SA
91## charybdis-4.1.1
92
93### security
94- Fix an issue with the PASS command and duplicate server instances.
95
96### misc
97- Fix connection hang with blacklist/opm when ident is disabled.
98- Improve SASL CAP notification when the services server disconnects.
99- MbedTLS: Support ChaCha20-Poly1305 in default cipher suites.
100
8fad9421
SA
101## charybdis-4.1
102
103### misc
104- SCTP is now supported for server connections (and optionally, user connections)
105
106## charybdis-4.0.1
107
108### server protocol
109- SJOIN messages were being constructed in a 1024 byte buffer and truncated to 512 bytes
110 when sending. This caused channels with more than 50 users to fail to propagate all of
111 them during a net join.
112
113## charybdis-4.0
df317d70
WP
114
115### build
116- Build system has been converted to libtool + automake for sanity reasons.
15b0093d
WP
117- The compile date is now set at configure time rather than build time, allowing for
118 reproducible builds. (#148, #149)
119- Support for GNUTLS 3.4 has been added.
df317d70 120
0cc93ead
WP
121### user
122- Import the ability to exceed MAXCHANNELS from ircd-seven.
15b0093d
WP
123- Implement IRCv3.2 enhanced capability negotiation (`CAP LS 302`).
124- Implement support for receiving and sending IRCv3 message tags.
125- Implement IRCv3.2 capabilities: (#141)
126 - account-tag
127 - echo-message
5462fb6e 128 - invite-notify
15b0093d
WP
129 - sasl
130 - server-time
131- SASL: certificate fingerprints are now always sent to the SASL agent, allowing for
132 the certificate to be used as a second authentication factor.
0cc93ead
WP
133
134### oper
135- Merge several features from ircd-seven:
136 - Implement support for remote DIE/RESTART.
137 - Implement support for remote MODLOAD et al commands.
138 - Add the GRANT command which allows for temporarily opering a client.
139 - Implement the hidden oper-only channel modes framework.
140 - Implement a channel mode that disallows kicking IRC operators (+M).
141- Enhance the oper override system, allowing more flexibility and detail
142 in network-wide notices.
4d1e4989
EM
143- DNS, ident, and blacklist lookups have been moved to a dedicated daemon known
144 as authd. Some cosmetic changes to blacklist statistics and rejection notices
145 have resulted.
0ed0a9fe
EM
146- An experimental OPM scanner has been added to authd. Plaintext SOCKS4,
147 SOCKS5, and HTTP CONNECT proxies can be checked for.
148- The LOCOPS command has been moved from core to an extension.
d1478ff2 149- All core modules in charybdis have descriptions, which are shown in MODLIST.
d1478ff2 150- Suffixes should not be used when doing /MODLOAD, /MODUNLOAD, /MODRELOAD, etc.
0cc93ead 151
b28cccb7
WP
152### misc
153- Support for WebSocket has been added, use the listen::wsock option to switch
154 a listener into websocket mode.
155
0cc93ead
WP
156### conf
157- Add the ability to strip color codes from topics unconditionally.
4d1e4989 158- The obsolete hub option from server info has been removed.
0cc93ead 159
aba90ea5
EM
160### docs
161- The documentation has been cleaned up; obsolete files have been purged, and
0ed0a9fe 162 files have been renamed and shuffled around to be more consistent.
aba90ea5 163
0cc93ead 164### code
e791dc6d
EM
165- `common.h` is gone. Everything useful in it was moved to `ircd_defs.h`.
166- `config.h` is gone; the few remaining knobs in it were not for configuration
167 by mere mortals, and mostly existed as a 2.8 relic. Most of the knobs live in
168 `defaults.h`, but one is well-advised to stay away unless they know exactly
169 what they are doing.
170- A new module API has been introduced, known as AV2. It includes things such as
171 module datecodes (to ensure modules don't fall out of sync with the code),
172 module descriptions, and other fun things.
173- Alias and module commands are now in m_alias and m_modules, respectively, and
174 can be reloaded if need be. For sanity reasons, m_modules is a core module,
175 and cannot be unloaded.
0ed0a9fe
EM
176- irc_dictionary and irc_radixtree related functions are now in librb, and
177 prefixed accordingly. Typedefs have been added for consistency with existing
178 data structures. For example, now you would write `rb_dictionary *foo` and
179 `RB_DICTIONARY_FOREACH`.
180- C99 bools are now included and used in the code. Don't use ints as simple true
181 or false flags anymore. In accordance with this change, the `YES`/`NO` and
182 `TRUE`/`FALSE` macros have been removed.
e791dc6d
EM
183- Return types from command handlers have been axed, as they have been useless
184 for years.
aba90ea5
EM
185- libratbox has been renamed to librb, as we have diverged from upstream long
186 ago.
0cc93ead
WP
187- Almost all 2.8-style hashtable structures have been moved to dictionaries or
188 radix trees, resulting in significant memory savings.
189- The block allocator has been disabled and is no longer used.
15b0093d
WP
190- The ratbox client capabilities have been ported to use the ircd capabilities
191 framework, allowing for modules to provide capabilities.
192- Support for restarting ssld has been added. ssld processes which are still
193 servicing clients will remain in use, but not service new connections, and
194 are garbage collected when they are no longer servicing connections.
195- Support for ratbox-style 'iodebug' hooks has been removed.
1e706d5a
WP
196- New channel types may be added by modules, see `extensions/chantype_dummy.c`
197 for a very simple example.
0cc93ead 198
7e5f0af6 199## charybdis-3.5.0
72cc5a99 200
7e5f0af6 201### server protocol
72cc5a99
JT
202- Fix propagation of ip_cloaking hostname changes (only when setting or
203 unsetting the umode after connection).
204- Fix a remote-triggerable crash triggered by the CAPAB parsing code.
205- As per the TS6 spec, require QS and ENCAP capabilities.
1c38b9de 206- Require EX and IE capabilities (+e and +I cmodes).
72cc5a99 207- Check that UIDs start with the server's SID.
7e5f0af6
WP
208
209### user
72cc5a99
JT
210- Allow mode queries on mlocked modes. In particular, allow /mode #channel f
211 to query the forward channel even if +f is mlocked.
212- Strip colours from channel topics in /list.
213- If umode +D or +g are oper-only, don't advertise them in 005.
6a49a343 214- If MONITOR is not enabled, don't advertise it in 005.
72cc5a99
JT
215- Add starttls as per ircv3.
216- Abort a whowas listing when it would exceed SendQ, which would previously
217 disconnect the user.
218- Reject nicks with '~' in them, rather than truncating at the '~'.
219- Remove CHARSET=ascii from ISUPPORT
220- Use the normal rules for IP visibility in /whowas.
1c38b9de
JT
221- Cmode +c now strips '\x0F' (^O, formatting off), fixing weird rendering in
222 some clients that internally use mIRC formatting such as highlighted
223 messages in HexChat.
224- Indicate join failure because of the chm_sslonly extension (cmode +S) using
225 the same 480 numeric as ircd-ratbox.
6a49a343
WP
226- Do not allow SASL authentication when the configured SASL agent is unavailable.
227- Automatically add unidentified users to the ACCEPT list when a user is set +R,
228 as we do when the user is set +g.
229- Implement IRCv3.2 capabilities:
230 - cap-notify
231 - chghost
232 - userhost-in-names
d4466030
WP
233- Implement the $&, $| and $m extban types:
234 - $& combines 1 or more child extbans as an AND expression
235 - $| combines 1 or more child extbans as an OR expression
236 - $m provides normal hostmask matching as an extban for the above
25eeb5ed
WP
237- Do not allow STARTTLS if a connection is already using TLS.
238- Display an operator's privilege set in WHOIS.
239- The $o extban now matches against privilege set names as well as individual
240 privileges. Privilege set names are preferred over individual privileges.
7e5f0af6
WP
241
242### oper
72cc5a99
JT
243- Fix a crash with /testline.
244- Complain to opers if a server that isn't a service tries to
245 SU/RSFNC/NICKDELAY/SVSLOGIN.
246- Turn off umode +p (override) when deopering.
247- Make listener error messages (e.g. port already in use) visible by default
248 instead of only on snomask +d and in ioerrorlog.
249- Remove snotes on +r about GET/PUT/POST commands ("HTTP Proxy disconnected").
250- Add DNSBL snotes on snomask +r.
7e5f0af6
WP
251
252### config
25eeb5ed
WP
253- Add hide_uncommon_channels extension to hide uncommon channel memberships in WHOIS,
254 like in ircd-seven.
72cc5a99
JT
255- Add chm_nonotice extension, cmode +T to reject notices.
256- Add restrict-unauthenticated extension, prevents unauthenticated users from
257 doing anything as channel operator.
258- Add no_kill_services extension, prevents local opers from killing services.
259- Allow matching specific replies of DNSBLs, using the new matches option.
260- Remove blowfish crypt since it has the BSD advertising clause.
261- Fix SHA256 ($5$) crypt.
1c38b9de
JT
262- Make the channel::channel_target_change option actually work (it used to be
263 always on).
6a49a343 264- SSL/TLS listeners now have defer_accept unconditionally enabled on them.
509088aa
WP
265- The method used for certificate fingerprints (CertFP) is now configurable.
266 SHA1, SHA256 and SHA512 are available options.
6dedd212
WP
267- The minimum user threshold for channels in default /list output is now
268 configurable.
7e5f0af6
WP
269
270### misc
72cc5a99
JT
271- Work around timerfd/signalfd brokenness on OpenVZ.
272- Fix a compilation issue in libratbox/src/sigio.c with recent glibc.
273- Extend documentation slightly.
274- Remove a BSD advertising clause that permission was granted to remove.
275- Add support for hooking PRIVMSG/NOTICE.
276- Reenable and fix the GnuTLS support.
6a49a343
WP
277- Add mbedTLS backend for SSL/TLS.
278- Remove EGD support.
72cc5a99
JT
279- Try other DNS servers if errors or corrupt replies are encountered.
280- Rename genssl.sh script to genssl.
281- Choose more secure SSL/TLS algorithms.
282- Fix reconnecting with SSL/TLS with some clients such as ChatZilla (see
283 https://bugzilla.mozilla.org/show_bug.cgi?id=858394#c34 for details.)
284- Improve error messages about the configuration file.
285- Fix a crash when compiled with recent clang on 32-bit systems.
286- Fix various memory leaks in rehash.
287- Fix various code quality issues.
1c38b9de
JT
288- Add --with-shared-sqlite to allow distribution packages to link to a shared
289 sqlite library. Using this is not recommended for on-server compilation.
6dedd212
WP
290- ISUPPORT tokens which are actually provided by modules have been moved to their
291 respective modules.
72cc5a99 292
7e5f0af6 293## charybdis-3.4.0
2080c943 294
7e5f0af6 295### server protocol
2080c943
JT
296- Allow overriding opers (with the new extension) to op themselves on channels.
297- Allow RSFNC to change a nickname's capitalization only.
298- Add channel ban forwarding <mask>$<channel> much like ircd-seven. Local use
299 of this is controlled by the channel::use_forward config option.
300- Add ENCAP TGINFO to propagate IP addresses that exceeded target change
301 limits (these get a lower limit when they reconnect).
7e5f0af6
WP
302
303### user
2080c943
JT
304- Consider bogus CTCP ACTION messages (without action text) CTCP (for
305 cmode +C).
306- Send ERR_TOOMANYCHANNELS for each channel join that fails due to channel
307 limits.
308- Add account-notify client capability to notify clients about logins and
309 logouts of users in common channels. See doc/account-notify.txt.
310- Add extended-join client capability to add account name and ircname to JOIN.
311- Add topic TS and channel TS constraints for /LIST (T<, T>, C<, C>
312 parameters as in some other servers).
313- Disallow wildcarded nicknames in "hunted" parameters like /stats and /motd.
314- Disallow mIRC italics in channel names when disable_fake_channels.
315- Add AUTHENTICATE EXTERNAL support, allows SASL authentication using a
316 certificate fingerprint.
317- Allow channel::kick_on_split_riding to protect channels with mlocked keys.
318- The NICKLEN token in 005 now only specifies the maximum usable nick length.
319 The MAXNICKLEN token specifies the maximum nick length any user can have.
320- Disallow $ in usernames as this may cause problems with ban forwarding.
321- Add an error message (numeric 743) if a ban mask is invalid.
322- Extract the underlying IPv4 address from 6to4 and Teredo IPv6 addresses.
323 Show it in a remote /whois and check channel bans, quiets, D:lines and
324 K:lines against it. Note that ban exceptions and auth{} blocks are not
325 checked.
326- Allow normal users to perform /privs on themselves, showing some privileges
327 from the auth{} block.
328- Add away-notify client capability, see doc/away-notify.txt.
329- Add rate limit for high-bandwidth commands, in particular /who <channel>.
330- Rate limit /away to help avoid flooding via away-notify.
331- Apply colour stripping (cmode +c) and CTCP checking (cmode +C) to messages
332 to @/+ channel as well.
333- Channel mode +c (and other places that disallow colour codes) now also strip
334 ASCII 4 (a different kind of colour code).
7e5f0af6
WP
335
336### oper
2080c943
JT
337- Add operspy for /list.
338- Add a server notice to snomask +b if a user exceeds target change limits.
339- Add missing server notice for kills from RSFNC and SVSLOGIN.
340- Add /stats C to show information about dynamically loaded server
341 capabilities.
7e5f0af6
WP
342
343### config
2080c943
JT
344- Add support for linking using SSL certificate fingerprints as the link
345 credential rather than the traditional password pair.
346- Add m_roleplay extension, provides various roleplay commands.
347- Add override extension, umode +p oper override for opers with oper:override
348 permission, with accountability notices and timeout. Note that opers cannot
349 op themselves if there are older servers on the network.
350- Add channel::disable_local_channels config option.
351- Add support for IPv6 DNSBLs. A new "type" option specifies the IP version(s)
352 for which each DNSBL should be checked.
353- Make flood control settings configurable by those who know exactly what they
354 are doing.
355- Add serverinfo::nicklen config option to limit the nick length for local
356 users. Different values of this option do not break the server protocol.
357- Add extb_usermode extension, $m:+-<modes> extban matching against umodes.
358- Extend extb_oper extension to allow matching against oper privileges.
359- Add m_remove extension, /remove command as in ircd-seven.
360- Add general::away_interval to allow configuring /away rate limiting.
361- Add listener::defer_accept to delay accepting a connection until the client
362 sends data. This depends on kernel support. It may break BOPM checking.
7e5f0af6
WP
363
364### misc
2080c943
JT
365- In mkpasswd, default to SHA512-based crypt instead of MD5-based crypt.
366- Add --with-custom-branding and --with-custom-version configure options to
367 help forks/patchsets distinguish themselves.
368- Change version control from Mercurial to GIT.
369- Ensure SIGHUP and SIGINT keep working after a SIGINT restart.
370- Add --enable-fhs-paths configure option to allow installing into a more
371 FHS-like hierarchy.
72cc5a99 372- Remove broken GnuTLS support. SSL/TLS is now only provided using OpenSSL.
2080c943 373
7e5f0af6 374## charybdis-3.3.0
8a419c60 375
7e5f0af6 376### server protocol
8a419c60
SB
377- Add new BAN command, for propagated network-wide bans (K/X:lines and RESVs).
378 These will burst to new servers as they are introduced, and will stay in sync
379 across the whole network (new BAN capab).
380- Add new MLOCK command, to implement ircd-side channel mode locks. This allows
381 services to send out a list of mode letters for a given channel which may not
382 be changed, preventing mode fights between services and client bots (new MLOCK
383 capab).
7e5f0af6
WP
384
385### user
8a419c60
SB
386- New RPL_QUIETLIST(728) and RPL_ENDOFQUIETLIST(729) numerics are used for the
387 quiet (+q) list, instead of overloading the ban list numerics.
388- Users may no longer change the topic of a -t channel if they cannot send to
389 it.
390- Add help for EXTBAN, describing the syntax of extended bans in general, as
391 well as the most common types.
392- Changed AWAY messages are now propagated to other servers. Previously, AWAY
393 was only propagated when the user was not already away.
394- Channel mode +c (and other places that disallow colour codes) now also strip
395 ASCII 29 (mIRC 7 italics).
396- Add auto-accept for user mode +g (callerid): Messaging a user while set +g
397 will automatically add them to your accept list.
a48f183c
WP
398- Add target change for channels. It applies to unopped, unvoiced and unopered
399 users. This has the effect of stopping spambots which join, message and part
400 many channels at a time.
401- Show RPL_WHOISLOGGEDIN in /whowas as well as in /whois entries. This adds at
402 most an additional 0.5MB of memory usage.
7e5f0af6 403### config
8a419c60
SB
404- Add general::use_propagated_bans to switch the new BAN system on or off.
405- Add general::default_ident_timeout, to control the timeout for identd (auth)
406 connections.
a48f183c
WP
407- Add channel::channel_target_change to switch the new channel target change limits
408 on or off.
8a419c60
SB
409- Fix class::number_per_ident so that it also applies to connections without
410 identd.
a48f183c 411- Change the example sslport option to 6697, which is more standard than 9999.
7e5f0af6 412### misc
8a419c60
SB
413- The custom channel mode API has been rewritten, allowing these modules to work
414 correctly when reloaded, or loaded from the config file.
415- The EFNet RBL is now recommended, instead of DroneBL.
416- Remove the unsupported modules directory.
417- Numerous bug fixes and code cleanups.
a48f183c 418- In mkpasswd, default to MD5 crypt instead of insecure DES.
8a419c60 419
7e5f0af6 420## charybdis-3.2.0
1c5683de 421
7e5f0af6 422### server protocol
1c5683de
JT
423- Apply +z to messages blocked by +b and +q as well. (new EOPMOD capab)
424- Add new topic command ETB, allowing services to set topic+setter+ts always.
425 (new EOPMOD capab)
426- The slash ('/') character is now allowed in spoofs.
7e5f0af6
WP
427
428### user
1c5683de
JT
429- Add can_kick hook, based on the ircd-seven one.
430- Add cmode +C (no CTCP) from ircd-seven.
431- Flood checking has been reworked.
432- Fix op-moderate (cmode +z) for channel names with '@'.
433- Add CERTFP support, allowing users to connect with an SSL client
434 certificate and propagating the certificate fingerprint to other servers.
435 Services packages can use this to identify users based on client
436 certificates.
437- Maintain the list of recently used targets (for the target change
438 anti-spam system) in most-recently-used order, overwriting the least
439 recently used target with a new one. This should be friendlier to users
440 without giving spambots anything.
441- Do not require target change slots for replying to the last five users to
442 send a private message, notice or invite.
443- Apply target change restrictions to /invite.
444- Apply umode +g/+R restrictions to /invite, with the difference that
445 instead of sending "<user> is messaging you" the invite is let through
446 since that is just as noisy.
7e5f0af6
WP
447
448### oper
1c5683de
JT
449- Add /rehash throttles to clear throttling.
450- Send all server notices resulting from a remote /rehash to the oper.
451- '\s' for space is now part of the matching, not a substitution at xline
452 time, fixing various issues with it.
453- Display o:line "nickname" in oper-up server notices.
454- Fix sendq exceeded snotes for servers.
455- SCAN UMODES: default list-max to 500, like a global WHO.
456- Ignore directory names in MODRELOAD to avoid crashing if it is a core
457 module and the path is incorrect.
087a8399 458- Tweaks to spambot checks.
7e5f0af6
WP
459
460### config
1c5683de
JT
461- Add channel::only_ascii_channels config option to restrict channel names
462 to printable ascii only.
463- Add channel::resv_forcepart, forcibly parts local users on channel RESV,
464 default enabled.
7e5f0af6
WP
465
466### misc
1c5683de
JT
467- New mkpasswd from ircd-ratbox.
468- Check more system calls for errors and handle the errors.
469- Various ssld/libratbox bugfixes from ircd-ratbox. [some MERGED]
470- Fix fd passing on FreeBSD/amd64 and possibly Solaris/sparc. [MERGED]
471- Various documentation improvements. [some MERGED]
472- Fix some crash issues. [MERGED]
473- Add bandb from ircd-ratbox, which stores permanent dlines/klines/xlines/resvs
474 in an sqlite database instead of a flatfile and does the storage in a
b47da224
JT
475 helper process. Use bin/bantool -i to import your old bans into the
476 database.
1c5683de 477
7e5f0af6 478## charybdis-3.1.0
38423900
JT
479
480- Remove TS5 support. No TS5 servers are permitted in a network with
481 charybdis 3.1.0 or newer, except jupes.
07d86ced
JT
482- Replace oper flags by privilege sets (privsets). This adds an extra
483 level of indirection between oper flags and operator blocks. /stats O
484 (capital O) shows the configured privsets.
38423900
JT
485- Update libratbox and ssld from upstream and use it better.
486- Add auth_user to auth{}. This allows specifying a username:password instead
487 of just a password in PASS, so that a fixed user@host is not necessary
488 for a specific auth{} block.
489- Add need_ssl to auth{} and operator{}. This makes these blocks reject
490 the user if not connected via SSL.
491- Allow modules to provide simple channel modes without parameter.
492- Remove restrictions on CNAME in the resolver.
493- Make the resolver remember nonresponsive nameservers.
494- Move nick collision notices from +s to +k.
495- Add additional information to various server notices about server
496 connections.
07d86ced
JT
497- Show throttle information in /stats t.
498- Show rejectcache and throttle information in /testline.
499- Show oper reason in /testline.
500- Allow opers to see other users' umodes with /mode <nick>.
7714f92a 501- SCAN UMODES GLOBAL NO-LIST MASK <mask> is no longer an operspy command.
38423900
JT
502- Also apply floodcount to messages to remote clients (except services).
503- Remove user@server messages to local users. Sending such messages to
504 remote servers is still possible, for securely messaging pseudoservers
505 whether service{}'ed or not. The special oper-only syntax opers@server
506 remains as well.
507- Allow /list on a named +p channel. A full /list already included +p channels.
508- Add operspy /topic.
27cdbd27 509- For remote rehashes, send error messages to the requesting oper as well.
c029a164
JT
510- Disable autoconnect for a server with excessive TS delta.
511- Disallow invites to juped channels.
27cdbd27 512- Warn about certain duplicate and redundant auth blocks.
38423900
JT
513- Make PRIVMSG/NOTICE behave as CPRIVMSG/CNOTICE automatically if possible.
514- Allow +z messages from outside if a channel is -n.
515- Allow coloured part reasons in -c channels.
516- Add ircu-like WHOX support. This allows requesting specific information
517 in /who and allows obtaining services login name for all users in a
518 channel. XChat/Conspire use WHOX to update away status more efficiently.
07d86ced
JT
519- Allow opers and shide_exempt users to see hopcounts even if flatten_links
520 is on.
38423900
JT
521- Rework ip_cloaking.
522- Add the IP address to userlog, as in ircd-ratbox 3.0.
523- Split cidr_bitlen into cidr_ipv4_bitlen and cidr_ipv6_bitlen.
07d86ced
JT
524- Allow using ziplinks with SSL connections. This is not as efficient as
525 using OpenSSL's built in compression, but also works with older versions
526 of OpenSSL.
c029a164
JT
527- Fix an off by one error with zipstats processing, which could overwrite
528 a variable with NULL causing a crash on some systems.
38423900 529- Document some extensions in charybdis-oper-guide.
07d86ced 530- Add more server protocol documentation.
27cdbd27
JT
531- Add m_sendbans extension, SENDBANS command to propagate xlines and resvs
532 manually.
533- Add chm_sslonly extension, cmode +S for SSL/TLS only channels.
3ecb8b06 534- Add chm_operonly extension, cmode +O for IRCop only channels.
27cdbd27 535- Add chm_adminonly extension, cmode +A for server admin only channels.
38423900
JT
536- Various code cleanups.
537
7e5f0af6 538## charybdis-3.0.4
38423900
JT
539
540- Fix a crash on certain recent versions of Ubuntu.
541- Allow 127.x.y.z for DNSBL replies instead of just 127.0.0.x.
542- Various documentation improvements.
543
7e5f0af6 544## charybdis-3.0.3
38423900
JT
545
546- Fix IPv6 D:lines
547- Fix rejectcache and unknown_count.
548- Fix genssl.sh.
549- Fix ident for SSL/TLS connections.
550- Fix SSL/TLS bugs for servers with more than about 100 connections.
551- Small bugfixes.
552
7e5f0af6 553## charybdis-3.0.2
38423900
JT
554
555- Improve OLIST extension error messages.
556- Improve some kline error checking.
557- Avoid timing out clients if we are still waiting for a DNSBL lookup.
558- Fix resolver hangs with epoll.
559- Fix compilation without zlib.
560
7e5f0af6 561## charybdis-3.0.1
d99faa42
JT
562
563- Fix occasional hung clients with kqueue.
564- Fix a rare ssld crash.
565- Fix a bug that could cause incorrect connect failure reasons to be
566 reported.
c75eb8da 567- Make the IRCd work on MacOS X again.
d99faa42 568
7e5f0af6 569## charybdis-3.0.0
aa218c5b 570
509090fe
JT
571- Port the IRCd to libratbox, which has improved our portability and allows
572 us to reuse low-level code instead of maintaining our own.
573- Change configuration of maximum number of clients to ircd-ratbox 3 way.
574- Add adminwall from ircd-ratbox, as an extension.
575- Add client and server-to-server SSL, read example.conf for setup.
576- Replace servlink with ssld (also for ziplinks).
577- A new extban, $z, has been added for ssl users (extensions/extb_ssl.so).
7f9626ff 578- A new compatibility channel mode, +R, has been added, it sets
509090fe
JT
579 +q/-q $~a (extensions/chm_operonly_compat.so). This is similar to
580 the +R seen in ircd-seven.
ce56b91d 581- A new compatibility channel mode, +S, has been added, it sets
509090fe 582 +b/-b $~z (extensions/chm_sslonly_compat.so).
7f9626ff 583- A new compatibility channel mode, +O, has been added, it sets
509090fe
JT
584 +iI/-iI $o (extensions/chm_operonly_compat.so).
585- Add remote D:lines. Note that these are not enabled by default.
586- Remove EFnet-style G:lines. Noone appears to use these.
587- Remove idle time checking (auto disconnecting users idle too long).
588- Display a notice to clients when the IRCd is shut down using SIGTERM.
589- Some error messages have been clarified to enhance usability.
590- Close the link to servers that send invalid nicks (e.g. nicklen mismatches).
591 Formerly the users were killed from the network.
592- Enable topicburst by default in connect{}.
593- Fix a potential desync which can happen with oper override.
594- Remove "deopped" flag (TS5 legacy).
595- Use 127.0.0.1 as nameserver if none can be found in /etc/resolv.conf.
596- Only accept 127.0.0.x as a dnsbl listing.
597- Change cloaking module (same as 2.2.1, different from 2.2.0).
598- Make some more server notices about failed remote connect attempts
599 network wide.
600- Make some server notices about flooders and TS delta network wide.
601- Remove redundant "<server> had been connected for <time>" server notice.
602- Add resv oper privilege to control /resv, /unresv and cmode +L and +P,
603 enabled by default.
604- Add mass_notice oper privilege to control global notices and /wallops,
605 enabled by default.
606- Rework unkline/undline/unxline/unresv so they show the exact item removed
607 and do not rehash bans.
608- Show opers a list of recently (<24hrs) split servers in /map.
609- Add /privs command, shows effective privileges of a client.
aa218c5b 610
7e5f0af6 611## charybdis-2.2.0
55da5539 612
f32e30dd 613- The I/O code has been reworked, file descriptor metadata is stored in a
f7b60293 614 hashtable and the maximum number of clients can now be set in ircd.conf.
0b15df83
JT
615- Improve error checking and error messages for kline/dline/xline/resv files.
616- Allow kline ipv6:address, unkline some.host and unkline ipv6:address
617 without *@.
618- Add accountability (wallops, log) to OKICK extension.
619- Add opernick to OPME/OMODE/OJOIN log messages.
620- Add use_forward option, allows disabling cmode +fFQ and umode +Q.
621- Add keyword substitution to DNSBL reasons, making it possible to show
622 things like the user's IP address in the reason.
623- Use sendto_one_notice() more.
624- Server notices about kills now include the victim's nick!user@host instead
625 of just nick.
626- Include real hostname in Closing Link message for unknown connections
627 that have sent USER, in particular banned users.
628- Add some documentation about the SASL client protocol.
629- Change spambot, flooder and jupe joiner notices from host to orighost.
630- Remove the last remains of server hostmasking (this made it possible to
631 have multiple servers with similar names appear as a single server).
632- Keep bitmasks of modularized umodes reserved forever to the letter,
633 avoiding problems when reloading umode modules in a different order.
634- Fix -logfile.
635- Update to the new revision (v8) of the TS6 spec, this fixes problems with
0af87e57
JT
636 joins reversing certain mode changes crossing them. This interoperates
637 with older versions.
0b15df83
JT
638- Put "End of Channel Quiet List" at the end of +q lists.
639- Fix invisible count getting desynched from reality if the act of opering
640 up sets -i or +i.
641- Don't leak auth{} spoofed IP addresses in +f notices.
642- Shorten quit/part/kick reasons to avoid quit reasons overflowing the
643 client exiting server notice (from TOPICLEN to 260).
644- Fix some cases where 10 char usernames lose their final character.
645- Move username check after xline and dnsbl checks, so it will not complain
646 to opers about clients who are xlined or blacklisted anyway (both of
647 which silently reject).
648- Remove invite_ops_only config option, forcing it to YES.
649- Allow /invite (but not invex) to override +r, +l, +j in addition to +i.
f7b60293
JT
650- Add several new extensions, such as createoperonly.
651- Merge whois notice extensions into one and move it from snomask +y to +W.
0b15df83 652
7e5f0af6 653## charybdis-2.1.2
212380e3
WP
654
655- Fix bug that could cause all hostmangled users to be exempted when a
656 single ban exception existed on a channel.
657- Tweak \s code a little.
658- Add a minor clarification to the SGML docs.
659- Avoid truncation in ip_cloaking (by removing components on the other side).
660 Note that this may cause channel +bqeI modes set on such very long hosts
661 to no longer match.
662
7e5f0af6 663## charybdis-2.1.1
212380e3
WP
664
665- Search the shortest list (user's/channel's) when looking up channel
666 memberships.
667- Make the SID-collision notice look right under all conditions.
668- Move kills from services from +s to +k snomask.
669- When no_tilde is present on an auth{} block, check the non-tilde version
670 of the user@host against k:lines as well.
671- Put full reason in the SQUIT reason when a server is rejected for
672 insufficient parameters being passed to a command.
673- Don't redirect users to an existing domain, irc.fi.
674- Improve communication of servlink-related error messages.
675
7e5f0af6 676## charybdis-2.1.0
212380e3 677
7f9626ff 678- Our official website is now http://www.ircd-charybdis.org/.
212380e3
WP
679- Make RPL_ISUPPORT (005 numeric) modularizable.
680- Also do forwarding if the channel limit (+l) is exceeded.
681- Don't count opers on service{} servers in /lusers.
682- Allow servers to send to @#chan and +#chan.
683- Allow +S clients (services) to send to channels and @/+ channels always.
684- Allow normal match() on IP address also in /masktrace.
685- Add new testmask from ratbox 2.2. Allows matches on nick, ip and gecos
686 in addition to user and host, and is fully analogous to masktrace.
687 The numeric has changed from 724 to 727 and fields in it have changed.
688- Show IP addresses to opers in /whowas.
689- Add extb_extgecos extban option ($x:nick!user@host#gecos), from sorcery
690 modules.
691- Add extb_canjoin extban option ($j:#channel), matches if the user is banned
692 from the other channel.
693- Allow opers to /who based on realhost.
694- Allow opers to /masktrace, /testmask based on realhost.
695- Add general::operspy_dont_care_user_info, limits operspy accountability to
696 channel-related information.
697- Make host mangling more reliable.
698- Prevent ban evasion by enabling/disabling host mangling.
699- Add EUID, sends real host and services account in the same command as other
700 user information.
701- Make it possible to send CHGHOST without ENCAP (fixes problems with old
702 services).
703- Allow service{} servers to manipulate the nick delay table (for "nickserv
704 enforcement", aka SVSHOLD).
705- Send server notices about connections initiated by remote opers network wide.
706- Fix too early truncation of JOIN channel list.
707- Make the newconf system available to modules.
708- Add /stats s to the hurt module to list active hurts.
709- Add general::servicestring, shown in /whois for opered services (+oS).
710- Show real host/IP behind dynamic spoof in /whois to the user themselves
711 and opers.
712- Document option to disable nick delay.
713- Improve logging of server connections.
714- Clean up handling of hostnames in connect blocks.
715- Remove support for resolving ip6.int, people should be using ip6.arpa.
716- Unbreak --disable-balloc (useful for debugging with tools like valgrind).
717- Make Solaris 10 I/O ports code compile.
718- Add WEBIRC module to allow showing the real host/IP of CGI:IRC users.
719- Comment out blacklist{} block in example confs, as AHBL requires
720 notification before use.
721- Fix some bugs relating to the resolver.
722
7e5f0af6 723## charybdis-2.0.0
212380e3
WP
724
725- Replace ADNS with a new smaller resolver from ircu and hybrid.
726- Make services shortcuts (/chanserv etc) configurable in ircd.conf.
727- Add extban: extensible +bqeI matching via modules. Syntax is
728 $<type>[:<data>]. By default no modules are loaded.
729- Add DNS blacklist checking.
730- Change operator{} block user@host from host to orighost. This means that
731 services/+h spoofs do not work in operator{} blocks; auth{} spoofs still
732 work. Check your operator{} blocks!
733- Split contrib/ into extensions/ and unsupported/.
734- Change CHGHOST do show the change to all other clients on common channels
735 with quit/join/mode.
736- Add /rehash nickdelay to clear out the nickdelay tables.
737- Glines are now disabled in the example confs.
738- Show more error messages on stderr.
739- Add OMODE command to extensions/ for easier oper mode hacking.
740- Add HURT system to extensions/; this shuns clients matching certain host/ip
741 unless and until they identify to services. Mainly intended for SorceryNet.
742- Show SASL success and failure counts in /stats t.
743- Allow more frequent autoconnects to servers.
744- Messaging services by nickname no longer uses target change slots.
745- Only accept SASL from servers in a service{} block.
746- New auth{} flag need_sasl to reject users who haven't done SASL
747 authentication.
748- Expand blah.blah and blah:blah to *!*@... instead of ...!*@* for bans
749- Don't allow opers to fake locops/operwall to +w.
750- Documentation updates.
751- Many bugfixes.
752
7e5f0af6 753## charybdis-1.1.0
212380e3
WP
754
755- Implement SAFELIST.
756- Incorporate ircu's match() algorithm.
757- Improve usermode modularization.
758- Seperate server notices into a seperate snomask, freeing up many
759 usermodes to be used.
760- Add support for SIGNON originating from Hyperion2.
761- Modularize many server notices into seperate modules.
762- Add hooks for can_join and can_create_channel.
763- Add support for SASL authentication.
764- Add introduce_user hook for adding new messages when a user is bursted.
765- Move a large part of the ircd into libcharybdis.
766- Don't complain "unknown user mode" if a user tries to unset
767 a mode they do not have access to.
768- Update our challenge specification to the challenge implementation in
769 ratbox 2.2 for interoperability.
770- Make +f notices network-wide (local host, global host,
771 global user@host, local class), other notices tied to +f remain local.
772- Allow ENCAP REALHOST outside of netburst.
773- Add general::global_snotices option to make server notices be
774 network-wide or not.
775- Add sno_farconnect.c to contrib, provides farconnect support.
776 Could be useful for BOPM.
777- Add sno_routing.c which displays information about netsplits, netjoins
778 and the clients affected by them.
779- Add CHANTRACE and TRACEMASK commands from ratbox 3.0
780- Use IsOperAdmin() instead of IsAdmin() when sending admin-only messages,
781 that way hidden admins get them too.
782- Add m_error to core_module_table, somehow it was missing.
783- Correct a format string bug that occurs when a read error is
784 received.
785- Add some logging in places where we drop servers and only notify
786 server operators.
787- Track hostmask limits based on a client's original host, if
788 available.
789- Move HIDE_SPOOF_IPS into the general {} block in ircd.conf
790
7e5f0af6 791## charybdis-1.0.3
212380e3
WP
792
793- Fix /invite UID leak. (Found by logiclrd@EFnet.)
794- Incorporate ratbox bugfixes for the MONITOR system.
795- Made show_ip() less braindead.
796- Show real errno if we fail to connect to a server.
797- Don't disclose server IP's when a connection fails.
798- Do not show the channels a service is sitting in.
799- Reverted the aline code from hybrid-7.2
800- Make sure TS6 services are recognized properly if connected remotely.
801- Tweak something in services support for cyrix boxes.
802
7e5f0af6 803## charybdis-1.0.2
212380e3
WP
804
805- Fix propagation of an empty SJOIN (permanant channels).
806- Fix an exploit involving a malformed /trace request.
807- Don't display a blank RPL_WHOISCHANNELS in a remote whois request.
808- Allow modules to provide new usermodes.
809- On a nickname collision, change the collided nick to their unique ID,
810 if general::collision_fnc is enabled in the config.
811- Don't allow UID lookups in /monitor + and /monitor s
812- Fix a garbage issue with channel mode +j.
813- Apply proper capability flags to the proper server in me_gcap().
814- Use find_named_person() instead of find_person() in a nick collision.
815- Prevent UID disclosure in cmode setting.
816- Prevent UID disclosure to remote clients in /kick.
817- Do not allow users to query via /whois <server> <UID>.
818- Don't allow local users to use UID's in local usermode changes.
819- Propagate +q lists on netjunction.
820- Clear +q lists on a lowerTS SJOIN.
821- Ported a generic k/d/x-line parser from hybrid-7.2 which resulted in
822 duplicate code reduction.
823- Fix linebuf raw code to not truncate lines longer than 512 bytes;
824 improves ziplink reliability on net junction.
825- Use find_named_person() vs find_person() in services alias code.
826- Fix issue where channel forwarding token can be lost on net junction.
827- Fix empty channel desync issues involving +P.
828- Remove unused non-ENCAP CHGHOST support.
829- Use TS6 form for SQUIT wallops.
830- Propagate nickname changes for remote clients in TS6 form if possible,
831 even if sent in TS5 format.
832- Only clear oper_only_umodes for local clients on deoper.
833
7e5f0af6 834## charybdis-1.0.1
212380e3
WP
835
836- Display logged in status on non-local clients too.
837- Documentation updates
838- Fix a bug with forward target authorization.
839- Fix a bug with mode propagation (+Q/+F).
840- Change ERR_NOSUCHNICK to ERR_SERVICESOFFLINE in services aliases.
841- Add remote rehashing.
842- Document service { } blocks (u:lines on ircu).
843- Document identify_service and identify_command in reference.conf.
844
7e5f0af6
WP
845## charybdis-1.0
846
212380e3 847- Implement channel mode +L for channel list limit exemptions.
6ec9c49f 848- Implement channel mode +P primarily as a status mode, permanant
212380e3
WP
849 channel -- this is usually enforced via services registrations.
850- Change behaviour of /stats p: now displays all staff members instead
851 of local ones only.
852- Make oper_list global, add local_oper_list for local traffic.
853- Strip control codes from parts and quits.
854- Add channel mode +c which strips control codes from messages sent to
855 the channel.
856- Add channel mode +g which enables free use of the /invite command.
857- Add channel mode +z which sends rejected messages to channel ops.
858 Could be useful for Q&A sessions or other similar events.
859- Add channel quietmasks. These are recommended over the use of channel
860 bans used to remove a user's ability to participate in the channel.
861- Add channel join throttling mode, +j. Used to throttle channel join
862 traffic, i.e. join/part flood attacks. Syntax: +j <joins>:<timeslice>
863- Improvements to channel_modes(), from shadowircd -- allows for
864 better construction of the mode string.
865- Use the undernet throttle notice instead of bancache message when
866 dealing with rejected clients. (stolen from ircu2.10.12)
867- Add channel forwarding, via channel mode +f, behaves similarly to
868 dancer-ircd version.
869- Update example.conf to reflect AthemeNET changes. Original ratbox
870 config is now reference.conf.
871- Services account names are now tracked globally.
872- Add channel mode +Q which disables the effects of channel forwarding
873 on a temporary basis.
874- Add channel mode +F which allows anybody to disable forwarding target
875 authorisation, voluntarily on their channels.
876- Make wallops behave like normal wallops.
877- Add services aliases: /ns, /cs, /os, /nickserv, /chanserv, /operserv.
878- Add simple hack that enables use of server password for automatic
879 identify.