Commit graph

  • a9415f39d3 - bump UnrealProtocol to 2312 for deny version blocks William Pitcock 2013-05-25 11:19:54 +00:00
  • 95137d435a - use SIDs and UIDs in server burst entirely if possible William Pitcock 2013-05-25 11:17:17 +00:00
  • e27e2db8e1 - m_sjoin: do not leak UIDs in netjoin to users William Pitcock 2013-05-25 11:04:35 +00:00
  • e39903554a - fix vmakebuf_local_withprefix() sizeof bug William Pitcock 2013-05-25 10:57:24 +00:00
  • 881d79e5b5 - more UID vs. non-UID translation William Pitcock 2013-05-25 09:52:35 +00:00
  • 8e450fccab - m_part: translate between UID and non-UID. William Pitcock 2013-05-25 09:47:42 +00:00
  • 56c6c504d1 - m_join: translate between UID and non-UID William Pitcock 2013-05-25 09:45:33 +00:00
  • cb35cfd306 - m_sjoin: translate between UID and non-UID. William Pitcock 2013-05-25 09:41:40 +00:00
  • 24363fd276 - fix typo William Pitcock 2013-05-25 08:20:53 +00:00
  • 91f4e1591d - sendto_message_one(): translate ID to nickname for non-SID servers William Pitcock 2013-05-25 02:03:49 +00:00
  • bdf6ecf552 - fdlist: do not update the backend if it is not actively tracking an FD William Pitcock 2013-05-25 00:30:38 +00:00
  • 349259eecb - remove check for -fno-strict-aliasing, we no longer need it William Pitcock 2013-05-24 23:32:55 +00:00
  • ff2b229663 - fix type-punning in decode_ip(). (#4205) William Pitcock 2013-05-24 23:21:17 +00:00
  • f5cfafb94e - ssl: include prototype for start_of_normal_client_handshake(). William Pitcock 2013-05-24 23:16:37 +00:00
  • 17f2ac31c5 - warning fixes William Pitcock 2013-05-24 23:13:32 +00:00
  • 7193b84876 - remove fdmaxcounter.c which seems not to be connected to anything William Pitcock 2013-05-24 22:54:22 +00:00
  • 7f01bc731d - use strlcat() instead of strncat() in send.c William Pitcock 2013-05-24 22:49:35 +00:00
  • 8e74fc64a5 - add valgrind suppressions file William Pitcock 2013-05-24 22:35:00 +00:00
  • 34cb24c62e - assorted warning fixes from clang William Pitcock 2013-05-24 22:15:20 +00:00
  • 2fb644e0ba - crule: evaluate currarg correctly William Pitcock 2013-05-24 22:05:18 +00:00
  • 3ba3e9d859 - GetIP() is used by strlcpy(), which must never be passed NULL. Cop out and use "255.255.255.255" if we don't know the IP. William Pitcock 2013-05-24 22:03:33 +00:00
  • 77c3cec8ce - sprinkle some asserts William Pitcock 2013-05-24 22:02:48 +00:00
  • 29027a21b6 - fix arbitrary write in sendto_common_channels(). William Pitcock 2013-05-24 21:50:32 +00:00
  • 5980dda3d1 - fix some various warnings William Pitcock 2013-05-24 21:02:55 +00:00
  • 63b56b04fb - clean up exit_client() more William Pitcock 2013-05-24 20:56:04 +00:00
  • 751306f3e3 - refactor exit_client() William Pitcock 2013-05-24 20:44:20 +00:00
  • 5cc6b4ae9b - move anUser struct over to memory pool, fix refcounting William Pitcock 2013-05-24 19:53:25 +00:00
  • c2a79026e2 - clean up an SID leak William Pitcock 2013-05-23 23:10:50 +00:00
  • 1f3cea4384 - fix UID handler William Pitcock 2013-05-23 23:08:33 +00:00
  • 85d4ff89b9 - burst: fix translation from UID to NICK message for UID clients William Pitcock 2013-05-23 22:45:42 +00:00
  • fcc4d96944 - if umodes is blank, send + William Pitcock 2013-05-23 11:00:46 +00:00
  • ae46850e2b - send UIDs on burst and new user to PROTO_SID servers. William Pitcock 2013-05-23 10:10:53 +00:00
  • 7297e91c71 - rewrite sendto_one_nickcmd_butone() to use sendto_server(). William Pitcock 2013-05-23 09:53:45 +00:00
  • b577128320 - Add UID command handler. William Pitcock 2013-05-23 09:19:21 +00:00
  • 5e11b7edd2 - update protoctl.txt removing numerics and adding SID token William Pitcock 2013-05-23 08:30:57 +00:00
  • 473a2dfbee - remove obsolete token.txt William Pitcock 2013-05-23 08:29:21 +00:00
  • c61d4c9079 - add ID() macro for SID vs UID William Pitcock 2013-05-23 08:18:09 +00:00
  • 37b6a3e919 - Simplify ircsnprintf(). Patch from FalconKirtaran. (#4211) William Pitcock 2013-05-23 03:42:01 +00:00
  • 3b29c325c6 - SASL: remove dead/unnecessary code found with coverity William Pitcock 2013-05-21 16:20:40 -05:00
  • bb93b10e67 - m_pingpong: since we manually hunt ourselves, check against ID too William Pitcock 2013-05-21 08:14:35 +00:00
  • 2ccaea07b5 - SID command: ensure we use non-SID name as origin on SERVER message (since it's for backwards compat) William Pitcock 2013-05-21 07:46:27 +00:00
  • 1853eaeeae - Quick attempt at cleaning up the mess for SIDs. William Pitcock 2013-05-21 07:17:39 +00:00
  • 7f156ad566 - add remote SIDs to ID hashtable William Pitcock 2013-05-21 06:52:45 +00:00
  • d4ea47eadd - do not send KILL to SIDs if they are unknown William Pitcock 2013-05-21 06:33:56 +00:00
  • afdf5d780a - Replace ircsprintf() with bounds-checking ircsnprintf(), patch from FalconKirtaran. (#4208) William Pitcock 2013-05-21 06:26:52 +00:00
  • 42a0071b2b - implement SID handler William Pitcock 2013-05-21 03:42:22 +00:00
  • 6d63a1b90f - fix regression caused by final stage of TOKEN removal William Pitcock 2013-05-21 02:22:39 +00:00
  • deeadee885 - find_person() and find_client(): make UID aware. if a Person is passed as the aClient ptr, do not check UIDs. William Pitcock 2013-05-21 02:10:14 +00:00
  • d7497ed79f - ensure callers of parse_client_queued() are aware of FLUSH_BUFFER William Pitcock 2013-05-21 01:49:54 +00:00
  • cea686b7fa - more reliably ensure we induce FLUSH_BUFFER on SID collision William Pitcock 2013-05-21 01:49:27 +00:00
  • f9259bf5a5 - avoid corrupting SID hashtable on collision. William Pitcock 2013-05-21 01:36:19 +00:00
  • 13351e550a - Add PROTO_SID, so that SID/UID messages can be sent with sendto_server(). William Pitcock 2013-05-21 01:16:01 +00:00
  • 7fa25a3e46 - display SID in MAP if available William Pitcock 2013-05-21 01:01:58 +00:00
  • 3c38cd42e3 - protoctl: parse SID= token William Pitcock 2013-05-21 00:58:46 +00:00
  • ef0b09e1f9 - m_nopost: log kills William Pitcock 2013-05-21 00:26:27 +00:00
  • ee739f4e46 - Include SID in handshake. William Pitcock 2013-05-20 22:01:41 +00:00
  • b02069f944 - Generate UIDs for local clients. William Pitcock 2013-05-20 22:00:24 +00:00
  • 01ff7c4a16 - document SID config option William Pitcock 2013-05-20 21:35:33 +00:00
  • 432afdef0f - initialize uid subsystem when ircd config is loaded William Pitcock 2013-05-20 21:33:18 +00:00
  • e338c318c3 - add UID generator William Pitcock 2013-05-20 21:14:48 +00:00
  • 5eac4b95f9 - chm_permanent: use static initializer William Pitcock 2013-05-20 20:08:26 +00:00
  • 0a1624e24a - m_cap: readd code to break a loop that i removed by accident William Pitcock 2013-05-20 20:03:40 +00:00
  • af1e9ebcbf - Add permanent channel mode. (#4117) William Pitcock 2013-05-20 19:55:47 +00:00
  • 01dffdfa46 - Extend HOOKTYPE_CHANNEL_DESTROY to allow cancelling the destroy event. William Pitcock 2013-05-20 19:37:43 +00:00
  • 06d9bd81ab - Introduce C99 stdbool.h. William Pitcock 2013-05-20 19:36:22 +00:00
  • b9eb1efd87 - Add missing module cap_invitenotify. William Pitcock 2013-05-20 18:23:48 +00:00
  • 93737c2f28 - Implement proposed invite-notify CAP. William Pitcock 2013-05-20 18:22:35 +00:00
  • 1698007836 - Add HOOKTYPE_INVITE William Pitcock 2013-05-20 18:07:25 +00:00
  • 5b32e5fa79 - m_sasl: take over cap_sasl implementation William Pitcock 2013-05-20 17:33:06 +00:00
  • c00350b760 - Move tls cap to m_starttls. William Pitcock 2013-05-20 17:28:53 +00:00
  • 9d78a92976 - Modularize the core of CAP. Now, we have HOOKTYPE_CAPLIST, which allows for ClientCapability objects to be added to the list. William Pitcock 2013-05-20 17:22:01 +00:00
  • f5cc654a06 - Initial work on modularizing CAP. William Pitcock 2013-05-20 17:04:16 +00:00
  • d8d3156f43 - dbuf vestige cleanup: missed a spot William Pitcock 2013-05-20 16:39:34 +00:00
  • 5a0891a1f7 - Remove some old vestiges of the old dbuf code. William Pitcock 2013-05-20 16:30:10 +00:00
  • 27bdd21a4a - remove obsolete debug notice from evented i/o conversion William Pitcock 2013-05-20 16:17:01 +00:00
  • fda8377a02 - Remove AKILL/RAKILL commands. (#3662) William Pitcock 2013-05-20 07:41:51 +00:00
  • 468f1eddab - make modules loading relative to SPATH. William Pitcock 2013-05-20 07:35:20 +00:00
  • 37b13dd90c - LISTEN_SIZE should either be 5 or SOMAXCONN if defined. Nothing else. (#4204) William Pitcock 2013-05-20 07:26:34 +00:00
  • 42d8a95c2c - remove BUFFERPOOL, which is not used by the new dbuf code William Pitcock 2013-05-20 05:11:46 +00:00
  • 691503dc3e - remove 'trouble reporting system' used by old dbuf code. new dbuf code cannot have a malloc failure due to memory pooling. William Pitcock 2013-05-20 05:08:59 +00:00
  • 9a4bea10f8 - rewrite dbuf code to use memory pool and list framework this probably has bugs, consider it to be less than resilient. William Pitcock 2013-05-20 05:07:00 +00:00
  • 6b9885e08a - mempool: use MyMallocEx() instead of MyMalloc(). William Pitcock 2013-05-20 04:02:27 +00:00
  • b9c9f9baa8 - Fix va_list usage warnings flagged by Purify. William Pitcock 2013-05-20 02:23:33 +00:00
  • df1b02adb9 - Allow the ircd to be started without a cloaking module. (#3726) William Pitcock 2013-05-20 02:07:51 +00:00
  • 61fe014771 - Remove sendto_server_butone() and friends, now everything uses sendto_server(). (#4202) Patch from FalconKirtaran. William Pitcock 2013-05-20 01:21:45 +00:00
  • 67aacc7e9b - add memory pool code William Pitcock 2013-05-20 01:18:24 +00:00
  • b72fc723d9 - start up event manager immediately in main() William Pitcock 2013-05-20 01:16:11 +00:00
  • a7041c9294 - Clean up remaining minefield of va_start() misuse. (#3641) William Pitcock 2013-05-19 23:24:12 +00:00
  • 63e1786a7d - Remove no longer used sendto_serv_nickv2 functions. These look like they were removed in Unreal 3.1! William Pitcock 2013-05-19 23:15:05 +00:00
  • 47e5ac9734 - Remove sendto_serv_sjoin() and sendto_serv_butone_sjoin(). William Pitcock 2013-05-19 23:12:27 +00:00
  • 109097b819 - Update m_template to live in a token-free world and clean up remaining deritus. (#4082) William Pitcock 2013-05-19 22:34:39 +00:00
  • d415c974b2 - Remove sendto_serv_butone_token_opt(). William Pitcock 2013-05-19 22:31:03 +00:00
  • d570031097 - Replace sendto_server_butone_token_opt() calls with sendto_server(). William Pitcock 2013-05-19 22:27:55 +00:00
  • 85ff3dd136 - Remove JOIN_INSTEAD_OF_SJOIN_ON_REMOTEJOIN config.h option. William Pitcock 2013-05-19 22:19:12 +00:00
  • c843ebe36a - Remove sendto_serv_butone_quit() from headers too William Pitcock 2013-05-19 22:17:06 +00:00
  • befbb8b691 - Replace sendto_serv_butone_quit() with William Pitcock 2013-05-19 22:16:34 +00:00
  • 1a27e5fc9b - Allow 0 for NOCAPS usage. William Pitcock 2013-05-19 22:02:14 +00:00
  • 65bbf390ce - Add sendto_server() to replace all the old sendto_foo() crap. William Pitcock 2013-05-19 21:59:45 +00:00
  • b413848524 - TOK_FOO removal pass 2 William Pitcock 2013-05-19 21:40:45 +00:00
  • 40aeea3f0f - Remove token references from add_Command, msg.h William Pitcock 2013-05-19 21:36:11 +00:00