Commit graph

  • 2cc2a89e5b Again. Bram Matthys 2003-02-21 20:09:55 +00:00
  • 76fd66d27f - Documentation updates (unreal32docs.html, example.conf). Againnnnnn Bram Matthys 2003-02-21 19:22:59 +00:00
  • 64dab7821a - Fixed remote /rehash bug (#0000600). Actually rewrote 20/25% ;). Also minor doc fixes, not worth mentioning in Changelog. Bram Matthys 2003-02-21 02:44:48 +00:00
  • 775378a410 - Documentation updates (added a section about features). Also colour -> color ;P. And... removed doc/Unreal31_to_32.html because it's no longer needed now since I have integrated it in the features section / unreal32docs.html. Bram Matthys 2003-02-20 23:51:25 +00:00
  • ca9a7a1e89 Fixed a TKL bug codemastr 2003-02-20 23:12:07 +00:00
  • 2f10a46e1e - Fixed chmode +u again. Bram Matthys 2003-02-19 16:02:29 +00:00
  • 0d1e674fcf - Fixed win32 compile error Bram Matthys 2003-02-19 02:59:50 +00:00
  • aa44d4d728 - Updated win32 compile instructions - Fixed set::dns error messages Bram Matthys 2003-02-19 02:37:23 +00:00
  • eb7333c874 - Added /who *.host.com support (ircop only), this was already possible via /who -h <host> but most ppl expect it to work this way too. Bram Matthys 2003-02-18 22:29:40 +00:00
  • 4a7cef66dd - Fixed bug with channel mode +u: Quits/nick changes of other users were shown. Bram Matthys 2003-02-18 18:59:37 +00:00
  • 08eb667db8 - Fixed some case insensitive checks in configfile parsing, fixed to be case sensitive. - Module changes: added two hooks: HOOKTYPE_USERMSG and HOOKTYPE_CHANMSG, changed umode_get. The HOOKTYPE_USERMSG has been tested with a +D (deaf for private msgs except for opers) module, the channel thing not yet... added global/local mode flag to umode_get, or use umode_lget (local) / umode_gget (global) :P. Blah. Bram Matthys 2003-02-18 18:29:07 +00:00
  • 7a4d7df866 - Fixed some case insensitive checks in configfile parsing, fixed to be case sensitive. if someone used LoadModule instead of loadmodule no warning was shown. This issue is known to cause negative psychological effects on some users. Bram Matthys 2003-02-17 21:11:48 +00:00
  • d729d2a0e4 Fixed an alias bug codemastr 2003-02-17 20:03:55 +00:00
  • 5a1bdba209 - Removed some debugging messages Bram Matthys 2003-02-17 19:03:34 +00:00
  • 0c5ef6def4 Removed some more +I code, and fixed a /who bug codemastr 2003-02-16 22:36:07 +00:00
  • 8569877110 Fixed a TKL rehash bug and recoded aliases to be much faster codemastr 2003-02-16 21:57:31 +00:00
  • e116c095f2 - Fixed MyConnect()/MyClient() bug causing memory leak. Bram Matthys 2003-02-16 21:12:32 +00:00
  • 9b38176f98 List options were not correctly freed when /list was completed. The bug was it did free the yeslist/nolist elements but not the data in it (lp->value) :PP. Changed to use free_str_list() instead, just like in exit_client. Bram Matthys 2003-02-16 04:59:26 +00:00
  • 36d7d271cc - set::services-server is now required to be set (#0000730). Bram Matthys 2003-02-15 23:41:23 +00:00
  • f2eb5f48b6 - Zip links: Added link::compression-level so you can set the compression level per link Bram Matthys 2003-02-15 21:13:37 +00:00
  • 4606d94e27 +I stuff removed, and other stuff codemastr 2003-02-15 20:20:35 +00:00
  • 0c12e70d59 - Fixed compile warning in ssl.c. Bram Matthys 2003-02-15 18:16:57 +00:00
  • bf116f1f6c Removed cmode +H, coadmins can use /rehash -flags, added cmode +M codemastr 2003-02-15 01:27:48 +00:00
  • 8e3272ba0b Fixed a win32 bug codemastr 2003-02-14 23:20:05 +00:00
  • f014032901 - Fixed link::port bug reported by AngryWolf: was signed so ports >32767 had problems Bram Matthys 2003-02-13 17:12:54 +00:00
  • 1901911405 - Removed usermode +I (invisibility) Bram Matthys 2003-02-12 21:44:09 +00:00
  • 5f772f0457 this helps... Bram Matthys 2003-02-12 20:45:48 +00:00
  • addd54c38f Revert set::options::owner-gets-dot patch. Bram Matthys 2003-02-12 20:44:14 +00:00
  • 71a7e91363 - Added set::options::owner-gets-dot which will give chanowners a . prefix. Bram Matthys 2003-02-12 02:12:13 +00:00
  • 82201421eb Made ".. did a /whois on you" always show the real host (#0000705). Bram Matthys 2003-02-10 00:56:58 +00:00
  • 934b898914 Fixed a bug in coadmin: global flags were not added (#0000716). Bram Matthys 2003-02-10 00:41:19 +00:00
  • 954ccf7265 added set::restrict-usermodes Bram Matthys 2003-02-09 20:51:25 +00:00
  • efc2c8f326 Updated docs. Bram Matthys 2003-02-07 23:08:01 +00:00
  • 8070b2397e Fixed an except ban {} problem codemastr 2003-02-07 16:21:23 +00:00
  • a127469d42 Added USE_ZIP stuff to win32 installer script. Bram Matthys 2003-02-07 00:08:32 +00:00
  • 09013995f6 Updated protoctl.txt (added ZIP). Bram Matthys 2003-02-06 23:55:56 +00:00
  • bd8cbf6713 * don't send SHOWCONNECTINFO if the link is (known to be) a server. * same for scan message * don't say "you have not registered" on NOTICE in unregistered state. * made a send_prot(aClient, ConfigItem_link) for sending PROTOCTL message, takes care of sending ZIP in token in case of a ziplink (indeed, I don't send "ZIP" if it's not marked as a ziplink). * added automatic fallback tot uncompressed link in case one of the sides has zip turned off or not compiled in. * added configcheck for link::options::zip turned on when not compiled in (just like we do with ssl). Bram Matthys 2003-02-06 01:09:17 +00:00
  • af988ce74d Added config error if link::options::zip was enabled at a non-zip compiled server. Bram Matthys 2003-02-05 22:14:39 +00:00
  • 1c0860e841 - Fixed an ident bug, maybe it actually works now.. (#0000709) reported by marviiin. Bram Matthys 2003-02-05 21:32:37 +00:00
  • c177eb2580 Code (comments) cleanup. Yes very usefull.. ahem ;). Bram Matthys 2003-02-05 20:15:28 +00:00
  • 0dde38dd6a ZIP_LINKS fixes/debugging. Bram Matthys 2003-02-05 01:28:31 +00:00
  • 0ca9f4c2c5 ... codemastr 2003-02-05 00:59:51 +00:00
  • 06dc8646a4 added ziplinks support to ./Config and updated SSL support in ./Config codemastr 2003-02-05 00:44:14 +00:00
  • da33a9e646 Fixed a bug when compiling with SSL ZIP_LINKS codemastr 2003-02-04 22:50:56 +00:00
  • 1bea78bd0e - Fixed a bug in m_part reported by Angrywould, cause unknown (yet). - Currently it's not possible to compile with ZIP_LINKS _and_ SSL without changing zlib.h :(. It really sucks... it's because zlib.h has a typedef for 'free_func' and this is also used in openssl header files as a (useless) name... :((. I did some updates to allow future zlib changes, dunnow if they will because it can break other zlib programs. It compiled fine at windows, but not at Linux... you need to replace free_func to zlib_free_func in zlib.h in order to get ZIP_LINKS + SSL to work... but like I said, that may break programs (ARGH!). Bram Matthys 2003-02-04 21:23:47 +00:00
  • 6ceb9cb6f7 Code cleanup (in many files heh)... I replaced all: IsHidden(sptr) ? sptr->user->virthost : sptr->user->realhost stuff to a simple GetHost(sptr) macro (defined in struct.h). Smaller and less error phrone :). Also fixed the if IsHidden -> if (IsHidden found by codemastr . Bram Matthys 2003-02-04 19:40:38 +00:00
  • d98e7d3112 Fixed bug in ISON. Bram Matthys 2003-02-04 18:50:55 +00:00
  • 0b2d842d55 Code cleanup in m_umode. Bram Matthys 2003-02-04 18:02:44 +00:00
  • c0a3cd9c14 Fixed minor memleak with zip links (a few k per server link). Bram Matthys 2003-02-04 16:54:53 +00:00
  • 24f36c846c Documentation updates for nodnscache. Bram Matthys 2003-02-04 02:13:35 +00:00
  • 7ad5f10d76 - Fixed a resolver bug where cache entries didn't timeout correctly. - Made async resolve-and-connect work - Added link::options::nodnscache which means Unreal will not cache the host forever for outgoing server connections, you could for example enable this if you are linking two servers with an often changing host (like dyndns.org). Bram Matthys 2003-02-04 02:09:40 +00:00
  • 1efcc56dce Fixed a throttling bug codemastr 2003-02-03 21:38:02 +00:00
  • 39be4901df Added recvq column to /stats y reply. Bram Matthys 2003-02-03 21:32:51 +00:00
  • c5369043c7 Added better (specific) link error messages (only on the "incomming" side) so you can easily see whether servername, hostname/ip or username is wrong. Bram Matthys 2003-02-03 21:05:50 +00:00
  • 6f9060ce4e Minor doc updates (mainly example.conf) Bram Matthys 2003-02-03 20:27:33 +00:00
  • 6f2be400c3 Major unreal32docs.html documentation update: * Changed layout * Removed text, split up 3.1.x->3.2.x upgrade info to Unreal31_to_32.html (actually that's just .RELEASE.NOTES, need a bit more explanation and stuff about converting configs etc). * Improved Me, Class, Allow, Listen and Set block text/layout/etc. * Removed typo's Bram Matthys 2003-02-03 20:14:16 +00:00
  • d7b0c619bd Fixed /topic for opers when not in +s-channel Bram Matthys 2003-02-03 18:52:06 +00:00
  • ded0df0b31 Don't encrypt SSL certificate by default @ win32. Why would we encrypt by default at windows and not at *NIX? Also it's incompatible with running as a service. AFAIK it doesn't increase security very much: if you own the box you can easily snif the keyboard, read the certificate from memory, etc.. Bram Matthys 2003-02-03 17:44:33 +00:00
  • 19960bf7de Fixed bug in ipv6 + unknown connection flood. Bram Matthys 2003-02-03 17:27:21 +00:00
  • 7e3664afe5 Bugfix for crash with STRIPBADWORDS_CHAN_ALWAYS (null pointer). Bram Matthys 2003-02-03 16:33:05 +00:00
  • 138fcd19e7 Added (optional) class::recvq so you can dynamically/per class set the recvq (flood control). CLIENT_FLOOD in config.h is still used as a default value if recvq is not specified. Bram Matthys 2003-02-03 01:51:26 +00:00
  • 8d329b611a enabled FAST_BADWORD_REPLACE by default Bram Matthys 2003-02-02 23:13:26 +00:00
  • ef150daae7 Two tiny text fixes: missing space and an CRLF in 'sending to me' thing, and some probably impossible oob read but just in case added a length check, blahhh (sending empty line). Bram Matthys 2003-02-02 23:05:03 +00:00
  • 56da92cab9 Added set::snomask-on-connect codemastr 2003-02-02 22:53:59 +00:00
  • 0131baaf5b - Fixed bug which made opers unable to do -a/-q (#0000654). - Fixed bug in +q/+a list (/mode #chan q) <= lol this was some historic bug by DrBin or something ;). In case you wanna know.. the whole loop logic was wrong... initalisation vs null pointer check... ;). Bram Matthys 2003-02-02 03:39:52 +00:00
  • 463a2b29c5 memleak bugfix for my previous improved-write/buffer-errors-patch. Additionally, I've increased my life chances with 100% thanks to _this_ patch. Bram Matthys 2003-02-02 01:09:43 +00:00
  • 84596e0fc5 Redesigned "Dead socket" error msg thing. Added a error_str to client struct, which is set if dead_link is called. You will now see "Write error", "Max SendQ exceeded" etc error messages in the quit reason instead of just the "Dead socket" message. Changed "notice" parameter of dead_link, now just the reason and not a format string, maybe rename that var. Bram Matthys 2003-02-02 00:48:02 +00:00
  • 47dabe4c36 Aliases updates codemastr 2003-02-01 19:18:06 +00:00
  • ab5ff5cdea Started work on set::allow-userhost-change codemastr 2003-02-01 19:14:31 +00:00
  • 0004c00d7a Documentation updates codemastr 2003-01-29 20:41:04 +00:00
  • 33cb958615 Fixed a channel mode +A bug codemastr 2003-01-29 20:27:02 +00:00
  • 0a1aacda89 Fixed missing 's' flag in oper::snomask causing not receiving any server notices (attempt II) Bram Matthys 2003-01-29 01:15:09 +00:00
  • 12a5746d47 Rechanged 'a Services Administrator' back to 'a Services Operator' codemastr 2003-01-29 00:56:01 +00:00
  • a5ea13adc9 Added '/stats zip' Bram Matthys 2003-01-29 00:19:16 +00:00
  • 637867bc6d Added makefiles to compile with zip links @ windows (zlib needed). Bram Matthys 2003-01-28 23:13:49 +00:00
  • 95c0add864 Fix for error msgs flood at (at least) Linux 2.4.x and FreeBSD caused by socket already disconnected when getpeername() is done. Bram Matthys 2003-01-28 22:14:56 +00:00
  • bcac798a99 Fixed whois: "a Services Operator" -> "a Services Administrator" Bram Matthys 2003-01-28 20:32:21 +00:00
  • 007d0c1d32 Added STRIPBADWORDS_CHAN_ALWAYS (a define, disabled by default) for always censoring badwords from all channels (+G or not). Bram Matthys 2003-01-28 20:24:55 +00:00
  • f6333714a2 Fixed some minor sending-1-byte-too-much bugs when all connections where in use. Bram Matthys 2003-01-28 19:06:56 +00:00
  • 92fe4e04a3 Removed unnecessary #ifdef blocks added by previous ZIP_LINKS patch Bram Matthys 2003-01-28 03:27:48 +00:00
  • 482df3dce3 Added ZIP_LINKS: using flag FLAGS_ZIP (0x1000000, was FLAGS_UNOCCUP2), instead of using a 2nd flag here for the special case of "the first zip msg" like in hybrid/etc I use cptr->zip->first to flag that. Except for the many #ifdef ZIP_LINKS blocks added I also had to do some stuff outside it, like crc32->our_crc32 because zlib defines it, made a READBUF define (8192), added a msg var to parsing/send functions.. blah.. etc ;P. I've also put the patch online at www.vulnscan.org/tmp/zip_links.diff so you can easily look what I've changed. TODO: ask in ./Config if ziplinks should be enabled and let ./configure check for zlib + add the library to IRCDLIBS in Makefile if enabled. TODO: some little code cleanups Bram Matthys 2003-01-28 02:50:19 +00:00
  • d0dc13faa5 Little fix for previous throttling fix (accessing just free()d memory). Bram Matthys 2003-01-27 21:25:27 +00:00
  • 09776ff03f Fixed triple WATCH reply bug (#0000632) when USER was send before NICK. Bram Matthys 2003-01-27 21:00:21 +00:00
  • 00698d9fd4 Fixed an SVSO bug and a throttling bug codemastr 2003-01-27 19:54:00 +00:00
  • 1db740e154 Fixed an HCN bug with client exiting notices codemastr 2003-01-27 19:30:34 +00:00
  • e070a40353 Fixed crash when link::leaf (and some other link:: things) was empty. (#0000610) Bram Matthys 2003-01-26 21:58:29 +00:00
  • 9d48eee701 Tweaked fix for 2-bans-needed-trick a bit. I was checking against last virthost, now always checking against cloaked host... Just feels better :P. Bram Matthys 2003-01-26 15:20:06 +00:00
  • deb038730a Minor documentation update for SVSNLINE. (#0000651) Bram Matthys 2003-01-26 03:18:36 +00:00
  • 74a984da48 Fixed 2-bans-needed-trick (#0000626). If a user got banned while having mode +x, then does a -x virthost gets freed and the user can join again/circumvent the ban. virhost should probably be moved in to the User struct like char virthost[HOSTLEN+1] but in the meantime I've just removed the free() when someone does -x. I noticed we already do make_userhost at connect even if mode +x isn't set, and also is_banned checks if virthost exists.. if so -> check if that's banned... so this patch won't decrease performance much. Bram Matthys 2003-01-26 02:18:30 +00:00
  • 117ec38808 Channel msging optimization by 10-30%. Bram Matthys 2003-01-25 21:26:53 +00:00
  • 423a8c2739 Fixed yet another bug in new badwords replace system (should be almost finished now! ;P). Bram Matthys 2003-01-25 18:44:23 +00:00
  • c4c87fb803 Blah... forgot to remove some debugging code in badwords.c (new fast replace system) Bram Matthys 2003-01-25 01:32:17 +00:00
  • efaf9d6709 Fixed halfop bug, ex: /mode -o+b user *!*@blah.com will get +b user!*@*. (#0000653) The bug was we forgot to return wheter a parameter was eaten or not (returned always 0). Bram Matthys 2003-01-24 23:37:33 +00:00
  • 1dfdeb42f0 Temporarely added user-already-in-chan check in m_sjoin to help tracing user-twice-in-chan bug which has been reported by two users (#0000594). About speed: I think it'll just use a few usec so that's <100ms for X.000 users ;P. Bram Matthys 2003-01-24 22:47:37 +00:00
  • 3fc6734e65 Fixed minor bug in resolving of IPv4 names if IPv6 is enabled (#0000659). We were doing: T_AAAA, if that fails then T_A. But in that case when a host has both T_A and T_AAAA entries, the reverse lookup will fail for ipv4. Now using T_ANY to fetch both T_A and T_AAAA addresses at once. Bram Matthys 2003-01-24 20:34:11 +00:00
  • 73810a4f82 Cleanups in badwords.c: removed duplicate code, now one big stripbadwords() function which is called by stripbadwords_channel()/stripbadwords_message(). Bram Matthys 2003-01-24 02:49:41 +00:00
  • e8d8a27cbc Added a much faster (>100x) badwords replace routine which will be used for easy replaces like "blah", "*blah", "blah*" and "*blah*"... otherwise regexp is used. Disabled by default until it's really finished and fully tested. Bram Matthys 2003-01-24 02:18:33 +00:00
  • 3a546fb04c Cleanup of m_userhost / my previous patch screwed things up ;P Bram Matthys 2003-01-23 21:05:44 +00:00
  • 358a00e90c Fixed some formatting issues. Bram Matthys 2003-01-23 20:47:06 +00:00
  • e333890b0f Fixed SSL session cache bug, symptoms were: stunnel can only connect the 1st time, reconnecting etc fails with (in stunnel log) "SSL_connect: Peer suddenly disconnected". This happends with OpenSSL 0.9.7. Bram Matthys 2003-01-23 17:03:53 +00:00