Commit graph

  • e99f612205 ssld: Fix an fd leak when closing connections. Jilles Tjoelker 2009-11-15 23:11:18 +01:00
  • c03677e9be ssld: Do not crash if not all fds in a message could be received. Actually fill the mod_ctl_buf_t.nfds field. Jilles Tjoelker 2009-11-15 22:41:02 +01:00
  • ae62bed786 Automated merge with ssh://hg.atheme.org//hg/charybdis William Pitcock 2009-10-24 21:07:53 -05:00
  • 04708f0e5b If you're going to censor my jokes, at least do it right. William Pitcock 2009-10-24 21:07:41 -05:00
  • b23244702a Note that blacklist{} only accepts host/reason pairs, no host+host+reason. Jilles Tjoelker 2009-10-18 21:08:37 +02:00
  • f4d319c7ae Use full (:n!u@h) prefix for sending ETB from a user to clients. Jilles Tjoelker 2009-09-20 00:44:47 +02:00
  • c2c25552ca Force part local users (not resv_exempt) on channel resv. A notice will be sent to any force parted users that the channel is temporarily/permanently unavailable on the server. A new config option channel::resv_forcepart can be used to disable this. Jilles Tjoelker 2009-09-19 21:24:35 +02:00
  • 5cca545c3c Display o:line "nickname" in global oper-up messages. William Pitcock 2009-07-13 12:55:35 -05:00
  • 90e960f061 Fix fd passing on FreeBSD/amd64 and possibly Solaris/sparc. The number of file descriptors in the message was not determined correctly. Jilles Tjoelker 2009-07-10 00:27:01 +02:00
  • beccbe318c Show yyerror() parse errors on stderr on startup. Jilles Tjoelker 2009-06-18 00:37:19 +02:00
  • e3c9ea195e Correct clone command. Jilles Tjoelker 2009-06-09 18:46:40 +02:00
  • 72d36704fc Disallow changing away status via /presence. Allowing this desynchronizes clients and servers that do not know about this extension without good reason. If you want to allow this, change it to spit out the usual AWAY protocol. Jilles Tjoelker 2009-06-04 00:01:57 +02:00
  • 50325a6667 Reject presence updates with too long keys, instead of truncating them and causing soft assertion failures. Values are still silently truncated though. Jilles Tjoelker 2009-06-03 23:49:50 +02:00
  • 7919c03041 Add new constants for presence key/value lengths instead of overloading NICKLEN/TOPICLEN. Jilles Tjoelker 2009-06-03 23:38:07 +02:00
  • 553aaaf4db Remove two obsolete constants. Jilles Tjoelker 2009-06-03 23:18:07 +02:00
  • 383eac2e64 Do not send two 792 numerics when changing a metadata from one non-empty value to another. Jilles Tjoelker 2009-06-03 20:44:37 +02:00
  • 331c548d9d Correct minimum parameter counts for PRESENCE. Jilles Tjoelker 2009-06-03 20:03:15 +02:00
  • 5beadfb00f ENCAPs cannot come from local clients, no need to check. Jilles Tjoelker 2009-06-03 19:57:27 +02:00
  • beafd0ee32 Remove special CAP presence handling of /whois away message. This cannot work because /whois is executed remotely too and CAPs aren't known remotely. Jilles Tjoelker 2009-06-03 19:54:49 +02:00
  • 0fc5aeca53 presence: m_presence module: Use safer get_metadata() where appropriate, to avoid crash possibilities. William Pitcock 2009-06-02 02:55:45 -05:00
  • 2914055be3 presence: send..._with_capability...(): don't send if the client does not have the capab but isn't on a channel William Pitcock 2009-06-02 02:48:22 -05:00
  • 9def763407 presence: delete_metadata(): Free from the right heap. William Pitcock 2009-06-02 02:46:37 -05:00
  • f72de72bf4 presence: Use RPL_WHOISMETADATA. William Pitcock 2009-06-02 02:44:31 -05:00
  • 972e31192f presence: Add _butone() variant of sendto_common_channels_local_with_capability(). William Pitcock 2009-06-02 02:38:38 -05:00
  • 48c5e056ca presence: Broadcast presence changes to peer clients with CLICAP_PRESENCE. William Pitcock 2009-06-02 02:36:18 -05:00
  • 695cc4bc0c presence: Declare RPL_METADATACHG. William Pitcock 2009-06-02 02:32:07 -05:00
  • 62928328bf presence: Add sendto_common_channels_local_with_capability(), used for broadcasting presence updates. William Pitcock 2009-06-02 02:28:02 -05:00
  • 727bca6269 presence: Declare RPL_WHOISMETADATA. William Pitcock 2009-06-02 02:19:37 -05:00
  • 8f2d1ccf7f presence: If CLICAP_PRESENCE is enabled, then RPL_AWAY is replaced by the "away" keyword in the presence dataset. As such, only fall back to legacy RPL_AWAY if CLICAP_PRESENCE is not set on source_p. William Pitcock 2009-06-02 02:17:42 -05:00
  • 54ff698839 presence: Add CLICAP_PRESENCE. This will enable broadcasting presence updates on channels. William Pitcock 2009-06-02 02:14:44 -05:00
  • 28d4abde2b presence: Remove no longer used away_heap. William Pitcock 2009-06-02 02:08:45 -05:00
  • 4af8bcef59 presence: Replace stagnant free_away() call with delete_metadata(..., "away"). William Pitcock 2009-06-02 02:06:18 -05:00
  • 884b5d41c1 presence: Remove user.away, replaced by a metadata entry. Cache the metadata retrieval value where feasible for minimal performance impact. William Pitcock 2009-06-02 02:03:51 -05:00
  • df2688426d presence: Make set_metadata() erase any old metadata for an entry. William Pitcock 2009-06-02 01:53:05 -05:00
  • 75ea650c3c presence: Add get_metadata(). William Pitcock 2009-06-02 01:50:40 -05:00
  • 45d1f80189 presence: Add m_presence module. This provides an ENCAP s2s interface and lowlevel client interface. William Pitcock 2009-06-02 01:45:43 -05:00
  • e581ea8e3d presence: Add set_metadata() and delete_metadata(). William Pitcock 2009-06-02 01:41:44 -05:00
  • 195d10c293 presence: Declare RPL_METADATASET and RPL_METADATAREM. William Pitcock 2009-06-02 01:32:09 -05:00
  • f01154c478 presence: Declare MetadataEntry struct. William Pitcock 2009-06-02 01:29:58 -05:00
  • 0d3b24f9cf presence: Create presence metadata tracking structures where appropriate. William Pitcock 2009-05-30 13:30:57 -05:00
  • d7ca5991bc struct Client: add a dictionary to contain presence metadata. William Pitcock 2009-05-30 13:17:39 -05:00
  • 32a7faa104 Automated merge with ssh://hg.atheme.org//hg/charybdis William Pitcock 2009-05-30 13:16:01 -05:00
  • 8669b3b99c Add irc_dictionary.h to stdinc. I'm lazy. William Pitcock 2009-05-30 13:15:58 -05:00
  • 1bb1f1b0e7 Remove check_banned_lines() code duplication. We can just call check_dlines(), check_klines() and check_xlines(). Jilles Tjoelker 2009-05-21 23:11:32 +02:00
  • 6dbb113478 Remove some obsolete unused definitions. Jilles Tjoelker 2009-05-21 16:01:46 +02:00
  • aa9c9ed268 Allow ctcp replies through floodcount after ctcp'ing a large group. Jilles Tjoelker 2009-05-17 20:52:16 +02:00
  • cf09122bf7 Check the return value on rb_pipe. from ircd-ratbox (r26515) (androsyn) Jilles Tjoelker 2009-05-13 22:07:57 +02:00
  • c04a500dfa Remove unused inet_socketpair() code, this is in libratbox now. Jilles Tjoelker 2009-05-12 23:56:28 +02:00
  • eda22d87af More rb_socketpair() return value checks. from ircd-ratbox (r26507) (androsyn) Jilles Tjoelker 2009-05-12 23:30:46 +02:00
  • 6388eda683 Report errors and close the incoming connection if socketpair fails for ssl connections. from ircd-ratbox (r26503) (androsyn) Jilles Tjoelker 2009-05-12 23:18:41 +02:00
  • cef0fc6693 Update copyright years in sgml docs. Jilles Tjoelker 2009-05-08 22:40:18 +02:00
  • 6c43f550b2 Remove notes about now fixed xline \s bugs from sgml docs. Jilles Tjoelker 2009-05-08 22:37:20 +02:00
  • d69601a5e2 Rewrite perm xlines containing '",' from local opers (to '"\,'). The change also applies to xlines sent to other servers. Note that the backslash must be supplied in an unxline. Incoming xlines containing '",' are rejected to avoid inconsistency between servers. Jilles Tjoelker 2009-05-08 14:42:55 +02:00
  • cc169c9476 Disallow the sequence '",' in perm xlines, it would cause problems with xline.conf. Jilles Tjoelker 2009-05-08 14:27:30 +02:00
  • 395935d103 Change \s to space when writing xline.conf, to be compatible with older versions. Jilles Tjoelker 2009-05-08 13:40:09 +02:00
  • 23a8f750f7 Disallow double quotes in klines. These could cause parse problems with kline.conf. Jilles Tjoelker 2009-05-08 01:50:35 +02:00
  • b0f30fa1ca Disallow commas in channel resvs. These can never match and could cause parse problems in resv.conf. Jilles Tjoelker 2009-05-08 01:23:40 +02:00
  • 97c9dd8a26 Change xlines to store spaces as \s. Jilles Tjoelker 2009-05-08 00:21:14 +02:00
  • 39b23540e3 Stop changing \s to spaces in masktrace and testmask, match_esc() handles \s directly now. Jilles Tjoelker 2009-05-07 23:58:32 +02:00
  • a416ed2e79 Move check for required CAPABs to mr_server -- CAPAB may not be sent. Also fix exit message. Jilles Tjoelker 2009-04-21 18:43:07 +02:00
  • c6240d7940 Allow for capabilities to be marked as "required". If capability negotiation fails on these capabilities, then the server link is dropped. William Pitcock 2009-04-20 09:36:55 -05:00
  • 5f8d323c59 can_kick hook, based on the ircd-seven one. William Pitcock 2009-04-20 09:20:11 -05:00
  • 84405686ac Automatic branch merge from 'origin/freenode/ircd-seven-merge-to-3.2' to 'trunk'. William Pitcock 2009-04-20 08:43:35 -05:00
  • 179f024d18 / is a host character and not a nick character, so make pretty_mask treat it as such Stephen Bennett 2009-04-20 08:42:41 -05:00
  • 9a180ae365 Allow / in spoofed hosts Stephen Bennett 2009-04-20 08:37:13 -05:00
  • b7b1d686a9 Simplify floodcount checking, it is no longer affected by +g/+R anymore. Jilles Tjoelker 2009-04-19 00:04:21 +02:00
  • 631b4a542a Use uid/sid for some ERR_CHANOPRIVSNEEDED if they go to a remote client. Jilles Tjoelker 2009-04-09 23:45:35 +02:00
  • 8c23bb2e21 Fix compilation with --enable-assert=soft. Jilles Tjoelker 2009-04-08 21:30:58 +02:00
  • 8b27cfefe8 Remove some unused variables. Jilles Tjoelker 2009-04-08 21:30:34 +02:00
  • 3e0bb80ad1 Add description for TB and TOPIC messages. Jilles Tjoelker 2009-03-29 22:05:59 +02:00
  • 623322e8d9 Update sgml documentation for +z enhancement. Jilles Tjoelker 2009-03-29 18:55:23 +02:00
  • 2ae93813bd Add new topic command ETB, allowing services to set topic+setter+ts always (provided channelTS != 0). Jilles Tjoelker 2009-03-29 17:08:42 +02:00
  • c4d2d01419 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. Jilles Tjoelker 2009-03-29 15:48:07 +02:00
  • 1ba5ea0f06 Mention that @#chan/+#chan requires CHW capab. Jilles Tjoelker 2009-03-29 15:04:17 +02:00
  • 7e7004c4d7 Add GUNGLINE to protocol documentation (efnet only, not in charybdis). Jilles Tjoelker 2009-03-25 00:34:12 +01:00
  • 8347bf2459 No profanity. Jilles Tjoelker 2009-03-13 19:36:49 +01:00
  • ca6a194d92 Our IRC oper messages are now as enhanced as enhanced interrogation techniques. William Pitcock 2009-03-08 21:06:33 -05:00
  • 817e934b04 Add /rehash throttles to help file. Jilles Tjoelker 2009-03-08 16:45:09 +01:00
  • 408024fa63 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. Jilles Tjoelker 2009-03-08 14:31:50 +01:00
  • 7340b36bf2 rehash bans: still check k/x lines for users exempt from dlines Jilles Tjoelker 2009-03-08 13:30:30 +01:00
  • 7eecdd6894 Use ratbox's match_esc(), this allows \s for space. Jilles Tjoelker 2009-03-08 02:14:26 +01:00
  • 61b7e0d959 Do not send "<blah> is rehashing <blah>" notices to the remote oper. Jilles Tjoelker 2009-03-07 16:57:58 +01:00
  • 07c2bb757d 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. Jilles Tjoelker 2009-03-07 03:23:17 +01:00
  • 995f300eb1 Allow /rehash throttles to clear throttling. Jilles Tjoelker 2009-03-07 01:49:09 +01:00
  • ad13bb7556 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. Jilles Tjoelker 2009-03-07 01:27:05 +01:00
  • 464b7606a8 ssld: Do not do redundant rb_setselect(). Apparently solaris devpoll/ports may have a problem with this. from ircd-ratbox (androsyn) Jilles Tjoelker 2009-03-03 22:32:18 +01:00
  • b9620c24ef Remove unused declaration. Jilles Tjoelker 2009-03-03 22:26:45 +01:00
  • 94734aacc6 Correct WHOX overflow check so it also works for fields other than the last. Found with llvm static analyzer. Jilles Tjoelker 2009-03-01 01:58:53 +01:00
  • f93bc39774 Remove some unused variables. Found with llvm static analyzer. Jilles Tjoelker 2009-03-01 01:53:40 +01:00
  • 86aba27c2d Document efnet-style GLINE protocol. Jilles Tjoelker 2009-03-01 01:03:58 +01:00
  • f1d07f6b7c Import new mkpasswd from ircd-ratbox. This now uses libratbox. Jilles Tjoelker 2009-02-22 00:59:16 +01:00
  • 4a584d412e Rerun autoconf. Jilles Tjoelker 2009-02-22 00:45:50 +01:00
  • f9a9ffacc1 Remove some warning that will not be fixed. Jilles Tjoelker 2009-02-22 00:45:41 +01:00
  • 6865c0b099 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. Jilles Tjoelker 2009-02-22 00:12:21 +01:00
  • 54828d589d Avoid unnecessary const violation. Jilles Tjoelker 2009-02-22 00:05:48 +01:00
  • dc396efea9 -Wbad-function-cast is stupid. Jilles Tjoelker 2009-02-22 00:02:51 +01:00
  • 596e2178a9 Added tag charybdis-3.1.0 for changeset f54b0af927a7 Jilles Tjoelker 2009-02-08 21:50:07 +01:00
  • e9f64b98ac Do not create directories under PREFIX while building. Jilles Tjoelker 2009-02-08 21:18:26 +01:00
  • aa150eb94c Rerun autoconf. Jilles Tjoelker 2009-02-08 21:11:59 +01:00
  • 2723453983 Bump version to 3.1.0. Jilles Tjoelker 2009-02-08 21:11:33 +01:00