Commit graph

  • 1c0860e841 - Fixed an ident bug, maybe it actually works now.. (#0000709) reported by marviiin. Bram Matthys 2003-02-05 21:32:37 +0000
  • c177eb2580 Code (comments) cleanup. Yes very usefull.. ahem ;). Bram Matthys 2003-02-05 20:15:28 +0000
  • 0dde38dd6a ZIP_LINKS fixes/debugging. Bram Matthys 2003-02-05 01:28:31 +0000
  • 0ca9f4c2c5 ... codemastr 2003-02-05 00:59:51 +0000
  • 06dc8646a4 added ziplinks support to ./Config and updated SSL support in ./Config codemastr 2003-02-05 00:44:14 +0000
  • da33a9e646 Fixed a bug when compiling with SSL ZIP_LINKS codemastr 2003-02-04 22:50:56 +0000
  • 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 +0000
  • 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 +0000
  • d98e7d3112 Fixed bug in ISON. Bram Matthys 2003-02-04 18:50:55 +0000
  • 0b2d842d55 Code cleanup in m_umode. Bram Matthys 2003-02-04 18:02:44 +0000
  • c0a3cd9c14 Fixed minor memleak with zip links (a few k per server link). Bram Matthys 2003-02-04 16:54:53 +0000
  • 24f36c846c Documentation updates for nodnscache. Bram Matthys 2003-02-04 02:13:35 +0000
  • 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 +0000
  • 1efcc56dce Fixed a throttling bug codemastr 2003-02-03 21:38:02 +0000
  • 39be4901df Added recvq column to /stats y reply. Bram Matthys 2003-02-03 21:32:51 +0000
  • 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 +0000
  • 6f9060ce4e Minor doc updates (mainly example.conf) Bram Matthys 2003-02-03 20:27:33 +0000
  • 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 +0000
  • d7b0c619bd Fixed /topic for opers when not in +s-channel Bram Matthys 2003-02-03 18:52:06 +0000
  • 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 +0000
  • 19960bf7de Fixed bug in ipv6 + unknown connection flood. Bram Matthys 2003-02-03 17:27:21 +0000
  • 7e3664afe5 Bugfix for crash with STRIPBADWORDS_CHAN_ALWAYS (null pointer). Bram Matthys 2003-02-03 16:33:05 +0000
  • 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 +0000
  • 8d329b611a enabled FAST_BADWORD_REPLACE by default Bram Matthys 2003-02-02 23:13:26 +0000
  • 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 +0000
  • 56da92cab9 Added set::snomask-on-connect codemastr 2003-02-02 22:53:59 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 47dabe4c36 Aliases updates codemastr 2003-02-01 19:18:06 +0000
  • ab5ff5cdea Started work on set::allow-userhost-change codemastr 2003-02-01 19:14:31 +0000
  • 0004c00d7a Documentation updates codemastr 2003-01-29 20:41:04 +0000
  • 33cb958615 Fixed a channel mode +A bug codemastr 2003-01-29 20:27:02 +0000
  • 0a1aacda89 Fixed missing 's' flag in oper::snomask causing not receiving any server notices (attempt II) Bram Matthys 2003-01-29 01:15:09 +0000
  • 12a5746d47 Rechanged 'a Services Administrator' back to 'a Services Operator' codemastr 2003-01-29 00:56:01 +0000
  • a5ea13adc9 Added '/stats zip' Bram Matthys 2003-01-29 00:19:16 +0000
  • 637867bc6d Added makefiles to compile with zip links @ windows (zlib needed). Bram Matthys 2003-01-28 23:13:49 +0000
  • 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 +0000
  • bcac798a99 Fixed whois: "a Services Operator" -> "a Services Administrator" Bram Matthys 2003-01-28 20:32:21 +0000
  • 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 +0000
  • f6333714a2 Fixed some minor sending-1-byte-too-much bugs when all connections where in use. Bram Matthys 2003-01-28 19:06:56 +0000
  • 92fe4e04a3 Removed unnecessary #ifdef blocks added by previous ZIP_LINKS patch Bram Matthys 2003-01-28 03:27:48 +0000
  • 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 +0000
  • d0dc13faa5 Little fix for previous throttling fix (accessing just free()d memory). Bram Matthys 2003-01-27 21:25:27 +0000
  • 09776ff03f Fixed triple WATCH reply bug (#0000632) when USER was send before NICK. Bram Matthys 2003-01-27 21:00:21 +0000
  • 00698d9fd4 Fixed an SVSO bug and a throttling bug codemastr 2003-01-27 19:54:00 +0000
  • 1db740e154 Fixed an HCN bug with client exiting notices codemastr 2003-01-27 19:30:34 +0000
  • e070a40353 Fixed crash when link::leaf (and some other link:: things) was empty. (#0000610) Bram Matthys 2003-01-26 21:58:29 +0000
  • 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 +0000
  • deb038730a Minor documentation update for SVSNLINE. (#0000651) Bram Matthys 2003-01-26 03:18:36 +0000
  • 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 +0000
  • 117ec38808 Channel msging optimization by 10-30%. Bram Matthys 2003-01-25 21:26:53 +0000
  • 423a8c2739 Fixed yet another bug in new badwords replace system (should be almost finished now! ;P). Bram Matthys 2003-01-25 18:44:23 +0000
  • c4c87fb803 Blah... forgot to remove some debugging code in badwords.c (new fast replace system) Bram Matthys 2003-01-25 01:32:17 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 3a546fb04c Cleanup of m_userhost / my previous patch screwed things up ;P Bram Matthys 2003-01-23 21:05:44 +0000
  • 358a00e90c Fixed some formatting issues. Bram Matthys 2003-01-23 20:47:06 +0000
  • 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 +0000
  • 78dc344785 Added much better checking for weird characters in hostnames. We were doing "deny known bad characters" instead of "only allow known good characters", this was REALLY bad... This patch limits hostnames to alphanumeric, '-', '_' and '.'. Bram Matthys 2003-01-22 19:37:42 +0000
  • a79e26deff Fixed major (?) bug in resolver (affects ipv4 only), could cause long stalls / crashes. for (i = 0; &HE(cp)->h_addr_list[i]; i++) was used in ipv4 mode, but should be without the &... this caused some stalls (like 11 seconds) at my machine because the loop was executing >1 million times (I don't understand why it didnt crash however). Bram Matthys 2003-01-21 23:01:44 +0000
  • 735b011f3e (added to Changelog this time:) Added win32 compile instructions in doc/compiling_win32.txt Bram Matthys 2003-01-21 22:47:45 +0000
  • e9b96afef8 Added win32 compile instructions in doc/compiling_win32.txt. Bram Matthys 2003-01-21 22:46:48 +0000
  • d932cf0220 Fixed bug in channel mode +L #aaaaaaaaa<etcetc>. Bram Matthys 2003-01-20 21:17:24 +0000
  • e71f39ea62 Fixed bug in non-working channel mode +H. There was a #ifdef ENABLE_INVISOPER block around +H checking, but this #ifdef is only at this place and is also never defined... Removed #ifdef because that's now in module... Bram Matthys 2003-01-20 20:48:59 +0000
  • d944643010 Minor documentation fixes reported by Jollino (LUSERS, OFLAGS mode h) Bram Matthys 2003-01-20 20:00:57 +0000
  • 1e51112790 Fixed win32 compile error because of report_error patch (oops, lalala :P). Added P_ECONNABORTED and P_ECONNRESET. Bram Matthys 2003-01-20 19:33:18 +0000
  • 56a0d8adf7 removed ircdreg stskeeps 2003-01-20 16:08:35 +0000
  • 6a9579930a Fixed crash when +x is in modes-on-oper, user has -x and then /oper's. Bram Matthys 2003-01-20 15:21:38 +0000
  • 9c31edf6e7 Made netadmins able to see users in all chans by using /who #chan or /names #chan. Bram Matthys 2003-01-20 03:44:13 +0000
  • d7e7562626 I love ugly code!! I fixed an out of bound memory read a week ago in the time function, however my fix was wrong / usually the out of bounds memory reading went well so the function worked... now it didn't... patched ;P. Some examples: 4s = 8, 1m = 61, 1h = 3601, 1h2m = 3722. Bram Matthys 2003-01-20 01:38:59 +0000
  • 2a266829e3 Fixed SVSMODE bug in handling of non-qaohvbe modes. (#0000631) *parabuf wasn't set to '\0' so previous modes were applied in some cases... Bram Matthys 2003-01-20 00:46:27 +0000
  • 86021bdd9b Fixed shun: ADMIN and PONG are allowed if shunned, also manually removing a SHUN from a user affects connected clients immediatly. Moved ~45 lines of code to a seperate function for this. Bram Matthys 2003-01-20 00:30:51 +0000
  • 87b22510c0 Fixed some of the FreeBSD warnings, like 'Cannot accept connections' and 'getsockopt(IP_OPTIONS)' reported in bug #0000616. There's still one around somewhere, but it's a start. Also modified report_error so it reports both the socket error AND the system error if they are different. Bram Matthys 2003-01-19 23:46:16 +0000
  • 1c1f135f8d useless change: &me.name -> me.name in my previous patch, doesn't change anything but it was annoying my eye ;P. Bram Matthys 2003-01-19 23:29:22 +0000
  • 1d0936d07a Added RPL_ENDOFSTATS after tkl_stats output if called by /kline, /gline, etc without parameters. Bram Matthys 2003-01-19 22:58:07 +0000
  • 22f60e47c8 Fixed compile error in src/random.c at win32. Also added some nice #ifdef's so we don't get unused var warnings in non-SSL mode... Bram Matthys 2003-01-19 22:41:03 +0000
  • 5e2cf7b90f Fixed compile error in makefile.win32.ssl (added src/random.c) Bram Matthys 2003-01-19 22:29:02 +0000
  • d5faf64581 Added message if '/helpop' is used without parameters by helpops. (dont panic!) Bram Matthys 2003-01-19 21:26:34 +0000
  • f97b537b09 Fix for missing mode 'S' in 005 CHANMODES= message Bram Matthys 2003-01-19 20:30:30 +0000
  • 193265ef69 Added access level required for chmodes, documented +G, changed USERCMDS layout Bram Matthys 2003-01-19 20:21:35 +0000
  • 0c74c5cd11 Fixed example.conf set::dns::retries, 2s -> 2 Bram Matthys 2003-01-19 20:05:57 +0000
  • 5ad7468aa1 fixup commit for tag 'unreal3_2_beta13' cvs2hg 2003-01-18 09:01:53 +0000
  • c5991fc8da fixed crypt on win32 stskeeps 2003-01-18 09:01:52 +0000
  • a05c61042b BAH FUCK stskeeps 2003-01-17 22:20:48 +0000
  • e42a63972e ** beta14 released ** stskeeps 2003-01-17 22:03:13 +0000
  • e5dc32a0d0 - Compile fixes regarding throttling - Fix when you use another make than make stskeeps 2003-01-17 20:32:49 +0000
  • 5289be076a - Preperations for beta14. Will be a recommended upgrade stskeeps 2003-01-17 17:10:11 +0000
  • f83daf4607 stupidity luke 2003-01-17 15:23:51 +0000
  • eb1e4f000b Resolver bug fix codemastr 2003-01-16 22:10:06 +0000
  • 381350618f - One more fix to the above stskeeps 2003-01-16 15:19:25 +0000
  • 1aabd39d27 - Fixed a bug where helpop would pass on a null pointer stskeeps 2003-01-16 13:45:26 +0000
  • ea2f1c6fc7 - Fixed a bug where helpop would pass on a null pointer if it was a remote client (this needs more investigating, could someone find out how the fuck it can get a remote helpop that's blank anyhow?). stskeeps 2003-01-16 06:19:12 +0000
  • 3ff374d811 We were writing a null to the log file when we reached max size. Bug #0000613 reported by AngryWolf mcskaf 2003-01-15 23:16:15 +0000
  • 0349a1d1d8 We were writing a null to the log file when we reached max size. Bug #0000613 reported by AngryWolf mcskaf 2003-01-15 23:10:13 +0000
  • 7601cbcf12 - Adding throttling, read config.h for more info. For the uneducated, throttling is to reconnect way too fast repeatedly. Thanks to [Real] for the idea stskeeps 2003-01-15 18:32:25 +0000
  • c02033f3ca Fixed a bug when leaving off a parameter for a password config entry codemastr 2003-01-15 16:40:15 +0000