1 // $Id: ChangeLog,v 1.173 2010/04/10 18:56:06 danielaustin Exp $ //
3 2010-04-10 Dan-m00 <daniel@undernet.org>
4 * mod.cservice/ADDUSERCommand.cc:
5 * mod.cservice/MODINFOCommand.cc:
6 * mod.cservice/REMUSERCommand.cc:
7 * mod.cservice/SUSPENDCommand.cc:
8 * mod.cservice/UNSUSPENDCommand.cc:
9 * mod.cservice/levels.h: specify admin levels for dealing with the
10 "*" channel. Levels are listed in levels.h - this is not
11 the best way of dealing with it, but will do for now.
13 Modified based on patch supplied by LordLuke
15 2010-04-10 Dan-m00 <daniel@undernet.org>
16 * mod.cservice/MODINFOCommand.cc: add extra checks so that forced
17 access users dont cause issues in cservice module.
19 Based on a patch supplied by LordLuke - thanks.
21 2009-09-22 Dan-m00 <daniel@undernet.org>
22 * mod.ccontrol/ccontrol.cc: add some extra checks to lag detection
23 code. Don't check lag for JUPEd servers either.
28 * bin/server_command_map.in
29 * doc/ccontrol.help.sql
31 * doc/ccontrol.update.sql
35 * mod.ccontrol/ADDCOMMANDCommand.cc
36 * mod.ccontrol/CHECKNETCommand.cc
37 * mod.ccontrol/Constants.h
38 * mod.ccontrol/LOGINCommand.cc
39 * mod.ccontrol/MODUSERCommand.cc
40 * mod.ccontrol/NEWPASSCommand.cc
41 * mod.ccontrol/USERINFOCommand.cc
42 * mod.ccontrol/ccServer.cc
43 * mod.ccontrol/ccServer.h
44 * mod.ccontrol/ccUser.cc
45 * mod.ccontrol/ccUser.h
46 * mod.ccontrol/ccontrol.cc
47 * mod.ccontrol/ccontrol.h
54 - AsLL now works on every machines. There's a strange bahviour with stringstream that made AsLL to not work on every machines: fixed.
55 - gnuworld now supports RPING replies (RO - RPONG)
56 - gnuworld now supports TIME replies
57 - Added lag reports support (can be toggled on/off using MODUSER -glag option)
58 - Server lags now appear in the "list servers" command.
59 - Time diffs for servers, if too big, are now reported in MsgChanLog.
60 - Server now appears in the logs for Failed and Successful logins
61 - Last time a password was changed will be showed if the -cl option is used in USERINFO
63 To update from previous version:
64 - You will have to run psql < doc/ccontrol.help.sql and psql < doc/ccontrol.update.sql
65 - You will have to run ./configure again
66 - you're ready to make, make install
67 - type cp bin/server_command_map.in bin/server_command_map
68 - You're ready to run it.
72 * mod.cservice/CIDRBanMatcher.cc
73 * mod.cservice/CIDRBanMatcher.h
74 * mod.cservice/HostBanMatcher.cc
75 * mod.cservice/HostBanMatcher.h
76 * mod.cservice/banMatcher.h
77 * mod.cservice/BANCommand.cc
78 * mod.cservice/Makefile.am
79 * mod.cservice/Makefile.in
80 * mod.cservice/UNBANCommand.cc
81 * mod.cservice/cservice.cc
82 * mod.cservice/sqlBan.cc
83 * mod.cservice/sqlBan.h : First implementation of CIDR
85 Probably still buggy as its not tested fully yet.
86 You will need re-run configure for this to work.
90 * mod.cservice/ACCESSCommand.cc:
91 * mod.cservice/cservice.cc:
92 * mod.cservice/CHANINFOCommand.cc:
93 * mod.cservice/levels.h:
94 * mod.cservice/responses.h:
95 * mod.cservice/LOGINCommand.cc:
96 * mod.cservice/MODINFOCommand.cc:
97 * mod.cservice/SHOWCOMMANDSCommand.cc:
98 * mod.cservice/sqlLevel.cc:
99 * mod.cservice/sqlLevel.h: Added invite on LOGIN,
100 to toggle: /msg X modinfo #chan INVITE <ON|OFF>
103 * mod.ccontrol/FORCECHANGLINECommand.cc:
104 * mod.ccontrol/FORCEGLINECommand.cc:
105 * mod.ccontrol/GLINECommand.cc:
106 * mod.ccontrol/SCHANGLINECommand.cc:
107 * mod.ccontrol/SGLINECommand.cc: Allow an internal logging
108 reason to be given to glines by appending a pipe char
109 followed by the logging reason. This reason is not
110 sent out to the network in the gline message.
112 2009-02-17 Dan-m00 <daniel@undernet.org>
113 * mod.ccontrol/ccontrol.cc: Check exceptions list when checking
116 2008-06-20 Dan-m00 <daniel@undernet.org>
117 * mod.cservice/cservice.cc: fix a problem when X is not in a
118 channel (due to +R modifications)
120 2008-06-19 Dan-m00 <daniel@undernet.org>
121 * mod.cservice/cservice.cc: stop unregistered channel msgs.
123 2008-06-19 Dan-m00 <daniel@undernet.org>
124 * mod.ccontrol/ccontrol.cc:
125 * mod.cservice/cservice.cc: Send SILENCE removals to (*) all
126 targets rather than a specific target. *bug fix*
128 2008-04-18 Dan-m00 <daniel@undernet.org>
129 * doc/autokill.sql: Modify autokill script to work with pgsql
130 version 8 and above. Slightly modified from original
131 submission due to obselete tables.
133 Originally submitted by Adrian Szabo
135 2008-04-18 Dan-m00 <daniel@undernet.org>
136 * mod.cservice/cservice.cc: remove depreciated "U" user status
137 flag (serves no purpose anymore)
139 2008-04-16 Dan-m00 <daniel@undernet.org>
140 * mod.cservice/cservice.cc:
141 * mod.cservice/JOINCommand.cc:
142 * mod.cservice/OPERJOINCommand.cc:
143 * mod.cservice/OPERPARTCommand.cc:
144 * mod.cservice/PARTCommand.cc:
145 * mod.cservice/PURGECommand.cc:
146 * mod.cservice/REGISTERCommand.cc:
147 * mod.cservice/SETCommand.cc: Add support to cservice module for
148 new '+R' mode. Also adjust channel events to watch for
149 registered channels even when the bot is not present.
151 2008-04-16 Dan-m00 <daniel@undernet.org>
159 * src/server.cc: Add support for ircu2.10.12.13's new '+R' mode
162 2008-04-16 Dan-m00 <daniel@undernet.org>
163 * configure.ac: Removed boost requirement for chanfix, altered
164 output for for ./configure script and tidied up old
165 leftover configure code.
167 * libltdl/acinclude.m4:
168 * */Makefile.in: Rebuilt configure/make system
170 2008-01-09 Dan-m00 <daniel@undernet.org>
171 * mod.cservice/PURGECommand: check global and channel lists for
172 suspended usernames (do not reop suspended users)
174 2008-01-05 Dan-m00 <daniel@undernet.org>
175 * doc/languages.sql: change language #15 to hebrew.
177 2008-01-03 Dan-m00 <daniel@undernet.org>
178 * doc/ccontrol.help.sql: Modify CONFIG help for new feature.
179 * mod.ccontrol/ccontrol.h:
180 * mod.ccontrol/ccontrol.cc: modify 'status' output to be more
181 user friendly, including new time specifications.
182 Also, incorporate new feature config options.
183 * mod.ccontrol/CONFIGCommand.cc: allow changes to the new CIDR
184 gline duration (including new time specs)
185 * mod.ccontrol/ccontrol_generic.cc: modify Ago() function to
186 only show seconds if greater than zero, or if no other
187 time units are present.
189 2008-01-01 Dan-m00 <daniel@undernet.org>
190 * db/gnuworldDB.cc: add dummy function to prevent pedantic
191 compilers from complaining. Thanks to Isomer for this!
193 2008-01-01 Dan-m00 <daniel@undernet.org>
194 * src/client.cc: make OP code send channel creation timestamp.
195 * mod.cservice/cservice.cc: make cservice reops send channel
198 2008-01-01 Dan-m00 <daniel@undernet.org>
199 * mod.cservice/CHANINFOCommand.cc: modify 'info <username>'
200 output to give a flags line for various settings.
202 2008-01-01 Dan-m00 <daniel@undernet.org>
203 * doc/update_config_20080101.sql:
204 * doc/cservice.config.sql: add USE_LOGIN_DELAY variable to set
205 if we use the login grace period or not.
206 * mod.cservice/LOGINCommand.cc: modify login command to check
207 the above configuration variable.
209 NOTE: please import the new config variable with the cmd:
211 psql cservice < doc/update_config_20080101.sql
213 2007-12-31 Dan-m00 <daniel@undernet.org>
214 * mod.cservice/CHANINFOCommand.cc: modify chaninfo output to
215 show suspend reasons to cservice administrators.
217 2007-12-31 Dan-m00 <daniel@undernet.org>
218 * mod.cservice/cservice.h:
219 * mod.cservice/cservice.cc: add new function for fetching the
220 channel log entries (for events). currently this is
221 not used but is for future use.
223 2007-12-31 Dan-m00 <daniel@undernet.org>
224 * mod.service/CHANINFOCommand.cc: remove "URL" line of output
225 from username information (NOT channel info!)
227 2007-12-31 Dan-m00 <daniel@undernet.org>
228 * mod.cservice/SETCommand.cc: report channel (un-)suspends to
231 2007-12-29 Dan-m00 <daniel@undernet.org>
232 * mod.cservice/PURGECommand.cc: check that the channel actually
233 exists on the network before attempting a reop.
234 (fixes core when purging empty channels)
236 2007-12-28 Dan-m00 <daniel@undernet.org>
237 * mod.cservice/cservice.cc: Check admin suspensions when using
238 admin level commands.
240 2007-12-28 Dan-m00 <daniel@undernet.org>
241 * doc/update_suspend_2071228.sql:
242 * doc/cservice.help.sql: modify help for SUSPEND command.
243 * mod.cservice/SUSPENDCommand.cc: modify suspend command to use
244 standard time specification (while maintaining original
247 NOTE: either reimport your help files, or run the following
248 command to update the syntax of SUSPEND in help:
250 psql cservice < doc/update_suspend_20071228.sql
252 2007-12-28 Dan-m00 <daniel@undernet.org>
253 * doc/update_purge_20071227.sql:
254 * doc/cservice.help.sql:
255 * mod.cservice/cservice.cc: modify help for PURGE command syntax.
256 * mod.cservice/PURGECommand.cc: modify purge command to auto
257 op all level 100+ users upon purge UNLESS -noop given.
259 NOTE: either reimport your help files, or run the following
260 command to update the syntax of PURGE in help:
262 psql cservice < doc/update_purge_20071227.sql
264 2007-12-27 Dan-m00 <daniel@undernet.org>
265 * mod.cservice/UNBANCommand.cc: modified UNBAN command so that
266 it will only remove an exact matching ban if one is
267 found. Also, report the number of bans removed from
268 the channel banlist NOT banlist+channel banlist!
270 2007-12-27 Dan-m00 <daniel@undernet.org>
271 * doc/update_variables_20071227.sql:
272 * doc/cservice.config.sql:
273 * doc/cservice.help.sql: update SQL data for new format BAN
274 command for mod.cservice
275 * mod.cservice/BANCommand.cc: modified BAN command to allow a
276 more friendly and usable format for ban duration. It
277 allows a unit specifier (s,m,h,d) after the time.
279 NOTE: the default variable for max ban duration is 2400. This
280 will equate to 2400 SECONDS after this change. To avoid this,
281 run the following command ONCE ONLY:
283 psql cservice < doc/update_variables_20071227.sql
285 2007-12-27 Dan-m00 <daniel@undernet.org>
286 * libgnuworld/misc.cc:
287 * libgnuworld/misc.h: add IsTimeSpec() function to check for
288 a valid time specification. Also modify the extractTime
289 function to allow variable default units to be used.
290 * mod.ccontrol/FORCECHANGLINECommand.cc:
291 * mod.ccontrol/FORCEGLINECommand.cc:
292 * mod.ccontrol/GLINECommand.cc:
293 * mod.ccontrol/SCHANGLINECommand.cc: modify function calls to
294 extractTime() for the above changes. Also implement
295 IsTimeSpec() checks rather than checking for a zero
296 reply from extractTime()
298 2007-12-26 Dan-m00 <daniel@undernet.org>
299 * mod.cservice/SETCommand.cc: alter set userflags to display
300 current setting if called with no arguments.
301 * mod.cservice/STATUSCommand.cc: show current channel userflags
302 setting in flags: line of 'STATUS' (if OP or VOICE)
304 2007-12-26 Dan-m00 <daniel@undernet.org>
305 * mod.cservice/cservice.h:
306 * mod.cservice/cservice.cc: move IPR requirement check into a
307 seperate function (needIPRcheck). This enables us to
308 require IPR even when someone is disableauth'd.
310 2007-12-26 Dan-m00 <daniel@undernet.org>
311 * doc/language*.sql: modify languages for new 101+101 responses
312 for userflags replies.
313 * doc/doc/update_languages_20071226_100_101.sql: update SQL for
314 previous installations.
315 * mod.cservice/SETCommand.cc: modify userflags functionality so
316 that you can use text or numeric settings.
318 NOTE: cservice module will CORE if you do not run the update
319 sql file, an example follows:
321 psql cservice < doc/update_languages_20071226_100_101.sql
323 however, it is PREFERRED that you re-import the entire language
324 database due to several other changes. The correct order is:
326 psql cservice < doc/languages.sql
327 psql cservice < doc/language_table.sql
329 followed by any of the optional languages in language_*.sql
331 2007-12-26 Dan-m00 <daniel@undernet.org>
332 * src/client.cc: dont clear out a channel if joining with a zero
333 timestamp - removed a desync.
334 * mod.cservice/cservice.cc: modified ReOp code to use the
335 xServer::Mode() function to set automodes (removed a
338 2007-12-24 Dan-m00 <daniel@undernet.org>
339 * src/client.cc: add channel creation timestamp after all DEOP
340 commands (to prevent desyncs caused when deopping users)
342 2007-11-06 Dan-m00 <daniel@undernet.org>
343 * mod.cservice/REGISTERCommand.cc: don't log SQL queries unless
344 enabled in cservice_config.h
345 * mod.cservice/PURGECommand.cc: don't log purging information
346 unless debugging is enabled in cservice_config.h
347 * mod.cservice/cservice.cc: move a few more entries to only
348 log when debugging is enabled.
350 2007-11-06 Dan-m00 <daniel@undernet.org>
351 * mod.cservice/REGISTERCommand.cc: Fix problem when registering
352 channels (no manager added!) due to SQL Exec mods.
354 2007-11-05 Dan-m00 <daniel@undernet.org>
355 * mod.cservice/ACCESSCommand.cc: fix output when too many
356 entries are listed (uses same response as too many ban
359 2007-11-05 Dan-m00 <daniel@undernet.org>
360 * mod.ccontrol/CHANINFOCommand.cc: modify command to output a
361 summary of number of ops and voice in a channel. Also
362 shows full user list to CODER level (with +o/+v flag)
364 2007-10-31 Dan-m00 <daniel@undernet.org>
365 * mod.ccontrol/commLevels.h: move UNJUPE access to second access
366 flag instead of first (otherwise it doesn't work!)
368 2007-10-31 Dan-m00 <daniel@undernet.org>
369 * build-system: Rebuild entire configure/build system. This
370 fixes problems running ./configure (COND_PCRE errors)
373 2007-10-31 Dan-m00 <daniel@undernet.org>
374 * mod.cservice/cservice.cc: fix bug in reop code that causes
375 newer GCC versions to coredump on reops.
377 2007-09-12 Dan-m00 <daniel@undernet.org>
378 * libgnuworld/match.cc: Remove compiler warnings relating to
379 empty body in while() and for() loops
381 * mod.ccontrol/ccontrol.h:
382 * mod.ccontrol/ccontrol.cc: Remove compiler warnings relating
383 to invalid type conversions.
385 2007-09-12 Dan-m00 <daniel@undernet.org>
386 * Re-built configure system
388 2007-09-12 Dan-m00 <daniel@undernet.org>
389 * src/server_glines.cc: Modify the way we erase items from the
390 gline map. This stops coredumps in newer gcc versions.
391 * mod.ccontrol/ccontrol.cc: add parenthesis around tests to
392 remove compile time warnings and potential mis-testing.
394 2007-09-12 Dan-m00 <daniel@undernet.org>
395 * libgnuworld/Signal.cc:
396 * libgnuworld/match.cc:
397 * mod.ccontrol/ccLog.cc: Added missing stdlib.h includes that
398 cause gcc4.3 to complain.
400 2007-09-01 MrBean <mrbean@undernet.org>
401 * Fixed the build system to include PGSQL lib in case postgresql is selected
402 * Modules can now link against log4cpp, use --with-log4cpp=<dir> to use it
403 * mod.cservice/cservice.cc - Fixed a bug which prevented X from starting
404 * mod.dronescan/* - Dronescan now logs all the glines it issues (need to enable log4cpp for it to work)
406 2007-08-24 MrBean <mrbean@undernet.org>
407 * mod.dronescan/* Added exceptional channels (channels which are not checked)
408 The dronescan can now gline join flood offenders
410 NOTE: you must run the update sql file : psql dronescan < doc/update_exceptionalChannels_20070824.sql
412 2007-08-07 Dan-m00 <daniel@undernet.org>
413 * mod.cservice/LBANLISTCommand.cc: Set response to 'too many
414 bans' to be dynamic (from cservice_config.h)
416 * doc/language_*.sql: Modify response for the above.
417 * doc/update_languages_20070807_31.sql: modification sql file
419 NOTE: cservice module will CORE if you do not run the update
420 sql file, an example follows:
422 psql cservice < doc/update_languages_20070807_31.sql
424 2007-08-06 Dan-m00 <daniel@undernet.org>
425 * mod.cservice/sqlChannel.h:
426 * mod.cservice/sqlChannel.cc: Updated event types to reflect
427 all known events from the database.
428 * mod.cservice/SETCommand.cc: Updated 'SUSPEND' to require a
429 suspension reason, which gets logged to the channel
430 log with event type 'suspend' or 'unsuspend' with
432 * mod.cservice/STATUSCommand.cc: remove certain flags from
433 public view so that only '*' users can see them.
434 (e.g. SPECIAL, MIA ...)
436 2007-26-05 MrBean <MrBean@undernet.org>
438 src/iClient.cc : Added the getServer method which returns
439 the server on which this client is
442 2007-12-05 MrBean <MrBean@undernet.org>
443 * libircu/msg_S.cc: Fixed a bug which caused gnuworld to falsly
444 consider servers as bursting after EOB.
446 2007-04-27 MrBean <MrBean@undernet.org>
448 * src/Network.cc: Added the getAllBurstingServers method to
449 allow clients to get a list of the currently bursting
451 * mod.dronescan/*: Fixed a bug in which the bot was stuck in
452 in bursting state if the burst was not completed.
453 Fixed a bug in which number of clients that parted
456 2007-04-21 MrBean <MrBean@undernet.org>
457 * mod.dronescan/*: started working on the ability to auto
458 gline join/part flooders, currently it only reports
461 2007-04-18 Dan-m00 <daniel@undernet.org>
462 * libircu/msg_J.cc: alter logic slightly as a join to '0' (the
463 'part all channels' special exception) may not have a
464 timestamp (as it doesnt join anything)
466 * src/server.cc: added extra debug info to xServer::JoinChannel
468 2007-04-18 Dan-m00 <daniel@undernet.org>
469 * src/server.cc: fix parsing of channel modes on join (when +D
472 * libircu/msg_I.cc: add support (although unused) for invite
473 timestamps from .12 hubs
475 * libircu/msg_J.cc: add debug information to joins.
477 2007-04-18 Dan-m00 <daniel@undernet.org>
478 * doc/cservice.config.sql:
479 * mod.cservice/LOGINCommand.cc: add new functionality to the
480 max logins from same ip code. You can now force the
481 check of ident as well as IP in order to login.
483 requires 'LOGINS_FROM_SAME_IP_AND_IDENT' = 1 in the
486 2007-04-16 Dan-m00 <daniel@undernet.org>
487 * mod.ccontrol/FORCEGLINECommand.cc: Remove compiler warning
488 about unused variable.
490 * mod.ccontrol/ccontrol.cc: fix uptime output in 'status' cmd.
491 Also remove redundant variables/calculations.
493 2007-30-03 MrBean <mrbean@undernet.org>
494 * mod.ccontrol/GLINECommand.cc
495 * mod.ccontrol/FORCECHANGLINECommand.cc: Use the extractTime
496 method in CHANGLINE and FORCECHANGLINE instead of
497 duplicating the code.
500 2007-03-30 MrBean <mrbean@undernet.org>
501 * mod.ccontrol/*: Changed the name of the CHANGLINE command
502 to SCHANGLINE to conform with the SCOMMAND > FCOMMAND
505 2007-03-26 Dan-m00 <daniel@undernet.org>
508 * mod.openchanfix/*: Update auto-build system, and remove all
509 old remnants of the openchanfix seperate module. This
510 will fix the bugs in building gnuworld with openchanfix
512 2007-03-25 Dan-m00 <daniel@undernet.org>
513 * doc/update_channels_20070325.sql: SQL update for new max_bans
514 feature. This MUST be run if upgrading from an earlier
517 psql cservice < doc/update_channels_20070325.sql
519 * doc/cservice.sql: alter the table structure for new max_bans.
521 * mod.cservice/constants.h:
522 * mod.cservice/sqlChannel.h:
523 * mod.cservice/sqlChannel.cc: Add new max_bans field to struct.
525 * mod.cservice/BANCommand.cc: use the greater of global and
526 local max_bans setting as the definitive figure.
528 *** note: currently, this feature will be configurable ONLY via
529 the website (currently pending coding) ***
531 2007-03-24 Dan-m00 <daniel@undernet.org>
532 * mod.cservice/LOGINCommand.cc: Added support for multiple logins
533 from the same IP when a user has maxlogins=1.
535 * doc/cservice.config.sql: Added variable for the above. This
536 defaults to zero (previous behavior, feature disabled)
538 2007-03-16 MrBean <mrbean@undernet.org>
541 src/client.cc: Fixed a bug which caused modes
542 desynch when the join/creation time is older than the
543 creation time of the channel.
544 mod.ccontrol/CHANGLINECommand.cc:
545 mod.ccontrol/CommandsDec.h:
546 mod.ccontrol/Makefile.am:
547 mod.ccontrol/Makefile.in:
548 mod.ccontrol/ccontrol.cc:
549 mod.ccontrol/ccontrol.h:
550 mod.ccontrol/commLevels.h:
551 mod.ccontrol/FORCECHANGLINECommand.cc: Added the
552 FORCECHANGLINE command which is semiliar to the
553 CHANGLINE command but limited to no more than 24 hours and
554 doesnt work on no mode channels or channels with opers.
555 mod.ccontrol/LISTCommand.cc: Changed the command to list
556 nomode channels from LIST badchannels to LIST nomodechannels
559 2006-12-21 Dan-m00 <daniel@undernet.org>
561 * libircu/msg_I.cc: Modified debug output to get more info
562 upon certain runtime conditions.
564 * mod.cservice/cservice.cc: Fixed output of some debug
567 2006-12-21 mod.openchanfix development team
571 * libircu/msg_Server.cc:
576 * src/server_connection.cc: Merge patches from the open
577 chanfix dev team. It adds a new handler for server
578 modes. It also adds parsing of server flags.
580 2006-12-21 Dan-m00 <daniel@undernet.org>
581 * bin/openchanfix.example.conf.in (new file):
582 * bin/GNUWorld.example.conf.in:
583 * bin/server_command_map.in:
585 * mod.openchanfix/LASTCOMCommand.cc:
586 * mod.openchanfix/STATUSCommand.cc:
587 * mod.openchanfix/chanfix.cc: re-merge openchanfix with
588 main gnuworld distribution.
590 2006-12-21 Dan-m00 <daniel@undernet.org>
591 * ac_cxx_namespaces.m4 (new file):
592 * ax_boost_thread.m4 (new file):
593 * aclocal.m4, INSTALL:
594 * Makefile.am, Makefile.in:
595 * config.guess, config.sub, configure.ac, configure:
596 * depcomp, install-sh, ltmain.sh, missing, mkinstalldirs:
598 * <alldirs>/Makefile.in, <alldirs>/Makefile.am:
599 * libltdl/*: Rebuilt entire configure system, including
600 adding additional options and importing macros from
603 2006-10-08 Dan-m00 <daniel@undernet.org>
604 * mod.ccontrol/ccontrol.cc: comment out legacy realname gline
605 check as all servers should now support rnglines
608 2006-09-26 Dan-m00 <daniel@undernet.org>
609 * mod.ccontrol/ccontrol_generic.cc: fix typo - d'oh
611 2006-09-26 Dan-m00 <daniel@undernet.org>
612 * src/Network.cc: fix compiler warning when compiling with
615 2006-09-26 Dan-m00 <daniel@undernet.org>
616 * mod.ccontrol/CHANGLINECommand.cc: fix a bug in this code
617 which could lead to more glines than required being
618 added during a channel gline.
620 * src/Network.cc: modify matching code to speed up automated
621 glines (skip running match() for '*' idents)
623 2006-09-24 Dan-m00 <daniel@undernet.org>
624 * mod.ccontrol/CHECKNETCommand.cc:
625 * mod.ccontrol/ccLog.cc: Resolved compiler warnings due to
628 * mod.ccontrol/*: Phase 1 of code audit
629 - fixed typos and textual errors.
630 - moved db check to command handler instead
631 of inside each command file (pointless
632 (duplication of code)
633 - updated Ago/Duration functions to be less
634 cpu intensive (and less code duplication)
636 * include/gnuworld_config.h:
637 * src/main.cc: make gnuworld fork into background.
639 define 'DAEMON' to use this functionality
641 * tools/checkgnuworld.sh.in:
644 * Makefile*: Added crontab script to use with the
645 new daemon functionality. Rebuilt configure
646 and makefiles to build a copy in tools/ with
647 the correct exec prefix
649 2006-08-15 Dan-m00 <daniel@undernet.org>
650 * mod.cservice/CHANINFOCommand.cc: Added extra line of info
651 to show NOADDUSER setting (on or off) in 'info'
653 2006-08-10 Dan-m00 <daniel@undernet.org>
654 * mod.cservice/sqlChannel.h:
655 * mod.cservice/sqlChannel.cc: Add flag for new MIA review
656 tag (0x400 in sqlChannel flags field)
658 * mod.cservice/STATUSCommand.cc: show 'MIA' in flags output
659 if MIA review tag is set.
661 2006-05-04 Dan-m00 <daniel@undernet.org>
662 * mod.ccontrol/ccontrol.cc: set gline reason for each kind of
663 gline seperately - makes for easier log parsing.
664 ALSO: fix a big bug that made cidr glining work even
665 if disabled (if an earlier gline was triggered)
667 2006-05-03 Dan-m00 <daniel@undernet.org>
668 * mod.ccontrol/ccontrol.h: addition of IClonesGline variable
670 * mod.ccontrol/ccontrol.cc: addition of auto-gline function for
671 CIDR ident clones (including a slight output change)
673 * mod.ccontrol/CONFIGCommand.cc: add config for the above.
674 (CONFIG -IClonesGline Yes/No) - default to 'no'.
676 * doc/ccontrol.help.sql: updated help for CONFIG command to
677 reflect new configuration option.
679 2006-02-05 clsk <alan.alvarez@us.army.mil>
680 * mod.ccontrol/ccontrol.cc: get UplinkServer from global
681 Network instance. Data2 is not filled by AttachServer
682 and was causing this to dereference a NULL pointer.
684 <Dan-m00> AttachServer was sending an iClient object, instead
685 of an iServer object, which caused the invalid ref.
687 2006-02-10 Dan-m00 <daniel@undernet.org>
688 * mod.ccontrol/ccontrol.cc:
689 * mod.ccontrol/NOMODECommand.cc: Actually give some output from
690 NOMODE command if the command is successful!
692 2006-02-10 Dan-m00 <daniel@undernet.org>
693 * mod.cservice/CHANINFOCommand.cc: Stop outputting two sets of
694 "Channels: " info for opers who 'info' themselves.
696 * mod.cservice/LOGINCommand.cc:
697 * mod.cservice/cservice.cc: (Bug workaround) re-create a users'
698 users_lastseen table entry if it does not exist. This
699 resolves an issue with some entries that have no last
702 2006-01-31 Dan-m00 <daniel@undernet.org>
703 * doc/cservice.help.sql:
704 * doc/language_christmas.sql:
705 * doc/language_dutch.sql:
706 * doc/language_easter.sql:
707 * doc/language_german.sql:
708 * doc/language_greek.sql:
709 * doc/language_halloween.sql:
710 * doc/language_swedish.sql:
711 * doc/language_table.sql: Update response code 20 (ban command)
712 to utilise a dynamic max ban duration figure.
714 * mod.cservice/BANCommand.cc: implement the change of output
715 for the above changed files.
717 * doc/update_languages_20060131_20.sql (new file):
718 Perform an upgrade of existing SQL tables to have the
719 new data for response code 20.
721 NOTE: if you upgrade this code without either re-importing all
722 language data OR running the contents of the update sql file,
723 mod.cservice will operate with unknown results, possibly even
724 causing a segmentation fault. YOU HAVE BEEN WARNED.
726 psql cservice < doc/update_languages_20060131_20.sql
728 2006-01-26 Dan-m00 <daniel@undernet.org>
729 * doc/cservice.config.sql: add new 'max_ban_duration' config
730 option for the maximum length a ban can be set.
732 * mod.cservice/BANCommand.cc: implement the above config var,
733 this replaces the hardcoded default of 14 days.
735 2006-01-18 Dan-m00 <daniel@undernet.org>
736 * mod.ccontrol/ccontrol.cc: Update automated gline to prefix
737 'AUTO ' before '[xxx] Automatically...' to match other
738 automated gline notices.
740 2006-01-09 Dan-m00 <daniel@undernet.org>
741 * mod.ccontrol/ccontrol.cc: add timestamp and human readable
742 time to 'list glines' command for when a gline was set.
744 2006-01-09 Dan-m00 <daniel@undernet.org>
745 * mod.cservice/cservice.cc: Remove a ban before setting it
746 during checkbansonjoin() - if the ban doesnt exist, it
747 will return false anyway. Stops duplication if a user
748 is invited into a channel where they are banned.
750 2005-11-16 Reed Loden <reed@reedloden.com>
751 * libircu/msg_B.cc: Fix two problems when bursting:
752 1. channel modes were not being removed when an
753 older channel was bursted (found by coekie);
754 2. the wrong if check was being performed for
757 * src/server.cc: Four vectors for the limit, key, Upass,
758 and Apass were never actually being used.
759 This was causing problems with (de)synching of
760 modes (found by coekie).
762 This is part of a patch submitted by Reed Loden.
764 2006-01-02 Dan-m00 <daniel@undernet.org>
765 * mod.ccontrol/ccontrol.cc: Update logging to HD. This patch
766 disables buffering, and opens files for appending.
767 This resolves a problem in new versions of GCC where
768 the logfile is not recreated if opened without append.
770 2005-12-28 Dan-m00 <daniel@undernet.org>
771 * autogen.sh: (new file) script to rebuild using auto-tools.
773 * Makefile.in, aclocal.m4, config.guess, config.sub, configure,
774 configure.ac, ltmail.sh, */Makefile.in:
775 * libltdl/*: Updated build system including latest libtool.
777 2005-12-27 Entrope <mdpoole@troilus.org>
778 * configure.ac: Fix VPATH builds.
780 * configure: rebuild from configure.ac with autoconf
782 * mod.ccontrol/CControlCommands.h: Properly declare class
785 * mod.ccontrol/CommandsDec.h: No need to say "using
786 gnuworld::xServer" due to Koenig lookup.
787 Remove it since it is invalid C++.
789 * mod.ccontrol/ccontrol.h: Likewise it. We must also properly
790 qualify types qualify types that come from inside
793 * mod.ccontrol/ccontrol.cc: Fix erroneous loop termination
796 This patch makes GNUWorld compile with gcc4. Tested on the
797 following FreeBSD/gcc versions:
798 FreeBSD/amd64 6.0-STABLE: gcc3.4.4
799 FreeBSD/i386 4.11-STABLE: gcc2.95
800 FreeBSD/i386 7.0-CURRENT: gcc3.4.4
801 FreeBSD/i386 7.0-CURRENT: gcc4.0.2
802 FreeBSD/i386 7.0-CURRENT: gcc4.2.0
803 Redhat Enterprise Linux WS release 3/2.4: gcc 3.2.3
805 NOTE: GNUWorld does NOT compile on FreeBSD/amd64 gcc4 at the
806 current time (but works with gcc3.4.4)
808 2005-12-27 Dan-m00 <daniel@undernet.org>
809 * mod.cservice/networkData.h:
810 * mod.cservice/networkData.cc: add failed logins info for a
811 client to track the number of failed logins per client
812 rather than per username.
814 * doc/cservice.config.sql: add configuration variable for the
815 maximum failed login count per client.
816 Set to 0 (ZERO) to disable the check.
818 * mod.cservice/responses.h: add max failed login failure msg.
820 * doc/language_table.sql: add message for the above response.
822 * mod.cservice/cservice.h:
823 * mod.cservice/cservice.cc: add functions to get/set the failed
824 login counter for clients.
826 * mod.cservice/LOGINCommand.cc: add maximum failed login
827 checks. If they exceed them, they will have to
828 reconnect to the network.
830 2005-12-27 Dan-m00 <daniel@undernet.org>
831 * mod.cservice/LOGINCommand.cc: add a checksum to the failed
832 login messages to identify if it's the same or a
833 different password being used each time.
834 Generate the checksum from the MD5 hash rather than
835 the plaintext password to make it harder to fool.
837 2005-12-12 Dan-m00 <daniel@undernet.org>
838 * doc/cservice.web.sql: roll-back previous commit after
841 2005-12-12 Dan-m00 <daniel@undernet.org>
842 * doc/cservice.web.sql: forgot the table for web relay msgs ;)
844 2005-12-06 Dan-m00 <daniel@undernet.org>
845 * bin/cservice.example.conf.in: Added privileged relay channel
846 (priv_relay_channel) for privileged output.
848 * mod.cservice/cservice.h: Added channel variable and function
849 prototype for priveleged relay channel.
851 * mod.cservice/cservice.cc: Added function for output of the
852 above. Also, load the config for the channel.
854 * mod.cservice/LOGINCommand.cc: Modify failed login messages to
855 output to the priveleged relay channel.
857 Also, report 900+ logins to privileged relay channel.
859 2005-12-05 Dan-m00 <daniel@undernet.org>
860 * mod.cservice/FORCECommand.cc:
861 * mod.cservice/SHOWCOMMANDSCommand.cc:
862 * mod.cservice/UNFORCECommand.cc: Alter login used to determine
863 if the user is an admin or not (use the common function
864 which takes into accounts alumni's etc)
866 * mod.cservice/SETCommand.cc: As above, also make 'SET
867 DISABLEAUTH ON' command only available to admins.
868 make 'SET DISABLEAUTH OFF' command only available to
869 people who have it currently set.
871 2005-12-02 Dan-m00 <daniel@undernet.org>
872 * doc/cservice.config.sql: New config variable to set the time
873 between alerts (per user) for failed login alerts.
875 * mod.cservice/sqlUser.h: define a timestamp of the last alert
877 * mod.cservice/sqlUser.cc: set the default timestamp on create.
879 * mod.cservice/LOGINCommand.cc: Alter login to only alert when
880 the time between alerts has been reached.
882 2005-12-02 Dan-m00 <daniel@undernet.org>
883 * doc/cservice.config.sql: New config variable to enable or
884 disable flood messages.
886 New config variable to set the level at which we alert
887 the relay channel for failed logins on a user. Set
888 this is '0' (ZERO) to disable the alerts.
890 New config variable to enable or disable the notice to
891 users when they successfully login to report failed
894 Also, added the required_supporters config var back
895 in (required by the web)
897 * mod.cservice/cservice.cc: Implement the above config var.
899 * mod.cservice/sqlUser.h: define failed_logins variable for
900 the number of failed logins since last successful.
902 * mod.cservice/sqlUser.cc: set failed_logins in zero upon
903 creation of sqlUser record.
905 * mod.cservice/responses.h: define new failed login response.
907 * doc/language_table.sql: define the new failed login response.
909 Also, include some responses that were missing (171-172)
911 * mod.cservice/LOGINCommand.cc: log failed IP restrictions to
914 Report to the user upon successful login about the
915 number of failed logins since they last logged in.
917 Also, log failed logins when they reach a configurable
920 2005-12-01 Dan-m00 <daniel@undernet.org>
921 * mod.cservice/CHANINFOCommand.cc: apply logic to UNSUSPEND
922 which was previously missed during changes to SUSPEND.
924 2005-12-01 Dan-m00 <daniel@undernet.org>
925 * mod.ccontrol/SAYCommand.cc:
926 * mod.ccontrol/ccontrol.cc: Modify 'say' command to accept 'do'
929 2005-12-01 Dan-m00 <daniel@undernet.org>
930 * mod.cservice/SAYCommand.cc:
931 * mod.cservice/cservice.cc: Modify 'say' command to accept 'do'
934 2005-11-30 Dan-m00 <daniel@undernet.org>
935 * bin/cservice.example.conf.in: added command log config var.
937 * mod.cservice/cservice_config.h: added USE_COMMAND_LOG option
938 to turn command log on and off.
940 * mod.cservice/cservice.h: Define command log path variable.
942 * mod.cservice/cservice.cc: Use command log path variable from
943 above. Also fixed an SQL query output.
945 * mod.cservice/SCANHOSTCommand.cc:
946 * mod.cservice/SCANUNAMECommand.cc: Updated SQL query output.
948 2005-11-30 Dan-m00 <daniel@undernet.org> / Reed Loden <reed@reedloden.com>
950 This patch is based on a patch provided by Reed Loden.
954 * src/server.cc: Remove IP restriction code from the core.
956 * mod.cservice/cservice.h:
957 * mod.cservice/cservice.cc: Add new IP restriction functions
958 to use iClient network data rather than core.
960 * mod.cservice/networkData.h:
961 * mod.cservice/networkData.cc: define the IP restriction ts
962 in cservice data here.
964 2005-11-30 Dan-m00 <daniel@undernet.org>
965 * mod.cservice/SCANUNAMECommand.cc: add SQL query logging.
967 * mod.cservice/SCANHOSTCommand.cc: hide IP output for users.
968 Also, add SQL query logging option.
970 2005-11-30 Dan-m00 <daniel@undernet.org>
971 * mod.cservice/LOGINCommand.cc: move IP restriction check to
972 after password check, also no longer apply logic to
975 * mod.cservice/cservice.cc: no longer apply IP restriction to
978 2005-11-29 Dan-m00 <daniel@undernet.org>
979 * mod.cservice/REMUSERCommand.cc:
980 * mod.cservice/SUPPORTCommand.cc:
981 make sql query logs only log during LOG_SQL
983 * mod.cservice/cservice.cc:
985 (cservice::expireBans):
986 (cservice::expireSuspends):
987 make debug messages debug only.
989 2005-11-29 Dan-m00 <daniel@undernet.org>
990 * bin/cservice.example.conf.in: add new 'webrelay_interval'
991 configuration entry. This is the number of seconds
992 between webrelay checks.
994 * mod.cservice/cservice.h: Add new timer for the above feature.
996 * mod.cservice/cservice.cc: Implement the new timer for the
999 2005-11-29 Dan-m00 <daniel@undernet.org>
1000 * mod.cservice/CHANINFOCommand.cc: strip out hostnames/ips from
1001 INFO output where a username is suspended/unsuspended.
1003 2005-11-29 Dan-m00 <daniel@undernet.org>
1004 * mod.cservice/LOGINCommand.cc: notify relay channel when a
1005 privileged user logs in.
1007 2005-11-28 Dan-m00 <daniel@undernet.or>
1008 * mod.cservice/cservice_config.h: define IP restriction default
1009 behaviour (default allow if no IPR entries)
1011 * mod.cservice/cservice.cc: use the above define in IPR logic.
1013 2005-11-28 Dan-m00 <daniel@undernet.org>
1014 * mod.cservice/sqlUser.cc:
1015 * mod.cservice/sqlUser.h: define new flag for "oper status"
1017 * mod.cservice/SCANUNAMECommand.cc:
1018 * mod.cservice/CHANINFOCommand.cc: update logic to treat people
1019 with 'oper status' as a * user.
1021 2005-11-28 Dan-m00 <daniel@undernet.org>
1022 * mod.cservice/CHANINFOCommand.cc:
1023 * mod.cservice/SCANUNAMECommand.cc: Alter logic so that users
1024 of level 800 and above can see IPs.
1026 *** CORRECTION: version is 1.3, not 1.4 ***
1028 2005-11-28 Dan-m00 <daniel@undernet.org>
1029 * mod.cservice/cservice.cc: definately time to bump the version
1030 number (up to 1.4, no patchlevel)
1032 2005-11-28 Dan-m00 <daniel@undernet.org>
1033 * doc/cservice.sql: define (in a comment) the flag for the new
1034 "no adduser" flag. (note: no schema change)
1036 * mod.cservice/sqlUser.cc:
1037 * mod.cservice/sqlUser.h: define new flag (as above)
1039 * mod.cservice/SETCommand.cc: add toggle for the above flag.
1041 * mod.cservice/ADDUSERCommand.cc: check the user's flag before
1042 adding them to a channel.
1044 * mod.cservice/responses.h: add response codes for the above.
1046 * doc/language_table.sql: add english output for response codes.
1048 * doc/cservice.help.sql: add help topics for SET NOADDUSER.
1050 2005-11-28 Dan-m00 <daniel@undernet.org>
1051 * mod.cservice/cservice.cc: make IP restriction check work with
1052 IP masks as well as host masks.
1054 2005-11-28 Dan-m00 <daniel@undernet.org>
1055 * include/iClient.h: Add IP restriction timestamp so that we
1056 can track when users have passed IP restriction checks.
1059 * libircu/msg_N.cc: Initialise IP restriction timestamp when a
1060 new client is introduced.
1062 * mod.cservice/cservice.h:
1063 * mod.cservice/cservice.cc: Add new function checkIPR() to
1064 check IP restrictions. Also, check IPR for all "*"
1065 accounts upon command use (except 'LOGIN')
1067 * mod.cservice/LOGINCommand.cc: Add call to checkIPR() to check
1068 against IP restrictions for "*" accounts during login.
1070 2005-11-27 Dan-m00 <daniel@undernet.org>
1071 * mod.cservice/SCANUNAMECommand.cc:
1072 * mod.cservice/CHANINFOCommand.cc: remove IPs from output if
1073 target user(s) have admin access
1075 2005-11-25 Dan-m00 <daniel@undernet.org>
1076 * mod.cservice/cservice.cc: Fix coredump when the DB saved pass
1077 was an invalid MD5 hash.
1079 2005-11-17 Reed Loden <reed@reedloden.com>
1080 * mod.cservice/NEWPASSCommand.cc: Due to the 64-bit
1081 changes of the md5 hashing code, we now need to
1082 #include <inttypes.h> in order to compile NEWPASS.
1084 2005-11-17 Dan-m00 <daniel@undernet.org>
1085 * src/server.cc: update JoinChannel() function to handle channel
1086 keys that change when X has a channel key stored.
1087 X will now restore the saved channel key and gnuworld's
1088 internal database will not be out of sync.
1090 2005-11-17 Dan-m00 <daniel@undernet.org>
1091 * src/client.cc: update clearmode function to allow a manual
1092 clearmode (i.e. using "M" instead of "CM") for non-opers.
1094 * mod.cservice/CLEARMODECommand.cc: set "clearmode as server"
1095 flag to "no" to force the bot to use a manual mode.
1097 2005-11-17 Dan-m00 <daniel@undernet.org>
1098 * mod.cservice/sqlUser.h:
1099 * mod.cservice/sqlUser.cc: add F_ALUMNI flag (0x80)
1101 * mod.cservice/cservice.h: update getAdminAccessLevel() to
1102 accept a boolean "verify" (used to disable the alumni
1103 check explicitly in the 'verify' command)
1105 * mod.cservice/cservice.cc: implement the above check.
1107 * mod.cservice/VERIFYCommand.cc: implement the above check.
1109 2005-11-16 Dan-m00 <daniel@undernet.org>
1110 * libgnuworld/md5hash.h:
1111 * libgnuworld/md5hash.cc: include inttypes.h and convert md5
1112 functions to 64bit safe. GNUworld now compiles and
1113 runs on 64bit operating systems.
1115 Tested on FreeBSD/amd64 6.0-STABLE/gcc3
1117 2005-11-15 Dan-m00 <daniel@undernet.org>
1118 * include/gnuworld_config.h: update defines and comment to the
1121 2005-11-14 Dan-m00 <daniel@undernet.org>
1122 * mod.cservice/BANCommand.cc: fix a bug when banning a hostmask.
1123 when banning a hostmask, set 1 ban on the original mask,
1126 2005-11-14 Dan-m00 <daniel@undernet.org>
1127 * bin/server_command_map.in: handle DE (destruct) protocol as
1128 noop command - may be used later, but for now not needed.
1130 2005-11-14 Dan-m00 <daniel@undernet.org>
1131 * mod.cservice/cservice.cc: (validUserMask) change maximum nick
1132 length allowed from 9 to 15 characters in-line with
1133 current undernet policies.
1135 2005-11-14 Dan-m00 <daniel@undernet.org> / Isomer
1136 * mod.cservice/BANCommand.cc: fix some (possibly?) GCC compiler
1137 optimisation bugs that caused an infinite loop somehow!
1139 * src/iClient.cc: make things compile when both ASUKA and SRVX
1143 * mod.cservice/cservice.cc: update logging from flat file to SQL
1146 * doc/cservice.sql: add adminlog table at the bottom of the file
1149 2005-10-07 Dan-m00 <daniel@undernet.org>
1150 * mod.ccontrol/ccontrol.cc: add extra memory/stats output into
1151 'status' command (show rate-limit entries)
1153 Fixed memory leak within rate limiting and clone warnings.
1155 2005-10-05 Dan-m00 <daniel@undernet.org>
1156 * mod.ccontrol/ccontrol.cc: rollback previous memory leak fix
1158 2005-10-04 Dan-m00 <daniel@undernet.org>
1159 * mod.ccontrol/HELPCommand.cc: fix HELP command to work the way it
1160 was intended (to support subcommands properly)
1162 2005-10-04 Dan-m00 <daniel@undernet.org>
1163 * doc/ccontrol.help.sql: completely updated help files for ccontrol
1165 2005-10-04 Dan-m00 <daniel@undernet.org>
1166 * mod.ccontrol/ccontrol.cc: fix a possible memory leak in the
1167 handling of queued glines.
1169 * libgnuworld/match.cc: fix CIDR matching incorrectly broken in
1172 * src/Network.cc: optimise user@host matching code (used for glines
1173 and various other core tasks)
1175 2005-10-04 Dan-m00 <daniel@undernet.org>
1176 * mod.ccontrol/USERINFOCommand.cc: add "-cl" option to userinfo
1177 to show Command List available to the user.
1179 * mod.ccontrol/ccontrol.cc: update syntax for userinfo command
1181 2005-10-04 Dan-m00 <daniel@undernet.org>
1183 * mod.ccontrol/Makefile.am:
1184 * mod.ccontrol/Makefile.in: update Makefiles for new file
1186 * mod.ccontrol/CHANGLINECommand.cc: new channel gline command
1188 * mod.ccontrol/CommandsDec.h: register new changline command
1190 * mod.ccontrol/commLevels.h: add a new level for changline command
1192 * mod.ccontrol/ccontrol.cc: bump version number and add new changline
1195 * mod.ccontrol/GLINECommand.cc: no longer handle channel glines.
1197 2005-10-03 Dan-m00 <daniel@undernet.org>
1198 * libgnuworld/ConnectionManager.cc:
1201 * src/server.cc: make modifications to accommodate FreeBSD/gcc3
1202 compilation and running (it seems FreeBSD handles c++ STL
1203 differently for some reason)
1205 GNUWorld now works on FreeBSD5+/gcc3
1207 2005-10-03 Dan-m00 <daniel@undernet.org>
1208 * doc/cservice.config.sql: add BAN_CHECK_ON_BURST tunable variable
1209 to check users against bans during burst.
1211 * mod.cservice/cservice.cc: use the above variable.
1213 2005-10-03 Dan-m00 <daniel@undernet.org>
1214 * mod.cservice/BANCommand.cc: BAN command now matches IPs as well as
1217 * mod.cservice/cservice.cc: match IPs as well as hosts when a client
1219 Also check userlist against internal banlist on channel burst.
1221 2005-10-02 Dan-m00 <daniel@undernet.org>
1222 * libgnuworld/match.cc: fix CIDR handling. Only match CIDR if the
1223 text before the '/' is an IP address.
1225 * mod.ccontrol/ccontrol.cc: apply the same logic to gline check
1227 2005-10-01 Dan-m00 <daniel@undernet.org>
1228 * mod.ccontrol/ccontrol.cc: increase size of numeric column to 4 in
1229 'LIST servers' command. Fix fake servers to align in output.
1231 2005-10-01 Dan-m00 <daniel@undernet.org>
1232 * mod.cservice/BANCommand.cc:
1233 * mod.cservice/cservice.cc: when a user sets a hidden host ban, match
1234 users that are logged in, but not hidden against it.
1235 e.g. *!*@test.users.undernet.org will match a regular user that
1236 is authed under 'test', but not set mode +x
1238 2005-10-01 Dan-m00 <daniel@undernet.org>
1239 * libgnuworld/EConfig.cc: Add an extra warning when a "key=value" pair
1240 contains no value as this is a common user error. Suggest that
1241 they use "key=''" to specify an empty value (such as SQL pass)
1243 2005-09-30 Dan-m00 <daniel@undernet.org>
1244 * libgnuworld/ConnectionManager.cc: remove redundant and pointless cast.
1246 2005-09-30 Dan-m00 <daniel@undernet.org>
1247 * mod.ccontrol/ccontrol.h: add structures for virtual clones rate limiting
1249 * mod.ccontrol/ccontrol.cc: add virtual clones rate limiting
1250 alter the output format of CIDR-based ident clones warnings
1252 2005-09-30 Dan-m00 <daniel@undernet.org>
1253 * src/server.cc: swap function that handles 'regular' channel modes.
1255 * mod.ccontrol/LISTCommand.cc: fix compiler warning.
1257 * mod.ccontrol/ccontrol.h: add structures for ident clones warnings
1259 * mod.ccontrol/ccontrol.cc: add 'CIDR-based ident clones' warnings
1261 * mod.ccontrol/CONFIGCommand.cc: add config for the above feature (-IClones)
1263 2005-09-30 Dan-m00 <daniel@undernet.org>
1264 * mod.cservice/cservice.cc: bumped version number up.
1265 Made GNUworld(cserver module) compatible with gcc4
1266 Tested with gcc4.0.2 / FreeBSD 7.0-CURRENT
1268 2005-09-29 Dan-m00 <daniel@undernet.org>
1269 * mod.cservice/CLEARMODECommand.cc: add "D" to the modes cleared.
1270 Don't clear oplevel modes as they should never be touched by cservice.
1272 * doc/cservice.config.sql: remove old, unused variables
1273 Add new 'MAX_BANS' config entry for BAN command.
1275 * doc/README.cservice: add references to cservice.config.sql and
1276 greeting.sql as these are not already listed.
1278 * mod.cservice/BANCommand.cc: add a maximum limit of bans per channel.
1279 This is set via the config command (variables SQL table)
1281 * libircu/msg_B.cc: fixed parsing of oplevels in burst (ignore them)
1283 2005-09-29 Dan-m00 <daniel@undernet.org>
1284 * include/Channel.h:
1294 * src/server_events.cc:
1295 Add basic support for oplevels from u2.10.12
1296 Thanks to reed for the initial diff
1298 * mod.cservice/cservice.cc: fix a ban bug - thanks to reed for this diff
1300 2005-09-29 Dan-m00 <daniel@undernet.org>
1301 * configure.ac: config.h hasnt existed in... years! update to gnuworld_config.h
1303 * configure: rebuilt configure with autoconf
1305 2005-09-28 Dan-m00 <daniel@undernet.org>
1306 * .cvsignore: ignore configure.lineno, tidy up
1308 * libltdl/.cvsignore: ignore configure.lineno
1310 * mod.cservice/ACCESSCommand.cc:
1311 * mod.cservice/CHANINFOCommand.cc:
1312 * mod.cservice/CLEARMODECommand.cc:
1313 * mod.cservice/LBANLISTCommand.cc:
1314 * mod.cservice/SEARCHCommand.cc:
1315 * mod.cservice/SETCommand.cc:
1316 * mod.cservice/cservice.cc:
1317 * mod.cservice/cservice.h:
1318 * mod.cservice/levels.h:
1319 * mod.cservice/sqlChannel.cc:
1320 Merge changes from private repositories into mainstream CVS
1321 Most notable is extra IP-based flood protection and a few level changes.
1323 This is in preparation for u2.10.12 updates to the code and bugfixes.
1325 2005-08-24 Dan-m00 <daniel@undernet.org>
1326 * mod.ccontrol/JUPECommand.cc: remove the 'currently connected' check when
1327 juping a server as ircu will automatically /squit it for you.
1329 2005-08-24 Dan-m00 <daniel@undernet.org>
1330 * mod.ccontrol/WHOISCommand.cc: split channel output to multiple lines if the
1331 user is in multiple long channels.
1332 Thanks to coekie + compy for spotting this bug.
1334 2005-08-16 Dan-m00 <daniel@undernet.org>
1335 * mod.ccontrol/EXCEPTIONCommand.cc: generate a warning if an unknown subcommand
1336 is used to 'exceptions' (e.g. 'exceptions delete')
1338 2005-08-16 Dan-m00 <daniel@undernet.org>
1339 * mod.ccontrol/SGLINECommand.cc: disallow '/' character in sglines (bugfix) as
1340 ircu handles these differently to ccontrol.
1342 2005-06-25 Dan-m00 <daniel@undernet.org>
1343 * mod.ccontrol/LISTCommand.cc: added channel usercount to 'list channels' output
1345 2005-06-24 Dan-m00 <daniel@undernet.org>
1346 * include/Channel.h: added support for new u2.10.12 "+D" channel mode.
1348 * libircu/msg_B.cc: as above.
1350 * libircu/msg_CM.cc: as above.
1352 * libircu/msg_M.cc: as above.
1354 * src/Channel.cc: as above.
1356 * src/client.cc: as above.
1358 * src/server.cc: as above.
1360 * include/Network.h: added function prototype for GetChannelsWithModes()
1362 * src/Network.cc: added function for GetChannelsWithModes()
1364 * mod.ccontrol/LISTCommand.cc: updated 'list' command to include the following:
1365 'list channels modes X'
1367 2005-06-24 Dan-m00 <daniel@undernet.org>
1368 * include/Network.h: added function prototype for the following functions:
1369 GetChannelsWithTopic()
1370 GetChannelsWithTopicBy()
1372 * src/Network.cc: added functions (above)
1374 * mod.ccontrol/LISTCommand.cc: updated 'list' command to include the following:
1375 'list channels topic X'
1376 'list channels topicby nick!user@host'
1378 * mod.ccontrol/ccontrol.cc: updated usage syntax for 'list' command to include 'channels'
1380 2005-06-24 Dan-m00 <daniel@undernet.org>
1381 * mod.ccontrol/LISTCommand.cc: fixed a bug which causes an assertion failure if
1382 a channel key is not given in 'list channels key...' command.
1384 2005-06-23 Dan-m00 <daniel@undernet.org>
1385 * include/Network.h: added function prototype for GetChannelsWithKey() function
1387 * src/Network.cc: added function GetChannelsWithKey()
1389 * mod.ccontrol/LISTCommand.cc: updated 'list' command to include 'list channels key X'
1390 to return a list of channels matching a key.
1392 2005-06-20 Dan-m00 <daniel@undernet.org>
1393 * include/Channel.h: added new variables to channel structure;
1394 topic_ts (timestamp topic was set)
1395 topic_whoset (who set the topic in "nick!user@host [ip]" format
1396 added get/setTopicTS(), get/setTopicWhoSet() functions
1398 * libircu/msg_T.cc: update topic timestamp + who set when we receive topics
1399 also fixed a bug that stopped topic_track working in u2.10.12
1401 * src/iClient.cc: when new channel is created (and topic_track enabled), initialise
1402 new variables to 0/blank.
1404 * mod.ccontrol/CHANINFOCommand.cc: add new topic ts+set info into 'chaninfo' command
1406 2005-06-19 Dan-m00 <daniel@undernet.org>
1407 * mod.ccontrol/WHOISCommand.cc: added connection time to 'whois' command in
1408 human readable format - also listed unix ts for those that like to convert.
1410 * mod.ccontrol/OPCommand.cc: check that at least 1 user to op is in the
1411 channel to op! If not, tell the user.
1413 * src/client.cc: don't require ccontrol user to join channel in order to invite.
1415 * mod.ccontrol/INVITECommand.cc: check that the channel exists before issuing an invite.
1417 * mod.ccontrol/DEOPCommand.cc: check that at least 1 user to deop is in the
1418 channel! If not, tell the user.
1420 * mod.ccontrol/SCANCommand.cc: add extra option "-i" to SCAN command.
1421 - shows an ident report (number of unique idents etc to assist clone hunters)
1423 * mod.ccontrol/ccontrol.cc: update syntax in 'SCAN' command.
1425 2005-06-19 Dan-m00 <daniel@undernet.org>
1426 * mod.ccontrol/ccontrol_generic.h: added Duration() function similar to Ago()
1428 * mod.ccontrol/ccontrol_generic.cc: added Duration() function similar to Ago()
1430 * mod.ccontrol/ccontrol.cc: changed output of 'list' commands to be more readable
1431 - made output of 'list glines' more human readable
1432 - made output of 'list servers' more human readable
1434 * mod.ccontrol/DEAUTHCommand.cc: stop auto-authentication after netsplit if deauth'd
1436 2005-06-19 Dan-m00 <daniel@undernet.org>
1437 * mod.ccontrol/ccUser.h: added LastAuthTS + LastAuthNumeric to users class
1439 * mod.ccontrol/LOGINCommand.cc: after successful login, record TS+Numeric for user.
1441 * mod.ccontrol/ccontrol.cc: check ts+numeric against opers table to auto-logon after netsplit.
1443 2005-06-19 Dan-m00 <daniel@undernet.org>
1444 * mod.ccontrol/ccontrol.h: added new global variable (CClonesTime) for below.
1445 - changed format of client ip maps from int to long (to hold timestamps)
1447 * mod.ccontrol/ccontrol.cc: added configurable time between cidr clones announcements.
1449 * mod.ccontrol/CONFIGCommand.cc: as above.
1451 * mod.ccontrol/WHOISCommand.cc: added 'account' status in 'whois' command
1453 2005-06-19 Dan-m00 <daniel@undernet.org>
1454 * mod.ccontrol/ccontrol.cc: added IP after host in excessive clients msg
1455 also, changed affected users count to square brackets.
1457 * mod.ccontrol/ccontrol_generic.h: function prototypes (new file)
1459 * mod.ccontrol/ccontrol_generic.cc: new human readable generic functions.
1461 * mod.ccontrol/Makefile.am: Updated makefile for new files
1463 * mod.ccontrol/Makefile.in: Updated makefile for new files
1465 * mod.ccontrol/CHECKNETCommand.cc: made output more human readable.
1467 * mod.ccontrol/CHANINFOCommand.cc: made output more human readable.
1469 * mod.ccontrol/MAXUSERSCommand.cc: made output more human readable.
1471 2005-06-18 Dan-m00 <daniel@undernet.org>
1472 * mod.ccontrol/FORCEGLINECommand.cc: CIDR reply info added for forceglines
1474 * mod.ccontrol/GLINECommand.cc: CIDR reply info added for glines
1476 * mod.ccontrol/SGLINECommand.cc: CIDR reply info added for sglines
1478 2005-06-18 Dan-m00 <daniel@undernet.org>
1479 * src/Channel.cc: fixed problem that stopped compilation on FreeBSD/gcc 2.95
1481 * src/server.cc: fixed problem that stopped compilation on FreeBSD/gcc 2.95
1483 * include/Channel.h: gnuworld_config.h was not included, so topic_track did not work.
1485 * mod.ccontrol/REOPCommand.cc: fixed a few things here.
1486 - check that the user to be reop'd is actually in the channel.
1487 - dont join channel, op, part channel - get server to do it in 1 mode.
1489 * mod.ccontrol/ccontrol.h: added new variables for CIDR clone detection
1491 * mod.ccontrol/ccontrol.cc: added CIDR support. also fixed gline bug
1492 - glines cannot start with a "."
1493 - glines cannot contain consecutive "."'s
1495 * libgnuworld/match.cc: added CIDR support to match() function.
1497 * mod.ccontrol/CONFIGCommand.cc: added CIDR options (see seperate commit)
1499 * mod.ccontrol/Constants.h: defined new return codes for CIDR matches