Commit Graph

1150 Commits

Author SHA1 Message Date
Jilles Tjoelker 448a723f81 Disallow double quotes in klines.
These could cause parse problems with kline.conf.
2009-05-08 01:50:35 +02:00
Jilles Tjoelker 6e5b8a5dec Disallow commas in channel resvs.
These can never match and could cause parse problems in resv.conf.
2009-05-08 01:23:40 +02:00
Jilles Tjoelker 63860dd1a7 Change xlines to store spaces as \s.
Spaces in xline.conf files are changed to \s in memory
and recognized on unxline, but are not changed in the
file. New xlines are added to xline.conf files with \s.

xline.conf written by this commit or newer will not work
properly with charybdis older than 1124:131254925f32 (which
introduced \s support in match_esc()).
2009-05-08 00:21:14 +02:00
Jilles Tjoelker eb5e3f1520 Stop changing \s to spaces in masktrace and testmask,
match_esc() handles \s directly now.
2009-05-07 23:58:32 +02:00
Jilles Tjoelker 031c4b89d3 Move check for required CAPABs to mr_server -- CAPAB may not be sent.
Also fix exit message.
2009-04-21 18:43:07 +02:00
William Pitcock fde16193c4 Allow for capabilities to be marked as "required".
If capability negotiation fails on these capabilities, then the server link is dropped.
2009-04-20 09:36:55 -05:00
William Pitcock 16d8d9fc6d can_kick hook, based on the ircd-seven one. 2009-04-20 09:20:11 -05:00
William Pitcock ab45668d6a Automatic branch merge from 'origin/freenode/ircd-seven-merge-to-3.2' to 'trunk'. 2009-04-20 08:43:35 -05:00
Stephen Bennett 1229514e6d / is a host character and not a nick character, so make pretty_mask treat it as such 2009-04-20 08:42:41 -05:00
Stephen Bennett 59bb80930d Allow / in spoofed hosts 2009-04-20 08:37:13 -05:00
Jilles Tjoelker cb9345dcd1 Simplify floodcount checking, it is no longer affected by +g/+R anymore. 2009-04-19 00:04:21 +02:00
Jilles Tjoelker c925bc7706 Use uid/sid for some ERR_CHANOPRIVSNEEDED if they go to a remote client. 2009-04-09 23:45:35 +02:00
Jilles Tjoelker 6d4df0e35c Fix compilation with --enable-assert=soft. 2009-04-08 21:30:58 +02:00
Jilles Tjoelker 0c73c94217 Remove some unused variables. 2009-04-08 21:30:34 +02:00
Jilles Tjoelker 1773e9cbab Add description for TB and TOPIC messages. 2009-03-29 22:05:59 +02:00
Jilles Tjoelker fce3e27d20 Update sgml documentation for +z enhancement. 2009-03-29 18:55:23 +02:00
Jilles Tjoelker 80df74cfc5 Add new topic command ETB, allowing services to set topic+setter+ts always
(provided channelTS != 0).

ETB is controlled by the EOPMOD capab. Fairly complicated
stuff is needed for older servers.

ETB can come from clients or servers, but at this time it
should only be sent from clients, as otherwise it is not
always possible to update older servers.
2009-03-29 17:08:42 +02:00
Jilles Tjoelker 6ce8910d97 Apply +z to messages blocked by +b and +q as well.
This adds a new server capab EOPMOD which will be used
for an extended topic command also.
2009-03-29 15:48:07 +02:00
Jilles Tjoelker b03d78803d Mention that @#chan/+#chan requires CHW capab. 2009-03-29 15:04:17 +02:00
Jilles Tjoelker c066192cad Add GUNGLINE to protocol documentation (efnet only, not in charybdis). 2009-03-25 00:34:12 +01:00
Jilles Tjoelker 2ab422dbdd No profanity. 2009-03-13 19:36:49 +01:00
William Pitcock efd2d7e0e5 Our IRC oper messages are now as enhanced as enhanced interrogation techniques. 2009-03-08 21:06:33 -05:00
Jilles Tjoelker 63a99968da Add /rehash throttles to help file. 2009-03-08 16:45:09 +01:00
Jilles Tjoelker 13ea0f1cd1 rehash bans: show mask in k/x line over-ruled notice
This was already shown in the over-ruled notices on k/x line add.
2009-03-08 14:31:50 +01:00
Jilles Tjoelker 6bba251749 rehash bans: still check k/x lines for users exempt from dlines 2009-03-08 13:30:30 +01:00
Jilles Tjoelker 638156bac9 Use ratbox's match_esc(), this allows \s for space. 2009-03-08 02:14:26 +01:00
Jilles Tjoelker cb4ddd7268 Do not send "<blah> is rehashing <blah>" notices to the remote oper. 2009-03-07 16:57:58 +01:00
Jilles Tjoelker 9bf8f69cc6 Fix close detection with ssl+zip, porting more code from ircd-ratbox.
This tells the SSL ssld to report connection closure to ircd
using the new fd.
2009-03-07 03:23:17 +01:00
Jilles Tjoelker 0b1e46f5b4 Allow /rehash throttles to clear throttling. 2009-03-07 01:49:09 +01:00
Jilles Tjoelker dbbe21ed03 Rework remote rehash messages to apply to all server notices during rehash.
Previously various notices such as those applying
to modules were not sent to the remote oper.
2009-03-07 01:27:05 +01:00
Jilles Tjoelker 9fc01c8c31 ssld: Do not do redundant rb_setselect().
Apparently solaris devpoll/ports may have a problem
with this.
from ircd-ratbox (androsyn)
2009-03-03 22:32:18 +01:00
Jilles Tjoelker 76caaecbba Remove unused declaration. 2009-03-03 22:26:45 +01:00
Jilles Tjoelker 8fc0a9b621 Correct WHOX overflow check so it also works for fields other than the last.
Found with llvm static analyzer.
2009-03-01 01:58:53 +01:00
Jilles Tjoelker a6210c453a Remove some unused variables.
Found with llvm static analyzer.
2009-03-01 01:53:40 +01:00
Jilles Tjoelker d2d703a1d7 Document efnet-style GLINE protocol. 2009-03-01 01:03:58 +01:00
Jilles Tjoelker 00ba96a1eb Import new mkpasswd from ircd-ratbox.
This now uses libratbox.
2009-02-22 00:59:16 +01:00
Jilles Tjoelker 29b39b1139 Rerun autoconf. 2009-02-22 00:45:50 +01:00
Jilles Tjoelker 07b9ca8dc8 Remove some warning that will not be fixed. 2009-02-22 00:45:41 +01:00
Jilles Tjoelker dea418e9b4 Add channel::only_ascii_channels config option
to restrict channel names to printable ascii only.
Like disable_fake_channels this only applies to joins
by local users; unlike disable_fake_channels it applies
to opers as well.
2009-02-22 00:12:21 +01:00
Jilles Tjoelker 2a003301de Avoid unnecessary const violation. 2009-02-22 00:05:48 +01:00
Jilles Tjoelker 0052db1664 -Wbad-function-cast is stupid. 2009-02-22 00:02:51 +01:00
Jilles Tjoelker 3fb4733090 Added tag charybdis-3.1.0 for changeset f54b0af927a7 2009-02-08 21:50:07 +01:00
Jilles Tjoelker 5404da73a1 Do not create directories under PREFIX while building. 2009-02-08 21:18:26 +01:00
Jilles Tjoelker e71a453543 Rerun autoconf. 2009-02-08 21:11:59 +01:00
Jilles Tjoelker 72bd8d6b16 Bump version to 3.1.0. 2009-02-08 21:11:33 +01:00
Jilles Tjoelker 377b98f079 autogen.sh is not necessary at this time, and did not work anyway. 2009-02-08 21:09:29 +01:00
Jilles Tjoelker a8b9939d4b Update NEWS. 2009-02-08 16:27:05 +01:00
Jilles Tjoelker 16834df2c2 Clarify some PRIVMSG/NOTICE restrictions. 2009-02-08 15:48:04 +01:00
Jilles Tjoelker fbe27d504f Numerics are also server-server messages. 2009-02-08 15:39:12 +01:00
Jilles Tjoelker 1a4058095d Fix an off by one error with zipstats processing
from ircd-ratbox (androsyn)
2009-02-07 23:26:05 +01:00