Commit graph

  • 6f6b713fce sendto_server() w/multiple (combined) caps or nocaps was broken. It matched on ANY cap instead of ALL caps. Bram Matthys 2015-07-20 16:42:01 +02:00
  • 1452a2821b sendto_server() w/multiple (combined) caps or nocaps was broken. It matched on ANY cap instead of ALL caps. Bram Matthys 2015-07-20 16:39:47 +02:00
  • 89e675e254 Add configure action Travis McArthur 2015-07-19 12:40:21 -07:00
  • 87c0bbed3c Send nick collision kill with a winner to the losing side only. Trust the NICK is in-flight to that server and that it will kill his own and assign ours the winner. This fixes a bug until now where it was killing the wrong user (reproduced locally) and prevents re-introducing of our client which we will never do correctly. (#1977). If you can present a legit case where this is wrong, let me know. Bram Matthys 2015-07-19 19:47:41 +02:00
  • 8b039335d6 set cptr->sockhost for incoming server connections too so you can use hostnames in link::options::incoming, if you wish.. Bram Matthys 2015-07-19 19:08:54 +02:00
  • 004fd24368 whoops.. wrong order. Bram Matthys 2015-07-19 19:08:45 +02:00
  • 390a4c2494 Remove "PROTOCTL HCN" as we now include the IP in HCN-alike connecting messages. Bram Matthys 2015-07-19 18:20:40 +02:00
  • 02c9b7baca Change client connecting/exiting message. Always show IP. Use HCN style with some minimal changes. Bram Matthys 2015-07-19 18:18:13 +02:00
  • c425952cd6 Textual changes Bram Matthys 2015-07-19 17:42:05 +02:00
  • b4f3a39af0 Fix SupportNAMESX() on remote client Bram Matthys 2015-07-19 17:23:51 +02:00
  • 9baffb1b30 done with ip move. Bram Matthys 2015-07-19 13:20:56 +02:00
  • 173b643412 iwantthisgone Bram Matthys 2015-07-19 13:19:06 +02:00
  • 6379956521 strip 2 useless args from sendto_connect & sendto_fconnect (maybe useful in the past, not anymore) Bram Matthys 2015-07-19 13:14:37 +02:00
  • 209a5a3762 Start with moving ip_str stuff Bram Matthys 2015-07-19 13:09:51 +02:00
  • be5163af31 Merge branch 'unreal34' of github.com:unrealircd/unrealircd into unreal34 Bram Matthys 2015-07-19 12:53:26 +02:00
  • 13fffa4e1a split all the local client stuff to acptr->local. makes it a lot easier to catch bugs. If the IRCd crashes then it's likely not by this change but rather an existing issue that was previously gone unnoticed. Bram Matthys 2015-07-19 12:48:18 +02:00
  • 0f1840da6d Propogate models throughout app Travis McArthur 2015-07-19 03:30:52 -07:00
  • 19ad342a73 Start with client/localclient split Bram Matthys 2015-07-19 11:50:32 +02:00
  • 32557d44e5 generalize observer pattern Travis McArthur 2015-07-19 01:41:52 -07:00
  • c25c9d8529 Fix OOB write (causing memory corruption). Bram Matthys 2015-07-19 10:22:29 +02:00
  • 7e23713ace Further revisions to MVC architecture Travis McArthur 2015-07-18 23:18:29 -07:00
  • 6b2fefeadc Update configuration window Travis McArthur 2015-07-18 14:41:46 -07:00
  • e60ace66b5 Update configuration window Travis McArthur 2015-07-18 14:41:46 -07:00
  • 23e68fe649 Add Quit Option Travis McArthur 2015-07-18 14:23:51 -07:00
  • bc02f47c06 Update UI for config window Travis McArthur 2015-07-18 10:45:35 -07:00
  • a336e887b9 Move to model based approach Travis McArthur 2015-07-18 10:45:29 -07:00
  • 1bf2124fa4 Wire up menus correctly Travis McArthur 2015-07-18 01:15:04 -07:00
  • 421b224d8e Fix SSL client certificate fingerprint authentication not working for server linking. Broken since May 23 already. Bram Matthys 2015-07-18 22:05:22 +02:00
  • 8b716f337d Get rid of this strange mass-closing stuff that only causes trouble. Fix nothing-being-logged-issue. Bram Matthys 2015-07-18 19:24:46 +02:00
  • ab4e4bd306 Update menu and hide window in app Travis McArthur 2015-07-17 20:01:01 -07:00
  • b67d4a0e64 Add temporary logo file Travis McArthur 2015-07-17 20:00:41 -07:00
  • db9dedace7 Fix .gitignore - only ignore unrealircd in root Travis McArthur 2015-07-17 20:00:35 -07:00
  • 64540d14aa smart.. Bram Matthys 2015-07-17 21:00:13 +02:00
  • da9bd09e76 deal with uppercase hex in link::password (and others) -> autodetect as sslclientcertfp Bram Matthys 2015-07-17 20:56:34 +02:00
  • 7153d8faa8 don't fd_setselect on -1 fd if ident check failed Bram Matthys 2015-07-17 18:11:40 +02:00
  • 6cf476ff8e crash on invalid fd usage if DEBUGMODE (so we can trace things) Bram Matthys 2015-07-17 18:10:06 +02:00
  • 5d25c36a6c Add doc/conf/examples/example.tr.conf, translated by Serkan. Bram Matthys 2015-07-17 16:22:27 +02:00
  • 0fb82352af improve style (no bug) Bram Matthys 2015-07-16 21:32:41 +02:00
  • 24f3644ecf getting rid of more useless casts Bram Matthys 2015-07-16 21:31:02 +02:00
  • 0698ba296c various stuff Bram Matthys 2015-07-16 21:01:50 +02:00
  • 88aa91eb94 rather than copying the string result, why not work on the buffer directly.. Bram Matthys 2015-07-16 21:01:27 +02:00
  • 03cb78543a hm invalid var used. only a problem if extban module does not provide conv_param() which is mandatory anyway, so no problem I guess, but still.. Bram Matthys 2015-07-16 21:00:45 +02:00
  • b7cbf108d8 pass by value -> pass by ref Bram Matthys 2015-07-16 20:22:05 +02:00
  • b3a7774dc1 didn't audit the code, but this seems more proper (heero: check? :p) Bram Matthys 2015-07-16 20:18:31 +02:00
  • d4d4f5180a useless check Bram Matthys 2015-07-16 20:18:25 +02:00
  • f8241cede6 not if (fd) but if (fd >= 0).. Bram Matthys 2015-07-16 18:14:22 +02:00
  • 252538272e Reduce nick@server complexity in m_message and (similarly) make hash_find_nickserver() easier and more tolerant, also accepts just 'nick' in addition to 'nick@server' Bram Matthys 2015-07-16 18:09:26 +02:00
  • c15d1f90ae Fix crash in do_read_motd(). Strange nobody reported this yet (then again.. this is beta..). Bram Matthys 2015-07-16 17:36:54 +02:00
  • 083ca38554 :D Bram Matthys 2015-07-16 17:36:48 +02:00
  • bad3cdbdeb Use MyMallocEx and not malloc/MyMalloc + bzero. Bram Matthys 2015-07-16 17:29:24 +02:00
  • c06dc9a142 Get rid of #ifdef CLEAN_COMPILE, along with some other shit Bram Matthys 2015-07-16 17:22:51 +02:00
  • cb18db026f blah Bram Matthys 2015-07-16 17:15:09 +02:00
  • dd3993008c small unlikely memleaks. and cptr->port being set to a random value (caused few weeks ago).. but we don't ever read it so not terribly important. Bram Matthys 2015-07-16 17:13:57 +02:00
  • 6ee1773fbe Not sure if this will ever happen as there's a lot of code called beforehand, but ah well.. (memleak). Bram Matthys 2015-07-16 16:32:43 +02:00
  • b33a461e9a re-indent Bram Matthys 2015-07-16 16:28:14 +02:00
  • f715ee37cc uninitialized read (won't actually happen as other routines check before this) Bram Matthys 2015-07-16 16:27:53 +02:00
  • 34d9f0946a Don't prompt to generate SSL certificate if running ./Config -quick (which is meant as a no-prompt mode) Bram Matthys 2015-07-16 16:02:14 +02:00
  • 3ccb297ba8 in various text: ./unreal -> ./unrealircd Bram Matthys 2015-07-16 11:40:54 +02:00
  • c6488bb50a Why would anyone want to know this.. got enough on-connect msgs already. Bram Matthys 2015-07-16 10:57:55 +02:00
  • 9bd211d46e Fix some ununitialized stuff Bram Matthys 2015-07-16 10:56:46 +02:00
  • 6eddc2685f Merge branch 'unreal34' of github.com:unrealircd/unrealircd into unreal34 Bram Matthys 2015-07-16 09:45:11 +02:00
  • 00e028e6f7 alpha -> beta Bram Matthys 2015-07-16 09:44:58 +02:00
  • 727fdfbfbc Merge pull request #31 from Alef-Burzmali/unreal34+french-conf Bram Matthys 2015-07-16 09:40:45 +02:00
  • 591c322d0f Translate the example conf in French Thomas Fargeix 2015-07-15 21:35:14 +02:00
  • dcb0c63bd8 Spamfilter 'u' was broken by nenolod. Literally. snprintf(buf, sizeof(buf), .. where 'buf' is a 'char *'. Fantastic. Bram Matthys 2015-07-15 18:34:25 +02:00
  • f22cef97d4 Why do we have those unnecessary (SSL *) casts everywhere? Poof. Gone. Bram Matthys 2015-07-15 15:54:36 +02:00
  • dcb4e382a3 Apparently on newer OpenSSL versions (unreleased) you can't access the read buffer. So use this method instead. Ohh.. we are so helpful to our users.. Bram Matthys 2015-07-15 15:48:00 +02:00
  • 168ff802c4 Show a meaningful error when connecting to an SSL-only port with STARTTLS (iotw: if you forgot ssl in link::outgoing::options). Bram Matthys 2015-07-15 15:09:01 +02:00
  • f847d2c9e5 hmm. inconsistency. Bram Matthys 2015-07-15 14:55:35 +02:00
  • f265e9f970 re-indent without chgs Bram Matthys 2015-07-15 14:52:22 +02:00
  • 5778e53515 Print a helpful error when trying to link using an SSL-only port and the port isn't actually SSL-only (on the other end). Bram Matthys 2015-07-15 14:41:40 +02:00
  • 50d1b194df Linking: for outgoing connects, only support SSL/TLS by default (either 'directly' on an ssl port or via STARTTLS 'upgrading'). Set link::outgoing::options::insecure to disable. Bram Matthys 2015-07-15 12:42:47 +02:00
  • 1ba5f95ecb For ougoing server links, attempt to upgrade the connection via STARTTLS if not using SSL/TLS already. Bram Matthys 2015-07-15 12:09:11 +02:00
  • ceb04cc3eb CommandAdd(): require flags to be non-zero and fix a minor memleak on-boot Bram Matthys 2015-07-15 10:20:07 +02:00
  • 8ef62b9f34 Merge pull request #30 from SaberUK/unreal34+notice-auth Travis McArthur 2015-07-14 12:32:51 -07:00
  • ef341b1f6d Link to servers faster after boot. Check links for re-linking more often. Allow connfreq of 5 seconds. Set default to 15. Get rid of HANGONGOODLINK/HANGONRETRYDELAY stuff. Bram Matthys 2015-07-14 15:23:28 +02:00
  • 02645ac4d6 Make sure people use link::outgoing::options::autoconnect, fix code to use it. Bram Matthys 2015-07-14 15:07:18 +02:00
  • 1978077c79 Use SENDSNO sender in server notices and not me.name, to avoid confusion. Bram Matthys 2015-07-14 14:46:58 +02:00
  • 53bb3c0fb3 Use "NOTICE *" before registration instead of "NOTICE AUTH". Peter Powell 2015-07-14 13:07:19 +01:00
  • e9cc914449 Cleanup Bram Matthys 2015-07-14 12:54:26 +02:00
  • 2e7ad2f9f7 If you write things this way then it's easy to miss a parv[0] fetch.. Bram Matthys 2015-07-14 12:48:35 +02:00
  • d9756b8254 strange. Bram Matthys 2015-07-14 12:40:29 +02:00
  • 79c71ea490 'make install' did not install all 3rd party modules. Bram Matthys 2015-07-14 12:37:30 +02:00
  • 2662c6d1b1 upgrade-conf: for loadmodule, strip unnecessary modules/ prefix Bram Matthys 2015-07-14 12:30:12 +02:00
  • 3b50d32ec7 fix build-3rd-party-modules script Bram Matthys 2015-07-14 12:27:20 +02:00
  • 0028f6ad64 Change version to 3.4-beta1. Bram Matthys 2015-07-13 20:17:18 +02:00
  • 24cf11575d make Windows OK again (part 1?) Bram Matthys 2015-07-13 19:57:09 +02:00
  • f1a95ffd0b Remove IPList - unused Bram Matthys 2015-07-13 14:35:36 +02:00
  • cdc6042fa8 Remove example.xx.conf until they are re-translated to the 3.4.x format & example conf rewrites of past month(s). Bram Matthys 2015-07-13 13:18:05 +02:00
  • 3a8a0450c8 update example conf Bram Matthys 2015-07-13 12:28:47 +02:00
  • 9bcaac6ac6 oper modes were not broadcasted (bug caused <1wk ago I think), SETHOST may be sent over the wire before the +o so change permission check (caused 1-2d ago). Bram Matthys 2015-07-13 10:21:18 +02:00
  • fbfb310654 3.4.x code was missing a "Lost connection to ...." server message on disconnect (should be broadcasted to ircops) Bram Matthys 2015-07-12 22:10:19 +02:00
  • 920e260e89 crash on invalid fd close if in DEBUGMODE Bram Matthys 2015-07-12 22:06:57 +02:00
  • ec2a04c7a1 Fix OOB read ('i') Bram Matthys 2015-07-12 21:03:40 +02:00
  • 1eaa389140 Hmm. Missing IsServer() in ValidatePermissionsForPath() :D Bram Matthys 2015-07-12 20:58:25 +02:00
  • 46f6580171 try not to do too much at the same time Bram Matthys 2015-07-12 20:20:15 +02:00
  • afb4c7bebe Rip out remainder of HOOKTYPE_GUEST. Whoops.. were not sending "nick in use" errors (bug caused a few hours ago) Bram Matthys 2015-07-12 20:02:00 +02:00
  • 020bf7db2f this is probably a better idea. Bram Matthys 2015-07-12 20:00:57 +02:00
  • 9cafe21d8e remove wonderful nenologic Bram Matthys 2015-07-12 19:34:14 +02:00
  • fd0821bdc3 this is a better place Bram Matthys 2015-07-12 18:27:26 +02:00