bill 2002/04/22 18:32:10 EDT (20020422_0) Modified files: modules bothunt.c src stdcmds.c Added files: . README-csircd tools csircd-tcm.diff Log: - added documentation for csircd, complete with a patch to make it work properly - added support for faulty british language that has polluted hybrid-7 Revision Changes Path 1.1 +22 -0 tcm-hybrid/README-csircd (new) 1.57 +2 -0 tcm-hybrid/modules/bothunt.c 1.45 +8 -2 tcm-hybrid/src/stdcmds.c 1.1 +33 -0 tcm-hybrid/tools/csircd-tcm.diff (new) leeh 2002/04/21 16:14:38 EDT (20020421_0) Modified files: modules serverif.c Log: - ERROR doesnt have a source.. Revision Changes Path 1.51 +1 -1 tcm-hybrid/modules/serverif.c wcampbel 2002/04/19 19:15:11 EDT (20020420_0) Modified files: include bothunt.h modules .depend commands.c Log: More -Wall -Wunused ...... cleanups Revision Changes Path 1.24 +2 -0 tcm-hybrid/include/bothunt.h 1.9 +1 -1 tcm-hybrid/modules/.depend 1.42 +1 -0 tcm-hybrid/modules/commands.c wcampbel 2002/04/17 18:09:29 EDT (20020417_0) Modified files: modules bothunt.c commands.c serverif.c src .depend stdcmds.c userlist.c Log: Bill noticed that usernames can contain the [{]}\| casemapping characters. Made anything that used wldcmp() on usernames use match(). wldwld() calls have NOT been changed. Cleanups from -Wall blah blah Revision Changes Path 1.56 +2 -1 tcm-hybrid/modules/bothunt.c 1.41 +1 -1 tcm-hybrid/modules/commands.c 1.50 +1 -3 tcm-hybrid/modules/serverif.c 1.10 +1 -1 tcm-hybrid/src/.depend 1.44 +7 -7 tcm-hybrid/src/stdcmds.c 1.47 +4 -3 tcm-hybrid/src/userlist.c wcampbel 2002/04/16 17:33:03 EDT (20020416_0) Modified files: src .depend Makefile.in stdcmds.c Added files: include match.h src match.c Log: Added a match() function, used in commands that compare against nicks. The match() is taken from IRCnet 2.10.3p3 with some local modifications. The benefit is that in the non-regular expression case of .nfind, nicks will be matched with the "proper" RFC1459 casemapping. Revision Changes Path 1.1 +28 -0 tcm-hybrid/include/match.h (new) 1.9 +4 -2 tcm-hybrid/src/.depend 1.15 +1 -0 tcm-hybrid/src/Makefile.in 1.1 +324 -0 tcm-hybrid/src/match.c (new) 1.43 +3 -2 tcm-hybrid/src/stdcmds.c bill 2002/04/11 21:40:52 EDT (20020412_1) Modified files: modules bothunt.c Log: - added documentation for most server notices - fixed parsing of Flooder notice - fixed parsing of incoming/disconnecting server notices Revision Changes Path 1.55 +28 -17 tcm-hybrid/modules/bothunt.c einride 2002/04/11 19:35:42 EDT (20020412_0) Modified files: etc tcm.cf include bothunt.h modules bothunt.c Log: Fixed reconnect clone detection Added "rclone" action and modified tcm.cf sample to reflect it Changed reconnect clone threshold to 5 connects / 15 seconds Revision Changes Path 1.18 +2 -0 tcm-hybrid/etc/tcm.cf 1.23 +1 -1 tcm-hybrid/include/bothunt.h 1.54 +18 -7 tcm-hybrid/modules/bothunt.c wcampbel 2002/04/11 09:11:15 EDT (20020411_0) Modified files: modules serverif.c Log: Fixed TCM connecting to a server running PING cookies. This may also account for ping timeouts on an idle tcm without any sort of services testing. Revision Changes Path 1.49 +8 -2 tcm-hybrid/modules/serverif.c wcampbel 2002/04/08 10:02:29 EDT (20020408_0) Modified files: include config.h src main.c Log: Added #define FORCE_CORE, defined by default, to automatically ulimit the core file size to "unlimited". This is used so that tcm can dump core even on systems that default userland cores to 0 (eg. Redhat) Revision Changes Path 1.35 +6 -0 tcm-hybrid/include/config.h 1.29 +35 -0 tcm-hybrid/src/main.c bill 2002/04/05 21:00:20 EST (20020406_0) Modified files: include bothunt.h modules bothunt.c serverif.c src logging.c stdcmds.c Log: - added .gline command - beautified gline logging - fixed infinite loop in kill notice parsing Revision Changes Path 1.22 +15 -15 tcm-hybrid/include/bothunt.h 1.53 +161 -75 tcm-hybrid/modules/bothunt.c 1.48 +9 -6 tcm-hybrid/modules/serverif.c 1.20 +3 -1 tcm-hybrid/src/logging.c 1.42 +1 -1 tcm-hybrid/src/stdcmds.c bill 2002/04/04 18:46:18 EST (20020404_3) Modified files: modules bothunt.c Log: - that stupid NOTICE AUTH :*** nonsense caused an off-by-one .. cored dax-mon Revision Changes Path 1.52 +3 -3 tcm-hybrid/modules/bothunt.c bill 2002/04/04 18:19:26 EST (20020404_2) Modified files: modules commands.c src token.c userlist.c Log: - fully integreated ENABLE_W_FLAG and NO_D_LINE_SUPPORT Revision Changes Path 1.40 +20 -0 tcm-hybrid/modules/commands.c 1.23 +1 -64 tcm-hybrid/src/token.c 1.46 +2 -0 tcm-hybrid/src/userlist.c bill 2002/04/04 17:53:47 EST (20020404_1) Modified files: modules bothunt.c commands.c serverif.c Log: - fixed off-by-one in onservnotice() - fixed NO_D_LINE_SUPPORT bug found by Disciple - fixed services notices bug found by plan9 Revision Changes Path 1.51 +1 -1 tcm-hybrid/modules/bothunt.c 1.39 +2 -0 tcm-hybrid/modules/commands.c 1.47 +4 -1 tcm-hybrid/modules/serverif.c bill 2002/04/04 17:17:49 EST (20020404_0) Modified files: . Makefile.in modules bothunt.c serverif.c Log: - replaced 8 spaces with \t in Makefile.in - typo prevented spambots from being klined - finished new argv[] processing (redid the rest of the server msg processing) Revision Changes Path 1.19 +1 -1 tcm-hybrid/Makefile.in 1.50 +1 -1 tcm-hybrid/modules/bothunt.c 1.46 +93 -115 tcm-hybrid/modules/serverif.c bill 2002/04/02 19:24:13 EST (20020403_0) Modified files: . Makefile.in src stdcmds.c Log: - make install was broken by the change - typo in regex matching Revision Changes Path 1.18 +28 -36 tcm-hybrid/Makefile.in 1.41 +7 -11 tcm-hybrid/src/stdcmds.c bill 2002/04/02 18:58:12 EST (20020402_1) Modified files: . Makefile.in configure autoconf configure.in modules Makefile.in src Makefile.in Log: - fixed autoconf to properly do prefix Revision Changes Path 1.17 +1 -2 tcm-hybrid/Makefile.in 1.13 +1 -1 tcm-hybrid/autoconf/configure.in 1.13 +77 -76 tcm-hybrid/configure 1.7 +1 -1 tcm-hybrid/modules/Makefile.in 1.14 +2 -1 tcm-hybrid/src/Makefile.in bill 2002/04/02 18:24:32 EST (20020402_0) Modified files: . Makefile.in configure autoconf configure.in etc tcm.cf include bothunt.h commands.h config.h setup.h.in stdcmds.h userlist.h modules .depend Makefile.in bothunt.c commands.c serverif.c wingate.c src .depend logging.c main.c modules.c stdcmds.c Log: - redid onservnotice() and all string parsing called by it - added regex matching to .list .vlist .nfind and .killlist - migrated list_() functions completely from commands.c to stdcmds.c - updated commands.h and stdcmds.h - updated dependency files - removed all unused variables/functions - fixed argv[] overflow that caused core - added safety typecase in socks detection that was causing a warning at compile time - added autodetection for regex.h and compatibility for systems without it - misc cleanup/syntax consistency type changes - drank a beer Revision Changes Path 1.16 +1 -1 tcm-hybrid/Makefile.in 1.12 +3 -0 tcm-hybrid/autoconf/configure.in 1.12 +127 -79 tcm-hybrid/configure 1.17 +2 -3 tcm-hybrid/etc/tcm.cf 1.21 +2 -7 tcm-hybrid/include/bothunt.h 1.6 +53 -0 tcm-hybrid/include/commands.h 1.34 +0 -3 tcm-hybrid/include/config.h 1.4 +4 -0 tcm-hybrid/include/setup.h.in 1.13 +5 -3 tcm-hybrid/include/stdcmds.h 1.23 +0 -1 tcm-hybrid/include/userlist.h 1.8 +3 -1 tcm-hybrid/modules/.depend 1.6 +3 -1 tcm-hybrid/modules/Makefile.in 1.49 +356 -289 tcm-hybrid/modules/bothunt.c 1.38 +102 -186 tcm-hybrid/modules/commands.c 1.45 +12 -23 tcm-hybrid/modules/serverif.c 1.22 +2 -2 tcm-hybrid/modules/wingate.c 1.8 +5 -5 tcm-hybrid/src/.depend 1.19 +39 -25 tcm-hybrid/src/logging.c 1.28 +1 -3 tcm-hybrid/src/main.c 1.20 +2 -2 tcm-hybrid/src/modules.c 1.40 +255 -51 tcm-hybrid/src/stdcmds.c bill 2002/03/20 00:08:29 EST (20020320_0) Modified files: include patchlevel.h modules commands.c serverif.c src userlist.c Log: - finished replacing tokenizer with hash table - fixed bug in .k commands that caused core - fixed bug in okhost() that caused performance drop - fixed bug in suggest_action that ignored klines - fixed bug in E: processing that mis-exempted cloning hosts - uped patchlevel to 3.0.3 Revision Changes Path 1.4 +2 -2 tcm-hybrid/include/patchlevel.h 1.37 +985 -841 tcm-hybrid/modules/commands.c 1.44 +0 -1 tcm-hybrid/modules/serverif.c 1.45 +49 -20 tcm-hybrid/src/userlist.c wcampbel 2002/03/19 18:54:35 EST (20020319_0) Modified files: src main.c Log: Ignore SIGTRAP to prevent tcm from coring when detaching gdb on FreeBSD Revision Changes Path 1.27 +1 -0 tcm-hybrid/src/main.c bill 2002/03/11 01:03:47 EST (20020311_0) Modified files: src stdcmds.c Log: - fixed minor typo that caused core, found by Disciple Revision Changes Path 1.39 +1 -1 tcm-hybrid/src/stdcmds.c bill 2002/03/08 23:08:44 EST (20020309_0) Modified files: modules serverif.c Log: - off by one in WALLOPS handling Revision Changes Path 1.43 +1 -1 tcm-hybrid/modules/serverif.c einride 2002/03/06 16:17:22 EST (20020306_7) Modified files: modules wingate.c Log: Whoops.... little messup socks detection socket slots wasnt properly marked as available. Revision Changes Path 1.21 +14 -14 tcm-hybrid/modules/wingate.c einride 2002/03/06 14:24:40 EST (20020306_6) Modified files: include config.h Log: Added two new defines used for SOCKS checks. Revision Changes Path 1.33 +11 -1 tcm-hybrid/include/config.h einride 2002/03/06 14:20:42 EST (20020306_5) Modified files: modules wingate.c Log: WinGate/Socks detection working. Socks detection now checks whether a proxy actually is open, not just that it exists. Revision Changes Path 1.20 +118 -21 tcm-hybrid/modules/wingate.c einride 2002/03/06 06:06:42 EST (20020306_4) Modified files: modules serverif.c Log: Added check for MAX_ARGV exceeds in input splitting to argv[] Revision Changes Path 1.42 +2 -2 tcm-hybrid/modules/serverif.c einride 2002/03/06 05:58:59 EST (20020306_3) Modified files: modules wingate.c src main.c Log: First round of fixing socks/wingate detection. Added a SIGPIPE ignore and made sure #define DETECT_WINGATE/SOCKS takes Revision Changes Path 1.19 +3 -3 tcm-hybrid/modules/wingate.c 1.26 +1 -1 tcm-hybrid/src/main.c bill 2002/03/06 04:08:14 EST (20020306_2) Modified files: src stdcmds.c Log: - proper fix for the bug. caused dax-mon to core, no longer. Revision Changes Path 1.38 +2 -1 tcm-hybrid/src/stdcmds.c bill 2002/03/06 00:36:31 EST (20020306_1) Modified files: src stdcmds.c Log: - oops, minor bugfix. Revision Changes Path 1.37 +2 -0 tcm-hybrid/src/stdcmds.c bill 2002/03/06 00:16:27 EST (20020306_0) Modified files: include bothunt.h modules.h modules .depend bothunt.c commands.c serverif.c wingate.c src main.c modules.c stdcmds.c userlist.c Log: - further progression on hashisizing of dcc commands - fixed E: lines - fixed channel reporting - stoped wingate.c from compiling if DETECT_WINGATE and DETECT_SOCKS are undefined - rewrote server timeout code. timeout value is now relative to the tcm's ping frequency value in its Y:. - added pingf updating in server rehash/sighup as well as tcm rehash/sighup - reimplemented mod_del_cmd() Revision Changes Path 1.20 +17 -17 tcm-hybrid/include/bothunt.h 1.12 +2 -4 tcm-hybrid/include/modules.h 1.7 +1 -3 tcm-hybrid/modules/.depend 1.48 +8 -1 tcm-hybrid/modules/bothunt.c 1.36 +32 -3 tcm-hybrid/modules/commands.c 1.41 +20 -19 tcm-hybrid/modules/serverif.c 1.18 +4 -0 tcm-hybrid/modules/wingate.c 1.25 +8 -3 tcm-hybrid/src/main.c 1.19 +2 -4 tcm-hybrid/src/modules.c 1.36 +3 -0 tcm-hybrid/src/stdcmds.c 1.44 +3 -2 tcm-hybrid/src/userlist.c bill 2002/03/05 02:10:57 EST (20020305_0) Modified files: include serverif.h modules bothunt.c commands.c serverif.c src logging.c main.c modules.c userlist.c Log: - miscellaneous code cleanups - began migration from tokenizer to hash table compatible with ircd-hybrid-7 - continued groundwork for tcm.so Revision Changes Path 1.14 +9 -6 tcm-hybrid/include/serverif.h 1.47 +9 -2 tcm-hybrid/modules/bothunt.c 1.35 +156 -114 tcm-hybrid/modules/commands.c 1.40 +24 -20 tcm-hybrid/modules/serverif.c 1.18 +2 -1 tcm-hybrid/src/logging.c 1.24 +3 -1 tcm-hybrid/src/main.c 1.18 +6 -2 tcm-hybrid/src/modules.c 1.43 +2 -0 tcm-hybrid/src/userlist.c bill 2002/03/04 16:10:13 EST (20020304_0) Modified files: modules serverif.c Log: Submitted by: Stian Sletner - fix in services-drone detection (was crashing normon almost daily) Revision Changes Path 1.39 +1 -0 tcm-hybrid/modules/serverif.c bill 2002/02/24 02:45:05 EST (20020224_0) Modified files: src userlist.c Log: Submitted by: zartik - extra %s in conf saving, found and fixed by zartik Revision Changes Path 1.42 +2 -4 tcm-hybrid/src/userlist.c einride 2001/12/17 17:08:26 EST (20011217_0) Modified files: modules serverif.c Log: Fixed a off by one in serverif.c. In pretty rare cases this could cause a SEGV. Revision Changes Path 1.38 +1 -1 tcm-hybrid/modules/serverif.c einride 2001/12/16 15:22:41 EST (20011216_2) Modified files: modules serverif.c src stdcmds.c Log: A struct in serverif.c lacked "extern", this was causing the SEGVs. Changed tcm created K-lines to be *@host rather than ~*@host, as e.g. connection flooding from unidented users isn't stopped by the ~* K-line Changed some strcpy/strcat to strncpy/strncat Revision Changes Path 1.37 +13 -8 tcm-hybrid/modules/serverif.c 1.35 +7 -24 tcm-hybrid/src/stdcmds.c einride 2001/12/15 20:33:22 EST (20011216_1) Modified files: modules wingate.c Log: Fixed overdetection of open SOCKS. Tested on production network, should be ok now. Revision Changes Path 1.17 +3 -1 tcm-hybrid/modules/wingate.c einride 2001/12/15 19:28:28 EST (20011216_0) Modified files: modules wingate.c Log: _config in wingate.c will now compile also if DETECT_SOCKS and DETECT_WINGATE isn't defined Revision Changes Path 1.16 +2 -1 tcm-hybrid/modules/wingate.c einride 2001/12/13 09:21:11 EST (20011213_1) Modified files: modules bothunt.c Log: Updated connect_flood_notice to consider "unknown@host" as an unidented connection, connection floods from unidented users was not correctly K-lined. Revision Changes Path 1.46 +1 -1 tcm-hybrid/modules/bothunt.c wcampbel 2001/12/12 22:57:19 EST (20011213_0) Modified files: modules commands.c Log: Fix a small possible buffer overflow Revision Changes Path 1.34 +1 -1 tcm-hybrid/modules/commands.c db 2001/12/12 18:19:58 EST (20011212_1) Modified files: src userlist.c Log: - trivial comment change. we no longer support 'b' for remote tcms Revision Changes Path 1.41 +1 -5 tcm-hybrid/src/userlist.c einride 2001/12/12 18:08:18 EST (20011212_0) Modified files: modules wingate.c src modules.c userlist.c Log: modules.c changed to support multiple hook entries per hook type. userlist.c changed to trigger the config hook. wingate.c changed to assume any open port 1080 is a socks, previous version would not detect SOCKS5 proxies. Revision Changes Path 1.15 +12 -2 tcm-hybrid/modules/wingate.c 1.17 +32 -106 tcm-hybrid/src/modules.c 1.40 +4 -1 tcm-hybrid/src/userlist.c db 2001/12/11 16:55:34 EST (20011211_1) Modified files: include userlist.h src userlist.c Log: - changed some loops to use memset - removed typedef no longer used einride volunteered to test! Revision Changes Path 1.22 +2 -2 tcm-hybrid/include/userlist.h 1.39 +26 -60 tcm-hybrid/src/userlist.c db 2001/12/11 02:00:57 EST (20011211_0) Modified files: modules commands.c src userlist.c Log: - reformatted commands.c - rewrote config file handling in userlist.c. Revision Changes Path 1.33 +4 -4 tcm-hybrid/modules/commands.c 1.38 +222 -279 tcm-hybrid/src/userlist.c bill 2001/12/07 15:06:16 EST (20011207_0) Modified files: modules bothunt.c serverif.c Log: - fixed +W flag - fixed spambot detection Revision Changes Path 1.45 +2 -2 tcm-hybrid/modules/bothunt.c 1.36 +2 -2 tcm-hybrid/modules/serverif.c *** 20011204_2 by bill - upped patchlevel to 3.0.2 *** 20011204_1 by bill - added detection for rapid reconnects note: the thresholds for this are rather aggressive, to change them you must edit include/bothunt.h *** 20011129_1 by bill - fixed bug in okhost() - fixed exemptions - fixed bug in .k commands when is warn (providing a nick caused core) *** 20011128_1 by bill - fixed bug in connect flood detection *** 20011127_1 by wcampbel Add kills_klines.log to .cvsignore *** 20011126_1 by bill - added optional duration to .k commands - .k commands' action will default to kline for "warn" *** 20011124_1 by bill - made +W affect LOCOPS viewing in addition to OPERWALL - made +W off by default, define ENABLE_W_FLAG in include/config.h to enable - fixed improper format bug in commands.c - fixed typo in do_a_kline() -- found by plan9 - fixed bug in .kline (and added optional duration) -- also found by plan9 *** 20011123_4 by wcampbel Paste broke up a string line *** 20011123_3 by wcampbel More cleanups, no XXX's this time *** 20011123_2 by wcampbel More code cleanup, more XXX's *** 20011123_1 by wcampbel TCM Cleanups. Look at the XXX's for more details. Moved report_multi*() to be static functions in modules/commands.c, as they are only used there, and don't appear to depend on anything else. *** 20011114_1 by bill - fixed bug with server buffer initialization *** 20011110_3 by bill - set MAX_ARGV to 80 to account for extra long OPERWALLs - proc() cleanups - list_user*() cleanups - fixed : bug in tcm.cf's M: - rdpt() cleanups *** 20011110_2 by wcampbel More cleanups *** 20011110_1 by wcampbel Some more cleanups... I XXX'ed out some functions, check to see if they are not used *** 20011109_2 by wcampbel Fix make lint Minor cleanups *** 20011109_1 by wcampbel Bunched all the SERVICES defines together, requested by paulsen *** 20011108_1 by bill - added ability to specify install directory with ./configure --prefix (documented, aren't you proud hwy?) - turned OPERS_ONLY on by default - fixed bug in rdpt() causing incoming buffers from differing fds to be switched with one-another - fixed bug in check_host_clones() and check_virtual_host_clones() that would print unitialized variables - fixed .vlist so the user part of <[user@]ip> works properly. you may now: .vlist 255.2?5.* or .vlist ~*@255.2?5.* (documented this, too. I am on a role!) - added the "has disconnected" notice back from wherever it went *** 20011107_1 by wcampbel Document some items more clearly. Disable HOW_TO_MAIL by default. Add in zartik's suggested command for HOW_TO_MAIL on FreeBSD and OpenBSD. *** 20011105_2 by wcampbel Updated some documentation, spotted by paulsen *** 20011105_1 by wcampbel Documentation corrections from paulsen *** 20011102_1 by db - fixed core dump on linkclosed - various cleanups with argv nonsense *** 20011031_1 by bill - added NULL checking in find_banned_host() *** 20011030_4 by bill - removed obsolete autopilot - fixed .raw/.quote *** 20011030_3 by wcampbel Minor documentation fix *** 20011030_2 by bill - added checking for SUN ld, -export-dynamic caused breakage on solaris *** 20011030_1 by bill - fixed parse error in .testline response. k-line notice argv[] was off by 2 *** 20011029_7 by bill - fixed bug in gline request/trigger parsing *** 20011029_6 by bill - added ability to specify user with ipmask in .vlist you can now: .vlist some.net.block.* (or .vlist *@some.net.block.*) .vlist user@some.net.block.* etc *** 20011029_5 by wcampbel Added a logs .cvsignore file *** 20011029_4 by wcampbel More cleanups *** 20011029_3 by wcampbel Fixed some format string bugs And did a couple things for safety (added precaution against FSB's) *** 20011029_2 by wcampbel Update of the help files *** 20011029_1 by bill - fixec vclone detection to only call suggest_action() if the idents are the same *** 20011028_11 by wcampbel Removed the last remnants of placed *** 20011028_10 by db - more cleanups *** 20011028_9 by db - removed placed - redid server message handling lookup table - redid argv[] catenation *** 20011028_8 by wcampbel Removed a little more crud Made a small change for correctness *** 20011028_7 by wcampbel Documentation update: Corrected an error in README-WINGATES Updated and remove specific values from README *** 20011028_6 by wcampbel TYPE_CAN_REMOTE is gone (BLOAT!) *** 20011028_5 by wcampbel Id'ed everything properly Removed more crud related to linking and remote tcm opers Other general cleanups *** 20011028_4 by wcampbel Removed TYPE_TCM and all it's related trash *** 20011028_3 by wcampbel Cleaned up more cruft/lint/moldy code/BLOAT *** 20011028_2 by wcampbel Removed the BUGS list that Bill created. Documented that I repo-moved tcm.check into tools/ *** 20011028_1 by wcampbel More cleanups *** 20011027_6 by wcampbel Document .testline........ *** 20011027_5 by bill - fixed ping timeout bug. we now reset last_ping_time whenever we read data *** 20011027_4 by bill - fixed duplicated \001\n in ping reply *** 20011027_3 by bill - fixed more warnings *** 20011027_2 by db - yet more cleanups. add_action called with too many args. moved function prototypes into tcm.h *** 20011027_1 by db - Yet more tcm cleanups *** 20011026_11 by wcampbel Added etc/.cvsignore *** 20011026_10 by bill - removed generation of 'rude' default Makefile on distclean *** 20011026_9 by wcampbel Updated the INSTALL document *** 20011026_8 by wcampbel Fixed modules/.depend *** 20011026_7 by wcampbel Massive code cleanup - no more warnings in modules/*.c Fixed some format string bugs and an if (... = ...) Added modules/.cvsignore *** 20011026_6 by db - corrected typos, it runs... *** 20011026_5 by db - cleanups, these mallocs were not needed at all. *** 20011026_4 by bill - fixed all warnings caused by src/ files - updated dependancy files - fixes for modules/ warnings to come *** 20011026_3 by bill - missing string.h which caused warnings on compile *** 20011026_2 by bill - fixed "is now an operator" notice *** 20011026_1 by db - got rid of unnecessary mallocs and frees - make function names stand out on own line - just a bunch of cleanups *** 20011024_3 by wcampbel Document .help umode *** 20011024_2 by bill - forgot to duplicate bugfix in its other locations *** 20011024_1 by bill - minor bugfix in if() caused by unexpected disconnect *** 20011023_2 by bill - updated default M: to goto http://www.ircd-hybrid.org/tcm/ *** 20011023_1 by bill - found and fixed mem leak - fixed parse error in server link/unlink messages *** 20011020_1 by db - First pass of cleanups, if remote tcm is no longer supported all the code needed for that is not needed! *** 20011017_4 by wcampbel Correction, that was .restart, not .rehash *** 20011017_3 by wcampbel Added .restart. It works but does not properly clean up connections. Someone who knows current tcm code better will need to handle this. Removed the less than polite Makefile. There is no reason for it... If people cannot run ./configure, they shouldn't be running the service in the first place. This Makefile also interferes with cvs update's and commits if you don't make distclean first. *** 20011017_2 by wcampbel Doc cleanups Minor cosmetic code cleanups configure now takes the current working directory and sets it to DPATH, this is used when starting so that it chdir's into there BEFORE trying to use the conf files. This will allow the tcm to be started from any directory, not just in the root of the source tree. The side effect is that users will have to build in place...they cannot build then move the tree elsewhere. This will also be used for RESTART. *** 20011017_1 by bill - whoop, first in what is sure to be series of typo fixes (argv[9] needed where argv[6] was) *** 20011016_2 by bill - got rid of tcm linking userlist flags (note: once and for all, tcm link support is *gone*) it needs to be rewritten, and taking it out was motivation for me to redo it - replaced old E: lines in userlist.cf with what were once known as F: lines - updated connection flooding to handle "Invalid username" notices as well as X-line rejection notices - added capability to detect network splits/joins and inform SEND_WARN_ONLY users - added G-line support (for monitoring, I have yet to decide if tcm opers should have control over voting on G-lines) - REHASH notice still doesn't seem to work. I have absolutely no idea why.. anyone? - added logging of "Failed OPER attempt" notices, also inform SEND_WARN_ONLY users - added logging of "has just acquired the personality of a ..." notices, and again, inform SEND_WARN_ONLY users - rewrote okhost() to be action specific; the rules are as follows: cflood -- ident -> ident@host no ident -> ~*@host vclone -- ident -> ident@ip.block.0/24 no ident -> ~*@ip.block.0/24 flood -- ident -> ident@*.domain no ident -> ~*@host link -- ident -> ident@host no ident -> ~*@host bot -- ident -> ident@*.domain no ident -> ~*@host ctcp -- ident -> ident@*.domain no ident -> ~*@host spambot -- ident -> ident@*.domain no ident -> ~*@host clone -- ident -> *@host no ident -> ~*@host sclone -- ident -> *@host no ident -> ~*@host drone -- ident -> *@host no ident -> ~*@host wingate -- ident -> *@host no ident -> ~*@host socks -- ident -> *@host no ident -> ~*@host (note: I would like these to be, at some point, #define'able or even better, configurable in the config file(s). Dynamic configuration, like .action, would be the next step to this, too.) *** 20011016_1 by bill - first step of major comit -- updated to correct action names -- updated user flags (and added +e/+p to userlist) *** 20011013_4 by bill - document updates - connection flooders always klined ident@ even if there is no ident *** 20011013_3 by bill - stat() caused core. to hell with it. *** 20011013_2 by bill - changed around .vbots and .vmulti to maintain format of .bots and .hmulti *** 20011013_1 by bill - added supposed mem leak to BUGS - rewrote .save to replace tcm.cf rather than making its own file - removed obsolete .load - updated dependancy file *** 20011011_14 by bill - line break where there shouldn't be one *** 20011011_13 by db - reverted missing tokens in commands.c *** 20011011_12 by db - no its 9 chars, it really does have a space after the '>' *** 20011011_11 by db There are 8 letters in "Wingate>" not 9 (pointed out by Zike on EFnet) *** 20011011_10 by bill - damn debug statements *** 20011011_9 by bill - finalized updates. we are ready for a release. *** 20011011_8 by bill - made .kclone/.kbot/etc conform to their respective .actions - more help file updates *** 20011011_7 by wcampbel Cleanup of the example tcm.cf (add A:sclone: and A:drones: => A:drone: ) *** 20011011_6 by bill - Taske is all over these help file updates *** 20011011_5 by bill - More updating help files - Fixed Unauthorized client connection SNOTICE bug *** 20011011_4 by bill - Thanks to Taske (irc.daxnet.no admin) for pointing out multiple typos and formatting mistakes - Fixed .vbots to correct threshold - Ultimate robustness (yes, it is a word now) in .action - Removed .hlist and .ulist from help files (the commands were removed some time ago, use .list *@host or .list user@*) *** 20011011_3 by bill - I never remember to remove my fripping debug statements *** 20011011_2 by bill - minor typo in .vmulti *** 20011011_1 by bill - redid add_common_function() to properly initialize each linked list *** 20011010_2 by bill - oops forgot to remove a debug statement *** 20011010_1 by bill - die on KLINE/DLINE - Made DCC connects O_NONBLOCKing - rewrote .action to be as robust/multi-syntaxed as I can possibly make it - fixed = from being added to exempt list in spoofed I-lines - spoofed hosts now shown in .whom and STATS p rather than real hosts - .chat connects are now treated the same as DCC (printed MOTD, greeting, etc) - actions are now properly read from the config file - fixed .chat bug in BUGS file requiring both spoofed and real hostname being added to the userlist.cf *** 20011009_3 by bill - fixed typo *** 20011009_2 by bill - forgot to commit fix for dcc bug (non resolving ips didnt always work) - suggest_host() now includes type, so we can suggest a host based on what we are klining for *** 20011009_1 by bill - implemented fully .modload, .modunload, .modreload - updated out-of-date dependency file *** 20011008_2 by wcampbel Cosmetic cleanup of the help files *** 20011008_1 by wcampbel Fix for .help. ".help admin" still doesn't work, but it's not a big concern for right now. *** 20011004_2 by wcampbel Cosmetic fix of LOCOPS/WALLOPS/OPERWALL handling. *** 20011004_1 by bill - fixed .opers - fixed .locops (and WALLOP parsing) - removed obsolete spoof detection code - improved Makefile.in to remove *all* logs on distclean *** 20011003_1 by wcampbel Fixed .umulti and .hmulti once and for all. *** 20011001_1 by bill - fixed to run on fbsd - dcc chat works 50/50, some problem with makeconn() getting the proper address *** 20010922_5 by wcampbel Fixed FreeBSD compiles, I'll test on Linux in a minute, then test to make sure that two tcm's on both platforms will work *** 20010922_4 by bill - freebsd likes making things difficult for me, as always. *** 20010922_3 by bill - already found a bug, heh. this fixes cwd problem in *bsd *** 20010922_2 by bill - removed unneeded files *** 20010922_1 by bill - completed modularization and adaptation (finally!) - upped version to 3.0.1 *** 20010921_1 by bill - modularization is almost finished todo: make sure all actions have been correctly implemented make sure wingate/socks detection still works *** 20010920_2 by bill - more work towards modularizing info: tcm now gets online. working on ctcp/privmsg/notice handling to get dcc chat working. *** 20010920_1 by bill - fixed modules - began to rewrite most functions to use connnum, argc, argv format - hooray, only busy work until completion *** 20010919_4 by bill - thanks to larne for advice regarding compiling modules. they now load semi-succesfully current problem: undefined symbols in loading each module. suggestions? *** 20010919_3 by bill - adding very needed files *** 20010919_2 by bill - heh oops. turned off DEBUGMODE by default *** 20010919_1 by bill - another major leaped towards modularization current brokenness: ELF file's phentsize not the expected size for all modules on load *** 20010918_2 by bill - first commit towards modularization note: this tcm does *not* work, and yes I know it compiles TODO: I need to finish updating the files in modules/ to work as (un)loadable modules, and to work independently of one another. Please do not send this copy out. *** 20010918_1 by bill Directory /cvsroot/tcm-hybrid/modules added to the repository *** 20010906_1 by bill - fixed lag caused by many simultaneous SOCKS connection attempts *** 20010902_1 by bill - fixed threshold.. we have to -= 2 for some reason in all the report_?multi()s *** 20010901_2 by bill - cosmetic fix, removed extra space in LOCOPS logging *** 20010901_1 by bill - fixed lag caused by wingate/socks detection *** 20010829_3 by bill - fixed socks detection (since when does fstat() return 0 on failure?) - fixed .quit bug *** 20010829_2 by bill oopsie forget those were there ::smirk:: *** 20010829_1 by bill - fixed an overshot buffer in the new i/o code - fixed a threshhold miscalc (you had to -1 to get the correct output) *** 20010826_2 by bill - still from W. Campbell's patch forgot to remove extra space in kill message *** 20010826_1 by bill - added a modified patch by W. Campbell: fixes a few typos adds idle time to DCC .whom output replaces class_name in usage output to (it looks prettier, dunchya know?) *** 20010815_2 by bill - do not need to report offenders twice per offense. *** 20010815_1 by bill - more robust makefile to avoid problems if the binary is moved around *** 20010813_1 by leeh - updated make distclean to remove binaries *** 20010729_1 by bill - fixed SOCKS detection - a problem on my hard-disk required me to touch * in the tcm-hybrid dir (not all of these files were actually changed) - fixed #ifdefs for statically declared wingate_class type functions (they only checked for DETECT_WINGATE, and not DETECT_SOCKS) *** 20010728_1 by bill - first step towards fixing proxy checking (currently, wingate detect works, proxy detection does not) - once and for all, replaced stupid byte-per-recv() socket reading with an actual buffer *** 20010723_1 by wcampbel Replace all sprintf's with more secure snprintf's *** 20010722_15 by wcampbel This is all I can do to fix SOCKS detection. It now gets into socks_bindsocket but fails inside. *** 20010722_14 by wcampbel Fixed the tcm.check crontab script *** 20010722_13 by wcampbel Add .quote/.raw commands. They are disabled by default, and not saupported by the developers. *** 20010722_12 by wcampbel Fixed a couple bugs spotted by Stephen Olsen (Inglish) with .action *** 20010722_11 by wcampbel Remove the old strdup code (1990!!!) Store the pid file in etc/ *** 20010722_10 by wcampbel Add a .cvsignore to bin/ Change the documentation to reference bin/ *** 20010722_9 by wcampbel The binaries go into bin/, not ./, this also fixes a dependency issue *** 20010722_8 by wcampbel Directory /usr/cvsroot/tcm-hybrid/bin added to the repository *** 20010722_7 by wcampbel Made tcm work with getopt for command line arguments. This WILL break any installations that use ./tcm conf.file They will have to use ./tcm -f conf.file or just use the standard tcm.cf name. *** 20010722_6 by wcampbel Keep all logs in the logs/ directory. *** 20010722_5 by wcampbel Move the pref files and the cf's (and the motd) to the etc directory and document as such in INSTALL *** 20010722_4 by wcampbel Fix make lint in the tools/ Makefile *** 20010722_3 by wcampbel Updated dependencies *** 20010722_2 by wcampbel Updated .cvsignore's *** 20010722_1 by wcampbel Split out the version info into patchlevel.h *** 20010721_4 by wcampbel Made tcm work with the repo-move to src/ I believe it's good to go now *** 20010721_3 by wcampbel This is the code to support the help files in a subdirectory. The repo-move will be done as soon as I finish this commit *** 20010721_2 by wcampbel I did a repo-move for the *.h files into include/ This is what else needed to be done to make it work... Next is the icky src files... *** 20010721_1 by wcampbel Add a few more bugs to the BUGS list Add a check for crypt.h, needed for some (lame) Linux distributions *** 20010703_1 by wcampbel Add in the .cvsignore files *** 20010702_2 by wcampbel Cleaned up some things lint found Added make lint Changed rand/srand to random/srandom *** 20010702_1 by wcampbel Fixed my last typo in ChangeLog *** 20010619_1 by wcampbel Migrated to the same mkpasswd we use in hyb7 and hyb6 *** 20010618_1 by kreator - Solaris uses mblk_t from sys/stream.h for sys/socketvar.h; i've added necessary tests and includes in source to fix compile *** 20010617_1 by jdc - bothunt.c, logging.c: Linux needs time.h (patch by Hwy). *** 20010614_1 by db - just upped version *** 20010603_3 by db patch sent in by W. Campbell 1. Document that USE_CRYPT is enabled by default 2. Fix an issue where people could telnet to the tcm and not type anything. Those people would see everything that an oper would. I changed it so that sensitive data is only sent to remote TCM's if they were NOT pending connections (meaning fully registered) Simple change of -1 to INVALID for consistency -db *** 20010603_2 by greg Two simple bugfixes. - (from W. Campbell) oper before doing a /stats O; some servers may make use of OLINES_OPER_ONLY, or similar. - (pointed out by KrON/ogre) fixed a nifty core where islegal_pass() fell off the edge of the userlist array. (hum, maybe we should do something when spoofed opers msg the bot .chat? I can see this being a) an information leak if tcm is not opers_only, and b) a problem when a person uses .chat, but their oline is for their spoof) *** 20010603_1 by db Submitted by W. Campbell My "commit" message: 1. Makes numerous commands that can give away information oper only 2. The oper only conf line is in tcm.cf, not userlist.cf 3. FLAGS on comstud servers was missing a + 4. Documentation cleanup 5. fixed a couple compiler errors when wingate checking is enabled 6. Fixed another small issue with the opers only option 7. Added a small piece of debug code to the tcm.cf conf parser 8. Fixed a MAJOR security hole in .action The 1st and 8th are big, and in my opinion should warrant a new release, with whatever bug fixes greg decides to throw in. *** 20010602_2 by greg .. this one got missed. - FLAGS +SOME +UNGODLY +NUMBER +OF +INDIVIDUAL +FLAGS -> FLAGS +ALL (ircd-comstud compat.) *** 20010602_1 by greg Well kids, my first CVS commit. Be afraid or something. Some cleanup before I do some in-depth stuff. - removed the capability to msg a tcm .clones, it's kind of silly considering we dump it to the channel and stuff. - removed a few extraneous msg_mychannel()'s that were randomly dumping " [etc.]" to the TCM's channel, and personally scaring the hell out of me when I randomly see my TCM speak. Build check done. *** 20010403_2 by db - corrected drone code to honour autopilot as well - corrected examples. *** 20010403_1 by db - removed extra print to opers about cfloods - fixed spam warning to suggest .kspam *** 20010402_2 by db - action must specifically say "warn" or no warning is given at all *** 20010402_1 by db - cleaned up the logging, no more 0 length log files - renamed clone_log to just log, its a generic log - re-added back autopilot - added new tcm.cf flag "D" for deny i.e. opers only - oper deny /dcc will not show ip any more of tcm - bumped version up - tested on irc.ins.net.uk *** 20010221_1 by wcampbel Misc. documentation updates Release version 2.5.2, as a number of things have been done since 2.5.1 release *** 20010203_2 by wcampbel Format string bugs... We must find out what that 0 byte log file bug is...even if it means ripping out the mail code... *** 20010203_1 by wcampbel Massive cleanup part 4 of 4. tcm compiles cleanly (except for the version variables) with -Wall -Wunused...... and SHOULD be pretty clean now. I'll run it through lint soon, then will start going through and cleaning up the rest of the code. We'll see how it goes... Oh, I forgot to mention I added usermode +l to the MODE command it sends to the server when it connects. This allows tcm to see LOCOPS messages when it is run against a Hybrid 7 server. *** 20010202_1 by wcampbel Massive cleanup part 3 *** 20010201_6 by wcampbel Gotta stop coding when I'm tired....DEBUGMODE, not DEBUG... *** 20010201_5 by wcampbel Compiler warning cleanup part 3 *** 20010201_4 by wcampbel Massive Cleanup, part 2 *** 20010201_3 by wcampbel Don't remove the .pref's and logs on a make clean... use make cleandata for that... *** 20010201_2 by wcampbel bah... damn typo *** 20010201_1 by wcampbel Massive compiler warning cleanup, part 1 *** 20010131_2 by wcampbel Brought the configure script up to date *** 20010131_1 by wcampbel Major docs cleanup Minor bug fixes with the tokenizing code, and the commands parser *** 20010123_1 by wcampbel pwd.h isn't needed for a password encrypter *** 20010114_1 by wcampbel Documented the weird bug that spookey and I have been trying to debug *** 20010113_1 by wcampbel 1. Added a missing \n to the DCC CHAT msg() 2. Fixed the if's in local_ip() so that it will actually return a valid IP for the DCC CHAT message *** 20001209_1 by bill - fixed suggested_host in suggest_kill_kline() *** 20001208_2 by bill - medium sized overhaul - fixed link looker detection buffer overrun - fixed local kill client exiting buffer overrun - added CFLOOD action (for connect flooding drones which have been a problem lately) - finalizing ircd-comstud compatibility modifications *** 20001204_1 by bill - added F lines (violation specific E lines) - fixed parsing error with SQUIT/server disconnect msgs - changed .locops source to (nick) rather than (nick@tcm) *** 20001201_3 by bill - more comstud stuff *** 20001201_2 by bill - working on comstud compatibility still *** 20001201_1 by bill - added more compatibility for ircd-comstud (hello ik!) *** 20001110_2 by bill Permission error, fixed. Added a note to comstud users for making tcm work properly into tcm.cf *** 20001110_1 by bill Added support for ircd-comstud-1.11REL -Compatibility for different syntaxed messages (trace, client connects, etc) -Compatibility for non-numerical connection class identifications (and numerical still) -Updated wingate class code accordingly Bumped version to 2.5.1 *** 20000930_1 by bill changed comment for DETECT_DNS_SPOOFERS turned DETECT_DNS_SPOOFERS off by default *** 20000902_9 by db - discovered I had a previously released 2.4.7, bumped to 2.5.0 again to reduce confusion. *** 20000902_8 by db - doc cleanups only, but I bumped the version # to reduce confusion. *** 20000902_7 by db Directory /cvsroot/tcm-hybrid/HISTORY added to the repository *** 20000902_6 by lusky cleaned up Makefiles and converted to autoconf *** 20000902_5 by lusky fixed SERIALNUM started autoconf work added .depend *** 20000902_4 by lusky Directory /cvsroot/tcm-hybrid/autoconf added to the repository *** 20000902_3 by lusky added SERIALNUM support *** 20000902_2 by lusky Directory /cvsroot/tcm-hybrid/include added to the repository