Commit graph

  • 68ba94c136 Make './unreal backtrace' work again. Hmmm. Bram Matthys 2015-07-12 18:07:10 +02:00
  • 7e78f04058 add src/api-clicap.c and hide 'sasl' when needed (as before) via the clicap->visible callback function Bram Matthys 2015-07-12 17:17:19 +02:00
  • 372ce82335 Make client capabilities a modular sub-system, as it should have been since the beginning. Bram Matthys 2015-07-12 17:10:48 +02:00
  • e0a12b54af loosen some magic in isupport api Bram Matthys 2015-07-12 16:30:08 +02:00
  • d753714abe use enum for module object types Bram Matthys 2015-07-12 16:08:28 +02:00
  • ec61a75cf6 cleanup m_module Bram Matthys 2015-07-12 16:02:06 +02:00
  • 95b13123a3 and from sample conf Bram Matthys 2015-07-12 15:54:01 +02:00
  • 4e39c08a4d Nobody uses this.. Bram Matthys 2015-07-12 15:53:12 +02:00
  • c7974591b5 remove some comments regarding add_command Bram Matthys 2015-07-12 15:48:50 +02:00
  • 6221333bfe Use CommandAdd() everywhere, even in core. Bram Matthys 2015-07-12 15:47:51 +02:00
  • a0aa1032a5 get rid of m_dummy & m_chmodetst, we have wiki for such docs (wasn't compiled nor loaded anyway) Bram Matthys 2015-07-12 15:36:09 +02:00
  • d33f1ca8f6 Remove /ADDLINE: it's (too) easy to create a broken configuration file this way and then have an un-rehashable and un-bootable IRCd without having shell access. Use SSH or SFTP/SCP instead. Or even better: remote includes, of course :) Bram Matthys 2015-07-12 15:34:08 +02:00
  • bbb121383b Add who-may-execute-this in many CommandAdd()'s. Trying to remove all "unspecified" (0) ones... hopefully I made no mistake in this ;) Update remote-permission check in ValidatePermissionsForPath to check at least IsOper.. may save us from some serious mistakes ;) Bram Matthys 2015-07-12 15:32:11 +02:00
  • da935b7e41 Remove /UNZLINE and /UNKLINE: all these commands did was tell you to use /ZLINE -xx and /KLINE -xx instead. Bram Matthys 2015-07-11 11:21:42 +02:00
  • 6c0ebb5bd3 Protection against linking race conditions is back again (IOTW: allow very rapid re-linking), but only if your network is fully 3.4.x (actually: current git unreal34 or later) Re-implemented PROTOCTL SERVERS= which nenolod ripped out (#4355). Add 2nd argument to PROTOCTL EAUTH=servername,unrealprotocol Change UnrealProtocol from 2350 to 2351 Bram Matthys 2015-07-10 21:57:13 +02:00
  • 5e23fadefb 26*26 != 36*36 Bram Matthys 2015-07-10 15:07:17 +02:00
  • 2d11c132f8 Replace UID generator: random + counter. This because you can otherwise enumerate users (reported by Adam). Bram Matthys 2015-07-10 14:58:53 +02:00
  • 145e2880b5 Partially rewrite m_kill. Hope it's all okay. Use UID's too (why wasn't it using it UID's already? this is like THE first candidate :D) Bram Matthys 2015-07-10 13:49:25 +02:00
  • e52545c107 update release notes a bit Bram Matthys 2015-07-10 13:00:39 +02:00
  • 6747653e90 update release notes on parv[0] (under MODULE CODERS) Bram Matthys 2015-07-10 12:36:08 +02:00
  • 0c516abc76 You can now no longer use parv[0]. Doing so will lead to a crash, this is intentional. Use sptr->name instead. No UnrealIRCd code reads from parv[0] anymore. Perhaps later, after a few stable versions, we'll turn this into something more useful. Or not. But not soon. Bram Matthys 2015-07-10 12:29:07 +02:00
  • e8dfb284a1 Replace parv[0] with sptr->name. Don't use parv[0] anymore. I went through all 500+ of them by hand as to avoid introducing bugs... we'll see ;) Bram Matthys 2015-07-10 12:17:05 +02:00
  • 0b13883c69 Make swhois use AddListItemPrio. SWHOIS priorities should work now (untested) Bram Matthys 2015-07-10 11:11:37 +02:00
  • 71d3e8dbfa New function AddListItemPrio, since we now use priorities in two places already (swhois, hooks). Bram Matthys 2015-07-10 11:10:10 +02:00
  • 9ca6d10785 fix one more tiny (xx bytes) memory leak on /REHASH Bram Matthys 2015-07-10 10:51:27 +02:00
  • d542db2aaa Fix invalid /GLOBOPS format string call (introduced a few days ago) Bram Matthys 2015-07-10 10:46:09 +02:00
  • a9fc2243aa support multiple vhost::swhois items for consistency Bram Matthys 2015-07-10 10:44:40 +02:00
  • 3cfee0f384 fix a number of /REHASH memleaks Bram Matthys 2015-07-10 10:40:07 +02:00
  • 405ede44c2 ircfree -> safefree. ircstrdrup -> safestrdrup Bram Matthys 2015-07-10 10:22:02 +02:00
  • c2f4e0fb2a Support multiple oper::swhois items. Bram Matthys 2015-07-10 10:15:36 +02:00
  • de1c6330eb Add validation to operclass parsing Travis McArthur 2015-07-09 15:23:58 -07:00
  • 9241701b0d Update gitignore for 3rd party module makefile Travis McArthur 2015-07-09 13:40:05 -07:00
  • f9a7cdaeab Update security on register-only messages umode Travis McArthur 2015-07-09 13:39:43 -07:00
  • 0f84e1c417 Update m_userip security Travis McArthur 2015-07-09 13:39:34 -07:00
  • 900c51ed13 Add paranoid null check Travis McArthur 2015-07-09 13:39:15 -07:00
  • fc38b1336a Update security in m_stats Travis McArthur 2015-07-09 13:39:08 -07:00
  • 7ea4dc1486 Update security in m_setident Travis McArthur 2015-07-09 13:39:00 -07:00
  • 7caa82e868 Update security in m_nick Travis McArthur 2015-07-09 13:38:53 -07:00
  • 9e46255922 Update security in m_message Travis McArthur 2015-07-09 13:38:44 -07:00
  • 50a2eacd97 Update security in m_invite Travis McArthur 2015-07-09 13:38:35 -07:00
  • 14c4a19d18 Update security in squit Travis McArthur 2015-07-09 13:38:25 -07:00
  • 9e8f61b2a5 Update security in m_connect Travis McArthur 2015-07-09 13:38:17 -07:00
  • 925c3585f1 Update permissions in floodprot Travis McArthur 2015-07-09 13:18:21 -07:00
  • 83720d07d2 Update security in m_mode Needs a lot more testing before we ship - I'll work on that Travis McArthur 2015-07-09 13:12:22 -07:00
  • 9cba20fd60 Remove locop/globop distinction Travis McArthur 2015-07-09 12:51:15 -07:00
  • 97b2bbc819 Add ACL checks to chgname Travis McArthur 2015-07-09 12:51:05 -07:00
  • 2450909c26 Change name of OperEval... Travis McArthur 2015-07-09 12:31:45 -07:00
  • a4cd12d932 Fix remote MOTD & RULES (#2103) Bram Matthys 2015-07-09 20:04:04 +02:00
  • 787cd7c221 Use remove_oper_privileges() Bram Matthys 2015-07-09 19:08:36 +02:00
  • f3199ec5e5 1) unset the swhois you got via a vhost upon MODE -t. 2) allow MODE yourself -t which will unset your vhost & give you a cloaked host (#2613, suggested by Stealth) Bram Matthys 2015-07-09 18:43:21 +02:00
  • 2f8cb55e47 Add extended SWHOIS support. Allows multiple swhoises and tracking of who/what set the swhois. Added swhois_add / swhois_delete functions which also take care of broadcasting New remove_oper_privileges() function, will move the rest to use this (svsnoop svsmode etc) Not finished yet... Bram Matthys 2015-07-09 16:26:52 +02:00
  • d59b7b4129 add sendto_umode_global() to h.h Bram Matthys 2015-07-09 14:52:12 +02:00
  • 3cb780bdb3 remove umodes g/h/v from help.conf as they are removed/moved Bram Matthys 2015-07-09 14:41:19 +02:00
  • f03d865e77 Remove /CHATOPS. We already have /GLOBOPS which does the same. Update help.conf a bit, in a lazy way. Bram Matthys 2015-07-09 14:22:33 +02:00
  • abd68c6c9e only send RPL_HOSTHIDDEN for local clients (:D) Bram Matthys 2015-07-09 14:16:43 +02:00
  • 15977e011d remove umode 'g' (failops), we have snomasks and oper umode for this. Bram Matthys 2015-07-09 14:09:02 +02:00
  • 00dd10c744 transform more failops call Bram Matthys 2015-07-09 14:05:06 +02:00
  • 4c3fe8cfc8 make /GLOBOPS and /LOCOPS use sendto_umode(UMODE_OPER.. / sendto_umode_global(UMODE_OPER.. Bram Matthys 2015-07-09 14:04:32 +02:00
  • 19b06df164 remove sendto_failops, sendto_failops_whoare_opers, sendto_locfailops Bram Matthys 2015-07-09 14:04:00 +02:00
  • be863a2180 Add sendto_umode_global() - sends to all users with that umode on all servers Bram Matthys 2015-07-09 13:48:53 +02:00
  • af206b001b Remove strange and broken snomask handling from SENDUMODE. We have SENDSNO for that. Make notice appear from original server/user, rather than me.name. Bram Matthys 2015-07-09 13:48:05 +02:00
  • 60356bd97c typo (l -> L) Bram Matthys 2015-07-08 18:06:30 +02:00
  • fe14e21175 Update all MOD_TEST/MOD_INIT/MOD_LOAD/MOD_UNLOAD calls to new format Bram Matthys 2015-07-08 18:02:19 +02:00
  • 7b02afb3e5 Make MOD_LOAD and MOD_UNLOAD have a useful argument: pass modinfo, just like in MOD_TEST and MOD_INIT. Change MOD_TEST/MOD_LOAD/etc macro's (this breaks all modules). Now just use this: MOD_INIT(modulename) { // you can access modinfo here.. or other stuff... } Bram Matthys 2015-07-08 17:57:02 +02:00
  • 0cad63a232 For some reason this file was in CRLF format Bram Matthys 2015-07-08 17:20:23 +02:00
  • 83268d31bb Convert all HookAddEx to HookAdd with new priority syntax (and same for HookAddVoidEx.. etc...) Bram Matthys 2015-07-08 17:19:47 +02:00
  • b37bab0521 Add priority argument to HookAdd... and rename all the ...Ex stuff to just ... Bram Matthys 2015-07-08 17:10:37 +02:00
  • 95e37a0bd3 Allow not to import any build settings (and 3rd party modules). Bram Matthys 2015-07-08 16:11:37 +02:00
  • 2ca5480dc0 Reove IsOper uses from m_invite.c Travis McArthur 2015-07-07 12:48:26 -07:00
  • e48b5207ef Merge branch 'patch-1' of https://github.com/grawity/unrealircd into m2 Travis McArthur 2015-07-06 18:22:17 -07:00
  • 752a34011d Remove IsAnOper Travis McArthur 2015-07-06 18:09:37 -07:00
  • b52b7afabe Remove local irc operator (locop) Bram Matthys 2015-07-06 20:14:02 +02:00
  • 52d923b724 Fix typo Travis McArthur 2015-07-05 12:17:46 -07:00
  • 760fb261fb Update chatops perms Travis McArthur 2015-07-05 12:03:59 -07:00
  • ad4ab6c5f5 Update close permissions Travis McArthur 2015-07-05 12:01:21 -07:00
  • a14869cf21 Update lag permissions Travis McArthur 2015-07-05 12:01:16 -07:00
  • ab7912caf4 Update opermotd permissions Travis McArthur 2015-07-05 11:58:43 -07:00
  • 3059adf668 Refactor regonlyspeak permissions Travis McArthur 2015-07-05 11:57:24 -07:00
  • b6d0e23428 Refactor m_addline permissions Travis McArthur 2015-07-05 11:56:45 -07:00
  • b6ad7a8c0c Refactor m_dccdeny permissions Travis McArthur 2015-07-05 11:56:21 -07:00
  • 501469cc10 Refactor m_undccdeny permissions Travis McArthur 2015-07-05 11:56:00 -07:00
  • b971d8b81b Refactor m_rping permissions Travis McArthur 2015-07-05 11:54:02 -07:00
  • 5250913905 Refactor permissions m_away Travis McArthur 2015-07-05 11:52:32 -07:00
  • ab571eb7de Refactor m_lusers permissions Travis McArthur 2015-07-05 11:51:54 -07:00
  • 5a4f971f95 Refactor m_quit permissions Travis McArthur 2015-07-05 11:51:05 -07:00
  • 3387a7bdac Refactor setname permissions Travis McArthur 2015-07-05 11:50:29 -07:00
  • b4e353d6e2 Refactor m_stats permission Travis McArthur 2015-07-05 11:46:38 -07:00
  • e2674fd33a Refactor permissions on chghost Travis McArthur 2015-07-05 11:40:02 -07:00
  • 026befb6cd Refactor permissions in m_sethost Travis McArthur 2015-07-05 11:31:41 -07:00
  • 3a87459f91 Refactor permissions in secureonly Travis McArthur 2015-07-05 11:29:15 -07:00
  • a6075cfc47 Refactor permissions in chgident Travis McArthur 2015-07-05 11:28:22 -07:00
  • e342acb0a1 Refactor m_part permissions Travis McArthur 2015-07-05 11:26:42 -07:00
  • 5616f3acf9 Refactor setident permissions Travis McArthur 2015-07-05 11:25:30 -07:00
  • ee657857fe Refactor permissions in m_join Travis McArthur 2015-07-05 11:22:04 -07:00
  • 108d3eab9d Refactor permissions in m_topic Travis McArthur 2015-07-05 11:16:47 -07:00
  • 09386178b2 Fix jointhrottle permissions Travis McArthur 2015-07-05 11:10:55 -07:00
  • 5f6a09da00 Change permissions checks in message Travis McArthur 2015-07-05 11:07:43 -07:00
  • 60dd43c8f2 Prompt to import build settings and 3rd party modules from a previous UnrealIRCd installation. Bram Matthys 2015-07-05 20:43:06 +02:00
  • 1b2849d818 remove 'make custommodule' from other makefiles Bram Matthys 2015-07-05 20:07:10 +02:00
  • 133d75ebd0 Merge branch 'unreal34' of github.com:unrealircd/unrealircd into unreal34 Bram Matthys 2015-07-05 20:04:43 +02:00