Commit graph

  • d421282cf5 - Remove include/nameser.h and reference to nameser.h from s_bsd.c. The associated functionality has been provided by c-ares for a long time. binki 2010-07-10 13:52:52 +00:00
  • 649818d4ad - Fix references to motd and friends in src/win32. binki 2010-07-09 17:46:38 +00:00
  • ac81a9cd9a - Fix references in src/win32 to aMotd to now be to aMotdFile. binki 2010-07-09 17:25:33 +00:00
  • bd636c4e6d - Attempt to make up for Windows not having mode_t and not complying to POSIX. binki 2010-07-09 15:40:58 +00:00
  • 7dbf154d04 - Move configure.ac to the project's root. - Separate m4 macros into *.m4 files (it is much easier to run aclocal now). - Remove unused DOMAINNAME macro and --with-hostname= options as the DOMAINNAME macro isn't used anywheres and its use shouldn't be encouraged. - autogen.sh to bootstrap the buildsystem. We now maintain setup.h with autoheader. - --disable-blah now does the opposite of --enable-blah. The same for --with-blah and --without-blah. (This makes Gentoo users happier). binki 2010-07-08 02:51:43 +00:00
  • 5cf8ee21a0 Automatic weekly version update: 201027 autoupdate 2010-07-04 23:00:03 +00:00
  • 2a6a4b31ff - Fixed a few trivial compilation warnings. binki 2010-06-29 03:00:34 +00:00
  • c3ea2568b2 Automatic weekly version update: 201026 autoupdate 2010-06-27 23:00:02 +00:00
  • 7fdd8cce96 - Fixed desynchronized prototype. binki 2010-06-26 04:36:56 +00:00
  • 11d84d8534 - Replaced some coders@lists.unrealircd.org references with bugs.unrealircd.org. - Update/add some .cvsignore files. binki 2010-06-21 21:57:42 +00:00
  • 1e5e60d635 - Fixed race condition / reference count issue where an outgoing server connect would cause the IRCd to crash. Reported by Monk (#0003913). Bram Matthys 2010-06-21 12:27:45 +00:00
  • a523cec997 blah Bram Matthys 2010-06-21 09:27:34 +00:00
  • 2980fe011f Automatic weekly version update: 201025 autoupdate 2010-06-20 23:00:02 +00:00
  • 8ee34484b4 - When removing a SHUN, check if users who were blocked by this SHUN are still blocked by another SHUN. Previously, if multiple shuns covered a single user, removing one of these shuns would mark the user as un-SHUN-ed. (#0003906) binki 2010-06-20 06:28:38 +00:00
  • c1ca937861 Updated the correct Changes file. binki 2010-06-19 22:01:39 +00:00
  • aa0c706bff - Handle bad flags in set::ssl::options better (#0003896). binki 2010-06-19 22:00:05 +00:00
  • 2828e7f8b2 - Rename configure.in to configure.ac and modernize AC_INIT. binki 2010-06-19 03:22:51 +00:00
  • 9faa5a6d2b - Fix files::shortmotd to by accepted by unrealircd like the docs say it is. - Fix remote includes download handling which I broke for remote includes ;-). - Recursively add more consts. binki 2010-06-17 02:41:43 +00:00
  • d7835d959e - Fix typo binki 2010-06-16 14:14:08 +00:00
  • 6e34938c59 - Forgot to commit the REMOTEINC_SPECIALCACHE stuff to config.h which means it wasn't actually enabled until now... Bram Matthys 2010-06-16 11:47:42 +00:00
  • 06e807130c - Added error message for unknown directives in the "files" block - Remote MOTD support. Not adequately tested. Required restructuring of the asynchronous download callback and handler. - Added some consts throughout url.c, etc. - Fix segfault where the an include directive specifies a URL and cURL follows redirects, resulting in a different resultant URL. The remote includes code would look for the an include block using the resultant URL and assume that it would be found. The new code searches differently, has new checks, and ignores the resultant URL. - Removed duplicated m_motd() and friends that were both in modules and s_serv.c. The copies in s_serv.c (core) were overriding the in-module functions. binki 2010-06-16 05:44:15 +00:00
  • fc1e848a2a - Throw out old USE_POLL code which 1. has no buildsystem support and 2. has comments which claim it doesn't work. - Removed extraneous apostrophe from a module loader error message. binki 2010-06-15 02:37:50 +00:00
  • 5cf1dc144a Automatic weekly version update: 201024 autoupdate 2010-06-13 23:00:02 +00:00
  • 304e3ad0d4 Automatic weekly version update: 201023 autoupdate 2010-06-06 23:00:03 +00:00
  • 6ab3862520 Automatic weekly version update: 201022 autoupdate 2010-05-30 23:00:02 +00:00
  • 9e64a0121c - More strict sockhost (hostmask) checking in m_nick.c:_register_user(). Fixed some bad string handling as well. See comments in bug (#0003907). binki 2010-05-28 21:31:36 +00:00
  • f1ec26a07c - Partially fixed bug where IPv4 addresses were randomly mishandled by the cgiirc code, resulting in the sockhost/hostmask being set to something like ::ffff:127.0.0.1, which confused the s2s protocol. Reported by tabrisnet (#0003907). Also, reject incorrectly formed hostnames from WEBIRC command. binki 2010-05-28 04:30:22 +00:00
  • 625102cacd - Fixed bug in CVS where the ban exempt (+e) handling was reversed: if a non-matching +e was present, one could walk through bans. Reported by tabrisnet (#0003909). Bug was caused by chained/stacked extbans. Bram Matthys 2010-05-24 12:01:07 +00:00
  • a9e547614b send people to the web, and scratch stskeeps ;p Bram Matthys 2010-05-24 11:58:55 +00:00
  • a4fc53fc3a Automatic weekly version update: 201021 autoupdate 2010-05-23 23:00:03 +00:00
  • ab7957a6a8 docs: credit changes (permanent), the rest: interim credit changes -- needs to be finalized before 3.2.9 release, as always... Bram Matthys 2010-05-17 10:01:08 +00:00
  • f4e4df6d6a - ./Config now remembers extra/custom ./configure parameters. binki 2010-05-17 04:36:43 +00:00
  • df9d102d98 - Added chmode +r to HTML documentation binki 2010-05-17 03:33:41 +00:00
  • 9f6492169b - SVSMODE now triggers HOOKTYPE_UMODE_CHANGE and HOOKTYPE_REMOTE_CHANMODE. binki 2010-05-17 02:41:43 +00:00
  • fe33820f02 Automatic weekly version update: 201020 autoupdate 2010-05-16 23:00:11 +00:00
  • 1f89c2f6df Removed ugly ``files {} got initialized!'' message. binki 2010-05-15 21:23:29 +00:00
  • 38b7350f7c Remove m_addline from commands.so binki 2010-05-15 21:17:57 +00:00
  • 80c21aac2e Automatic weekly version update: 201019 autoupdate 2010-05-09 23:00:08 +00:00
  • 046eb67100 - Fix -DDEFAULT_PERMISSIONS=0 support. Previously, support.c:unreal_copyfile() would create files with no permissions, breaking loadmodule. (#0003905) binki 2010-05-05 23:59:27 +00:00
  • 23f72648c4 - Clarify/expand alias block documentation, especially for alias::type=command; (#0003902) binki 2010-05-05 22:50:31 +00:00
  • c0790e90de - Remove the Compile as hub/leaf'' concept as I'm quite sure this doesn't actually do anything (#0003891) binki 2010-05-05 22:39:18 +00:00
  • 5f05b3c80b - Update Unreal.nfo with information about new support network setup (#0003904) binki 2010-05-05 21:55:13 +00:00
  • 0c939fa194 Automatic weekly version update: 201018 autoupdate 2010-05-02 23:00:10 +00:00
  • 24d0463d4c Automatic weekly version update: 201017 autoupdate 2010-04-25 23:00:15 +00:00
  • 8e26c4b540 linking bug & ipv6 thing (the latter is completely untested): - IPv6: it seems some recent Linux dists decided to make IPv6 sockets IPv6-only, instead of accepting both IPv4&IPv6 on them like until now. FreeBSD (and other *BSD's) already did that move a few years back, requiring server admins to sysctl. We now make use of a new option to explicitly disable "IPv6-only". This should work fine on Linux. Whether it provides a complete solution for FreeBSD, I don't know, testing is welcome! In theory setting net.inet6.ip6.v6only to 0 should no longer be needed, but you might still need to enable ipv6_ipv4mapping. - Fix stupid issue where current CVS would no longer link TO an earlier Unreal server (eg: outgoing connect to a 3.2.8 hub). Reported by ohnobinki (#0003901). Bram Matthys 2010-04-25 19:14:55 +00:00
  • cd3dd80c54 Automatic weekly version update: 201016 autoupdate 2010-04-18 23:00:17 +00:00
  • e3be08d5d1 Automatic weekly version update: 201014 autoupdate 2010-04-04 23:00:21 +00:00
  • 84a19ab091 Automatic weekly version update: 201013 autoupdate 2010-03-28 23:00:16 +00:00
  • e422f24d52 Automatic weekly version update: 201012 autoupdate 2010-03-22 00:00:10 +00:00
  • a7ea2f49b3 Automatic weekly version update: 201011 autoupdate 2010-03-15 00:00:04 +00:00
  • b245850fb0 update donators. Bram Matthys 2010-03-08 16:24:22 +00:00
  • 86d8796b77 Automatic weekly version update: 201010 autoupdate 2010-03-08 00:00:12 +00:00
  • e47baea5da - Made '/REHASH -motd' really rehash *all* MOTD, OPERMOTD, BOTMOTD and RULES files. Reported by bitmaster (#0003894). Bram Matthys 2010-03-03 13:56:28 +00:00
  • 982e5a82c0 Automatic weekly version update: 201009 autoupdate 2010-03-01 12:14:53 +00:00
  • 1af446e5a3 clarify UNREAL_VERSION_TIME: the week # is ISO week. Bram Matthys 2010-03-01 12:08:38 +00:00
  • fb68c66f31 - Updated ./Config description for NOSPOOF, it already said it protects against HTTP POST proxies, now added some extra text to say it also protects against the Firefox XPS IRC Attack. Also made NOSPOOF enabled by default on *NIX (this was already the case on Windows). - Updated ./Config description for DPATH. Seems quite some people answer this question wrong, and when that happens, you only get some obscure error when running './unreal start'. - Fixed 'unreal' script to give a better error if it cannot find the IRCd binary. Bram Matthys 2010-03-01 11:49:30 +00:00
  • a41384b37f - Removed old dgets() and crc32 function (code cleanup) Bram Matthys 2010-02-13 13:09:46 +00:00
  • ef745b3423 - We now no longer treat \ (backslash) in *MOTD and RULES files as special. Previously this caused some really odd behavior. Backslashes are now treated as-is, so no special escaping is necessary. Reported by DelGurth (#0003002). - Removed old dgets() function Bram Matthys 2010-02-13 13:07:19 +00:00
  • d4d58c1247 - Better document /REHASH flags. No longer document some flags as they are redundant and confusing. Also removed an old statement saying k-lines would be erased on rehash which is not true. Documented '/rehash -dns'. Reported by ohnobinki (#0003881). Bram Matthys 2010-02-13 12:48:33 +00:00
  • bd999808d7 - Updated pkg-config m4 macro (now 0.23) for configure, patch from ohnobinki (#0003889). Bram Matthys 2010-02-13 11:22:53 +00:00
  • ee078bb165 Removed old coders, pretty outdated... Bram Matthys 2010-02-11 17:38:41 +00:00
  • ab2776eb6b - Another c-ares fix for Solaris 10, this time it had to do with PATH_SEPARATOR, the exact error was: error: PATH_SEPARATOR not set. Reported by j0inty, patch provided by ohnobinki (#0003887). Bram Matthys 2010-02-08 17:04:42 +00:00
  • b2332556ac - Fix for --with-system-cares, reported and patch provided by ohnobinki (#0003890). Bram Matthys 2010-02-08 16:59:06 +00:00
  • 3bcb2fe524 - Reverted the revert and updated one line to fix the fix. Bram Matthys 2010-02-08 16:50:35 +00:00
  • d794786ec0 - Patch from above is (temp.) reverted, Unreal wouldn't compile without curl. Bram Matthys 2010-01-27 09:13:20 +00:00
  • 8171ea4fd8 - Added patch from ohnobinki (#0003888), only slightly edited, which improves curl detection, added checks to see if curl actually works (print out a clear curl error during configure, instead of getting an error during 'make'), and we now error when using --enable-libcurl without --with-system-cares if the system curl depends on c-ares. This is because this can cause ABI incompatability between curl's c-ares and our c-ares, which leads to odd issues such as: Could not resolve host: www.example.net (Successful completion) And possibly other weird issues, perhaps even crashes. Bram Matthys 2010-01-25 20:23:59 +00:00
  • 89e70ff23f woops.. set -x ;) Bram Matthys 2010-01-25 10:55:21 +00:00
  • a19e31dbd0 update doc lowdigit 2010-01-23 12:59:54 +00:00
  • 75ce9d27e7 again doc update lowdigit 2010-01-18 14:05:04 +00:00
  • 9c22c743c6 doc update lowdigit 2010-01-18 14:03:38 +00:00
  • 1defbfc962 *** empty log message *** lowdigit 2010-01-18 13:56:16 +00:00
  • 1d79699c0d another test lowdigit 2010-01-16 19:13:55 +00:00
  • 341bb11423 test lowdigit 2010-01-16 19:13:34 +00:00
  • 9259ddee06 - Added set::uhnames setting which can be used to disable uhnames by setting it to 'no', the default is 'yes' (on). Requested by Robin (#0003885) as UHNAMES may increase the time of the nick list being loaded from 1 to 4 seconds when joining several channels with more than 1000 users. As this problem is only present on some networks, we keep UHNAMES enabled by default. Bram Matthys 2010-01-12 18:30:36 +00:00
  • 9d3c5ce8e1 - Fixed a /RESTART issue on Linux: Unreal did not properly close all file- descriptors. Because of this, Unreal did not restart properly as you would get an "Address already in use" error. This only seemed to happen when logging to syslog, or when there was something wrong with syslogd. Reported by Mouse (#0003882). Bram Matthys 2010-01-04 13:22:34 +00:00
  • 32ab3cba8b woops.. credit ;) Bram Matthys 2010-01-04 13:12:29 +00:00
  • 7ad6dcd977 - Fixed a /RESTART issue on Linux: Unreal did not properly close all file- descriptors. Because of this, Unreal did not restart properly as you would get an "Address already in use" error. This only seemed to happen when logging to syslog. - Fixed a similar issue with syslog (and debugmode) and closing fd's as well: the first port we listened on would not open up, ircd did not log any error. Bram Matthys 2010-01-04 13:11:03 +00:00
  • 6b28bfd1b7 curl auto-installation: - Made ./Config description about remote includes a bit more clear. - When you now answer Yes to Remote includes in ./Config and $HOME/curl does not exist, it now asks you if you want to automatically download and install curl (which is done by ./curlinstall). This has been tested on Linux, further testing on f.e. FreeBSD is required. Bram Matthys 2010-01-03 16:24:48 +00:00
  • cb7c1a821b test Bram Matthys 2010-01-01 20:23:37 +00:00
  • e3da8c7ebe test Bram Matthys 2010-01-01 20:22:41 +00:00
  • 55fbab833b test Bram Matthys 2010-01-01 20:22:23 +00:00
  • ee2f4f5f22 empty line Bram Matthys 2010-01-01 20:02:15 +00:00
  • dddc8f07e4 PROTOCTL EAUTH/SERVERS/new linking protocol: - Server protocol: added PROTOCTL EATH=servername, which allows us to authenticate the server very early in the handshake process. That way, certain commands and PROTOCTL tokens can 'trust' the server. See doc/technical/protoctl.txt for details. - Server protocol: between new Unreal servers we now do the handshake a little bit different, so it waits with sending the SERVER command until the first PROTOCTL is received. Needed for next. - Server protocol: added PROTOCTL SERVERS=1,2,3,4,etc by which a server can inform the other server which servers (server numeric, actually) it has linked. See doc/technical/protoctl.txt and next for details. - When our server was trying to link to some server, and at the same time another server was also trying to link with us, this would lead to a server collision: the server would link (twice) ok at first, but then a second later or so both would quit with 'Server Exists' with quite some mess as a result. This isn't unique to Unreal, btw. This happened more often when you had a low connfreq in your link blocks (aka: quick reconnects), or had multiple hubs on autoconnect (with same connfreq), or when you (re)started all servers at the same time. This should now be solved by a new server handshake design, which detects this race condition and solves it by closing one of the two (or more) connections to avoid the issue. This also means that it should now be safe to have multiple hubs with low connfreq's (eg: 10s) without risking that your network falls apart. This new server handshake (protocol updates, etc) was actually quite some work, especially for something that only happened sporadically. I felt it was needed though, because (re)linking stability is extremely important. This new feature/design/fix requires extensive testing. This feature can be disabled by: set { new-linking-protocol 0; }; Bram Matthys 2010-01-01 19:49:06 +00:00
  • 080a2d6810 Automatic weekly version update: 200952 autoupdate 2009-12-28 05:00:05 +00:00
  • cb385bc103 changes of week52: unreal3_2_fixes doc/example.de.conf doc/unreal32docs.de.html stylus740 2009-12-27 08:48:28 +00:00
  • feb5d81406 update unreal-notify mailinglist link (old one 404'd), add forums link. Bram Matthys 2009-12-24 09:30:50 +00:00
  • 0039f7db25 - Removed log target 'kline' from documentation, as it didn't do anything (use 'tkl' instead). Reported by nephilim and Stealth (#0003849). Bram Matthys 2009-12-22 13:49:05 +00:00
  • 75685b1684 Automatic weekly version update: 200951 autoupdate 2009-12-21 05:00:03 +00:00
  • 1eb2a21b49 Typo correction in Files Block angrywolf 2009-12-15 13:04:59 +00:00
  • 8f1f47aece - Added missing section 'Files block' (for some reason I missed the diff mail for it). - Grammar correction (removed the affix from irc.unrealircd.org so it's easier to update correctly). angrywolf 2009-12-15 12:59:46 +00:00
  • 20c00d3697 Changes of week 50 angrywolf 2009-12-15 12:23:15 +00:00
  • 086d464c8a Automatic weekly version update: 200950 autoupdate 2009-12-14 05:00:03 +00:00
  • 49fa3ed3d8 unreal32docs.de.html changes of week 50 stylus740 2009-12-12 11:45:00 +00:00
  • 8b637e344b Automatic weekly version update: 200949 autoupdate 2009-12-07 05:00:04 +00:00
  • f5d9a87f08 - Use RPL_STARTTLS/ERR_STARTTLS numerics Bram Matthys 2009-12-06 16:59:15 +00:00
  • 5a0a71de03 - Added support for STARTTLS. This allows users to switch to SSL without having to use a special SSL-only port, they can simply switch to SSL on any port. This is currently only supported by few clients (such as KVIrc 4). This functionality can be disabled by setting set::ssl::options::no-starttls, for example if you don't want to offer SSL to your users and only want it to be used for server to server links. Naturally, the IRCd must be compiled with SSL support for STARTTLS to work. - Fixed SSL_ERROR_WANT_READ in IRCd_ssl_write() Bram Matthys 2009-12-06 16:52:52 +00:00
  • a5bd782cdf - Made the timesynch log output more clear and understandable. - Added an 'UnrealIRCd started' log message on startup. Bram Matthys 2009-12-06 16:31:42 +00:00
  • 829247a272 Automatic weekly version update: 200948 autoupdate 2009-11-30 05:00:07 +00:00
  • 6aab6d748d hmmm... dilemma... Bram Matthys 2009-11-29 16:12:44 +00:00
  • 7dee0cdcf1 - Added support for "chained" extbans. Put simply this allows extban combinations such as ~q:~c:#test to only silence users on #test, for example. This feature is enabled by default, but can be disabled during ./Config -advanced. Module support for this feature must note the following: - For is_ok function, the extban can either assign extban_is_ok_nuh_extban, which will deal checking a chained extban (including checking for restricted extbans), or it can call that function from its own is_ok routine. For the latter case, remember to pass only the mask part of your ban format (ie, don't just pass para as otherwise it'll just call your is_ok again). - For conv_param function, the extban can either assign extban_conv_param_nuh_or_extban, which will automatically call conv_param for a chained extban, or pretty up a n!u@h mask. - For is_banned, the extban should call ban_check_mask with the mask part of the parameter. This will automatically call is_banned for a stacked extban, or match against a n!u@h. n!u@h is checked against the current user (ie, with the info in the globals ban_ip, etc), so things can get weird if you call this outside a normal ban check. Modules must keep in mind that chained extban support is not available (and neither are the three functions above) if DISABLE_STACKED_EXTBANS is #defined (this is controled by Config). Modules will not compile/load if they try to use them anyway. This change should not break extban modules, and should need some more extensive testing. - Misc fix for disabling extban chains, should've done stuff in our autoconf stuff instead of hacking configure directly :P . Bram Matthys 2009-11-29 12:46:29 +00:00