]> jfr.im git - irc/UndernetIRC/gnuworld.git/blame - ChangeLog
chanfix: Require opers to be authenticated to use oper level commands
[irc/UndernetIRC/gnuworld.git] / ChangeLog
CommitLineData
1fed6a87 1// $Id: ChangeLog,v 1.173 2010/04/10 18:56:06 danielaustin Exp $ //
2
32010-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.
12
13 Modified based on patch supplied by LordLuke
14
152010-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.
18
19 Based on a patch supplied by LordLuke - thanks.
20
212009-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.
24
252009-07-25 Hidden
26 Modified Files:
27 * Makefile.am
28 * bin/server_command_map.in
29 * doc/ccontrol.help.sql
30 * doc/ccontrol.sql
31 * doc/ccontrol.update.sql
32 * libircu/Makefile.am
33 * libircu/Makefile.in
34 * libircu/msg_G.cc
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
48 Added Files:
49 * libircu/msg_M391.cc
50 * libircu/msg_RO.cc
51
52 Description:
53
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
62
63To 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.
69
70
712009-06-25 MrBean
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
84 ban support for X.
85 Probably still buggy as its not tested fully yet.
86 You will need re-run configure for this to work.
87
88
892009-06-09 MrBean
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>
101
1022009-05-16 Isomer
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.
111
1122009-02-17 Dan-m00 <daniel@undernet.org>
113 * mod.ccontrol/ccontrol.cc: Check exceptions list when checking
114 CIDR ident clones.
115
1162008-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)
119
1202008-06-19 Dan-m00 <daniel@undernet.org>
121 * mod.cservice/cservice.cc: stop unregistered channel msgs.
122
1232008-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*
127
1282008-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.
132
133 Originally submitted by Adrian Szabo
134
1352008-04-18 Dan-m00 <daniel@undernet.org>
136 * mod.cservice/cservice.cc: remove depreciated "U" user status
137 flag (serves no purpose anymore)
138
1392008-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.
150
1512008-04-16 Dan-m00 <daniel@undernet.org>
152 * include/Channel.h:
153 * libircu/msg_B.cc:
154 * libircu/msg_CM.cc:
155 * libircu/msg_M.cc:
156 * src/Channel.cc:
157 * src/Network.cc:
158 * src/client.cc:
159 * src/server.cc: Add support for ircu2.10.12.13's new '+R' mode
160 (registered channel)
161
1622008-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.
166 * configure:
167 * libltdl/acinclude.m4:
168 * */Makefile.in: Rebuilt configure/make system
169
1702008-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)
173
1742008-01-05 Dan-m00 <daniel@undernet.org>
175 * doc/languages.sql: change language #15 to hebrew.
176
1772008-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.
188
1892008-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!
192
1932008-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
196 creation timestamps.
197
1982008-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.
201
2022008-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.
208
209 NOTE: please import the new config variable with the cmd:
210
211 psql cservice < doc/update_config_20080101.sql
212
2132007-12-31 Dan-m00 <daniel@undernet.org>
214 * mod.cservice/CHANINFOCommand.cc: modify chaninfo output to
215 show suspend reasons to cservice administrators.
216
2172007-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.
222
2232007-12-31 Dan-m00 <daniel@undernet.org>
224 * mod.service/CHANINFOCommand.cc: remove "URL" line of output
225 from username information (NOT channel info!)
226
2272007-12-31 Dan-m00 <daniel@undernet.org>
228 * mod.cservice/SETCommand.cc: report channel (un-)suspends to
229 the admin channel.
230
2312007-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)
235
2362007-12-28 Dan-m00 <daniel@undernet.org>
237 * mod.cservice/cservice.cc: Check admin suspensions when using
238 admin level commands.
239
2402007-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
245 syntax is used)
246
247 NOTE: either reimport your help files, or run the following
248 command to update the syntax of SUSPEND in help:
249
250 psql cservice < doc/update_suspend_20071228.sql
251
2522007-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.
258
259 NOTE: either reimport your help files, or run the following
260 command to update the syntax of PURGE in help:
261
262 psql cservice < doc/update_purge_20071227.sql
263
2642007-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!
269
2702007-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.
278
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:
282
283 psql cservice < doc/update_variables_20071227.sql
284
2852007-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()
297
2982007-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)
303
3042007-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.
309
3102007-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.
317
318 NOTE: cservice module will CORE if you do not run the update
319 sql file, an example follows:
320
321 psql cservice < doc/update_languages_20071226_100_101.sql
322
323 however, it is PREFERRED that you re-import the entire language
324 database due to several other changes. The correct order is:
325
326 psql cservice < doc/languages.sql
327 psql cservice < doc/language_table.sql
328
329 followed by any of the optional languages in language_*.sql
330
3312007-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
336 desync)
337
3382007-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)
341
3422007-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.
349
3502007-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.
353
3542007-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
357 list entries!)
358
3592007-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)
363
3642007-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!)
367
3682007-10-31 Dan-m00 <daniel@undernet.org>
369 * build-system: Rebuild entire configure/build system. This
370 fixes problems running ./configure (COND_PCRE errors)
371 and pgsql warnings.
372
3732007-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.
376
3772007-09-12 Dan-m00 <daniel@undernet.org>
378 * libgnuworld/match.cc: Remove compiler warnings relating to
379 empty body in while() and for() loops
380
381 * mod.ccontrol/ccontrol.h:
382 * mod.ccontrol/ccontrol.cc: Remove compiler warnings relating
383 to invalid type conversions.
384
3852007-09-12 Dan-m00 <daniel@undernet.org>
386 * Re-built configure system
387
3882007-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.
393
3942007-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.
399
4002007-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)
405
4062007-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
409
410 NOTE: you must run the update sql file : psql dronescan < doc/update_exceptionalChannels_20070824.sql
411
4122007-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)
415
416 * doc/language_*.sql: Modify response for the above.
417 * doc/update_languages_20070807_31.sql: modification sql file
418
419 NOTE: cservice module will CORE if you do not run the update
420 sql file, an example follows:
421
422 psql cservice < doc/update_languages_20070807_31.sql
423
4242007-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
431 the reason
432 * mod.cservice/STATUSCommand.cc: remove certain flags from
433 public view so that only '*' users can see them.
434 (e.g. SPECIAL, MIA ...)
435
4362007-26-05 MrBean <MrBean@undernet.org>
437 * include/iClient.h
438 src/iClient.cc : Added the getServer method which returns
439 the server on which this client is
440 connected
441
4422007-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.
445
4462007-04-27 MrBean <MrBean@undernet.org>
447 * include/Network.h:
448 * src/Network.cc: Added the getAllBurstingServers method to
449 allow clients to get a list of the currently bursting
450 servers.
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
454 wasn't updated
455
4562007-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
459 them.
460
4612007-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)
465
466 * src/server.cc: added extra debug info to xServer::JoinChannel
467
4682007-04-18 Dan-m00 <daniel@undernet.org>
469 * src/server.cc: fix parsing of channel modes on join (when +D
470 is encountered.
471
472 * libircu/msg_I.cc: add support (although unused) for invite
473 timestamps from .12 hubs
474
475 * libircu/msg_J.cc: add debug information to joins.
476
4772007-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.
482
483 requires 'LOGINS_FROM_SAME_IP_AND_IDENT' = 1 in the
484 variables table.
485
4862007-04-16 Dan-m00 <daniel@undernet.org>
487 * mod.ccontrol/FORCEGLINECommand.cc: Remove compiler warning
488 about unused variable.
489
490 * mod.ccontrol/ccontrol.cc: fix uptime output in 'status' cmd.
491 Also remove redundant variables/calculations.
492
4932007-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.
498
499
5002007-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
503 > COMMAND standard.
504
5052007-03-26 Dan-m00 <daniel@undernet.org>
506 * configure:
507 * */Makefile.in:
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
511
5122007-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
515 release of GNUworld!
516
517 psql cservice < doc/update_channels_20070325.sql
518
519 * doc/cservice.sql: alter the table structure for new max_bans.
520
521 * mod.cservice/constants.h:
522 * mod.cservice/sqlChannel.h:
523 * mod.cservice/sqlChannel.cc: Add new max_bans field to struct.
524
525 * mod.cservice/BANCommand.cc: use the greater of global and
526 local max_bans setting as the definitive figure.
527
528 *** note: currently, this feature will be configurable ONLY via
529 the website (currently pending coding) ***
530
5312007-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.
534
535 * doc/cservice.config.sql: Added variable for the above. This
536 defaults to zero (previous behavior, feature disabled)
537
5382007-03-16 MrBean <mrbean@undernet.org>
539 libircu/msg_C.cc:
540 libircu/msg_J.cc:
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
557
558
5592006-12-21 Dan-m00 <daniel@undernet.org>
560 * src/server.cc:
561 * libircu/msg_I.cc: Modified debug output to get more info
562 upon certain runtime conditions.
563
564 * mod.cservice/cservice.cc: Fixed output of some debug
565 entries.
566
5672006-12-21 mod.openchanfix development team
568 * libircu/msg_CM.cc:
569 * libircu/msg_M.cc:
570 * libircu/msg_S.cc:
571 * libircu/msg_Server.cc:
572 * include/events.h:
573 * include/iServer.h:
574 * src/Network.cc:
575 * src/iServer.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.
579
5802006-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:
584 * bin/.cvsignore:
585 * mod.openchanfix/LASTCOMCommand.cc:
586 * mod.openchanfix/STATUSCommand.cc:
587 * mod.openchanfix/chanfix.cc: re-merge openchanfix with
588 main gnuworld distribution.
589
5902006-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:
597 * include/defs.h.in:
598 * <alldirs>/Makefile.in, <alldirs>/Makefile.am:
599 * libltdl/*: Rebuilt entire configure system, including
600 adding additional options and importing macros from
601 mod.openchanfix
602
6032006-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
606 natively.
607
6082006-09-26 Dan-m00 <daniel@undernet.org>
609 * mod.ccontrol/ccontrol_generic.cc: fix typo - d'oh
610
6112006-09-26 Dan-m00 <daniel@undernet.org>
612 * src/Network.cc: fix compiler warning when compiling with
613 optimisations.
614
6152006-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.
619
620 * src/Network.cc: modify matching code to speed up automated
621 glines (skip running match() for '*' idents)
622
6232006-09-24 Dan-m00 <daniel@undernet.org>
624 * mod.ccontrol/CHECKNETCommand.cc:
625 * mod.ccontrol/ccLog.cc: Resolved compiler warnings due to
626 mismatched types.
627
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)
635
636 * include/gnuworld_config.h:
637 * src/main.cc: make gnuworld fork into background.
638
639 define 'DAEMON' to use this functionality
640
641 * tools/checkgnuworld.sh.in:
642 * configure*:
643 * */Makefile.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
648
6492006-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'
652
6532006-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)
657
658 * mod.cservice/STATUSCommand.cc: show 'MIA' in flags output
659 if MIA review tag is set.
660
6612006-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)
666
6672006-05-03 Dan-m00 <daniel@undernet.org>
668 * mod.ccontrol/ccontrol.h: addition of IClonesGline variable
669
670 * mod.ccontrol/ccontrol.cc: addition of auto-gline function for
671 CIDR ident clones (including a slight output change)
672
673 * mod.ccontrol/CONFIGCommand.cc: add config for the above.
674 (CONFIG -IClonesGline Yes/No) - default to 'no'.
675
676 * doc/ccontrol.help.sql: updated help for CONFIG command to
677 reflect new configuration option.
678
6792006-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.
683
684 <Dan-m00> AttachServer was sending an iClient object, instead
685 of an iServer object, which caused the invalid ref.
686
6872006-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!
691
6922006-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.
695
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
700 seen time.
701
7022006-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.
713
714 * mod.cservice/BANCommand.cc: implement the change of output
715 for the above changed files.
716
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.
720
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.
725
726 psql cservice < doc/update_languages_20060131_20.sql
727
7282006-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.
731
732 * mod.cservice/BANCommand.cc: implement the above config var,
733 this replaces the hardcoded default of 14 days.
734
7352006-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.
739
7402006-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.
743
7442006-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.
749
7502005-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
755 the creation time.
756
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).
761
762 This is part of a patch submitted by Reed Loden.
763
7642006-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.
769
7702005-12-28 Dan-m00 <daniel@undernet.org>
771 * autogen.sh: (new file) script to rebuild using auto-tools.
772
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.
776
7772005-12-27 Entrope <mdpoole@troilus.org>
778 * configure.ac: Fix VPATH builds.
779
780 * configure: rebuild from configure.ac with autoconf
781
782 * mod.ccontrol/CControlCommands.h: Properly declare class
783 gnuworld::xServer.
784
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++.
788
789 * mod.ccontrol/ccontrol.h: Likewise it. We must also properly
790 qualify types qualify types that come from inside
791 xServer.
792
793 * mod.ccontrol/ccontrol.cc: Fix erroneous loop termination
794 conditions.
795
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
804
805 NOTE: GNUWorld does NOT compile on FreeBSD/amd64 gcc4 at the
806 current time (but works with gcc3.4.4)
807
8082005-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.
813
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.
817
818 * mod.cservice/responses.h: add max failed login failure msg.
819
820 * doc/language_table.sql: add message for the above response.
821
822 * mod.cservice/cservice.h:
823 * mod.cservice/cservice.cc: add functions to get/set the failed
824 login counter for clients.
825
826 * mod.cservice/LOGINCommand.cc: add maximum failed login
827 checks. If they exceed them, they will have to
828 reconnect to the network.
829
8302005-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.
836
8372005-12-12 Dan-m00 <daniel@undernet.org>
838 * doc/cservice.web.sql: roll-back previous commit after
839 replacing glasses.
840
8412005-12-12 Dan-m00 <daniel@undernet.org>
842 * doc/cservice.web.sql: forgot the table for web relay msgs ;)
843
8442005-12-06 Dan-m00 <daniel@undernet.org>
845 * bin/cservice.example.conf.in: Added privileged relay channel
846 (priv_relay_channel) for privileged output.
847
848 * mod.cservice/cservice.h: Added channel variable and function
849 prototype for priveleged relay channel.
850
851 * mod.cservice/cservice.cc: Added function for output of the
852 above. Also, load the config for the channel.
853
854 * mod.cservice/LOGINCommand.cc: Modify failed login messages to
855 output to the priveleged relay channel.
856
857 Also, report 900+ logins to privileged relay channel.
858
8592005-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)
865
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.
870
8712005-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.
874
875 * mod.cservice/sqlUser.h: define a timestamp of the last alert
876
877 * mod.cservice/sqlUser.cc: set the default timestamp on create.
878
879 * mod.cservice/LOGINCommand.cc: Alter login to only alert when
880 the time between alerts has been reached.
881
8822005-12-02 Dan-m00 <daniel@undernet.org>
883 * doc/cservice.config.sql: New config variable to enable or
884 disable flood messages.
885
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.
889
890 New config variable to enable or disable the notice to
891 users when they successfully login to report failed
892 logins.
893
894 Also, added the required_supporters config var back
895 in (required by the web)
896
897 * mod.cservice/cservice.cc: Implement the above config var.
898
899 * mod.cservice/sqlUser.h: define failed_logins variable for
900 the number of failed logins since last successful.
901
902 * mod.cservice/sqlUser.cc: set failed_logins in zero upon
903 creation of sqlUser record.
904
905 * mod.cservice/responses.h: define new failed login response.
906
907 * doc/language_table.sql: define the new failed login response.
908
909 Also, include some responses that were missing (171-172)
910
911 * mod.cservice/LOGINCommand.cc: log failed IP restrictions to
912 the relay channel.
913
914 Report to the user upon successful login about the
915 number of failed logins since they last logged in.
916
917 Also, log failed logins when they reach a configurable
918 limit. (see above)
919
9202005-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.
923
9242005-12-01 Dan-m00 <daniel@undernet.org>
925 * mod.ccontrol/SAYCommand.cc:
926 * mod.ccontrol/ccontrol.cc: Modify 'say' command to accept 'do'
927 for /me's
928
9292005-12-01 Dan-m00 <daniel@undernet.org>
930 * mod.cservice/SAYCommand.cc:
931 * mod.cservice/cservice.cc: Modify 'say' command to accept 'do'
932 for /me's
933
9342005-11-30 Dan-m00 <daniel@undernet.org>
935 * bin/cservice.example.conf.in: added command log config var.
936
937 * mod.cservice/cservice_config.h: added USE_COMMAND_LOG option
938 to turn command log on and off.
939
940 * mod.cservice/cservice.h: Define command log path variable.
941
942 * mod.cservice/cservice.cc: Use command log path variable from
943 above. Also fixed an SQL query output.
944
945 * mod.cservice/SCANHOSTCommand.cc:
946 * mod.cservice/SCANUNAMECommand.cc: Updated SQL query output.
947
9482005-11-30 Dan-m00 <daniel@undernet.org> / Reed Loden <reed@reedloden.com>
949
950 This patch is based on a patch provided by Reed Loden.
951
952 * include/iClient.h:
953 * libircu/msg_N.cc:
954 * src/server.cc: Remove IP restriction code from the core.
955
956 * mod.cservice/cservice.h:
957 * mod.cservice/cservice.cc: Add new IP restriction functions
958 to use iClient network data rather than core.
959
960 * mod.cservice/networkData.h:
961 * mod.cservice/networkData.cc: define the IP restriction ts
962 in cservice data here.
963
9642005-11-30 Dan-m00 <daniel@undernet.org>
965 * mod.cservice/SCANUNAMECommand.cc: add SQL query logging.
966
967 * mod.cservice/SCANHOSTCommand.cc: hide IP output for users.
968 Also, add SQL query logging option.
969
9702005-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
973 alumni accounts.
974
975 * mod.cservice/cservice.cc: no longer apply IP restriction to
976 alumni accounts.
977
9782005-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
982
983 * mod.cservice/cservice.cc:
984 (cservice::OnEvent):
985 (cservice::expireBans):
986 (cservice::expireSuspends):
987 make debug messages debug only.
988
9892005-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.
993
994 * mod.cservice/cservice.h: Add new timer for the above feature.
995
996 * mod.cservice/cservice.cc: Implement the new timer for the
997 above feature.
998
9992005-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.
1002
10032005-11-29 Dan-m00 <daniel@undernet.org>
1004 * mod.cservice/LOGINCommand.cc: notify relay channel when a
1005 privileged user logs in.
1006
10072005-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)
1010
1011 * mod.cservice/cservice.cc: use the above define in IPR logic.
1012
10132005-11-28 Dan-m00 <daniel@undernet.org>
1014 * mod.cservice/sqlUser.cc:
1015 * mod.cservice/sqlUser.h: define new flag for "oper status"
1016
1017 * mod.cservice/SCANUNAMECommand.cc:
1018 * mod.cservice/CHANINFOCommand.cc: update logic to treat people
1019 with 'oper status' as a * user.
1020
10212005-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.
1025
1026*** CORRECTION: version is 1.3, not 1.4 ***
1027
10282005-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)
1031
10322005-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)
1035
1036 * mod.cservice/sqlUser.cc:
1037 * mod.cservice/sqlUser.h: define new flag (as above)
1038
1039 * mod.cservice/SETCommand.cc: add toggle for the above flag.
1040
1041 * mod.cservice/ADDUSERCommand.cc: check the user's flag before
1042 adding them to a channel.
1043
1044 * mod.cservice/responses.h: add response codes for the above.
1045
1046 * doc/language_table.sql: add english output for response codes.
1047
1048 * doc/cservice.help.sql: add help topics for SET NOADDUSER.
1049
10502005-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.
1053
10542005-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.
1057
1058 * src/server.cc:
1059 * libircu/msg_N.cc: Initialise IP restriction timestamp when a
1060 new client is introduced.
1061
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')
1066
1067 * mod.cservice/LOGINCommand.cc: Add call to checkIPR() to check
1068 against IP restrictions for "*" accounts during login.
1069
10702005-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
1074
10752005-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.
1078
10792005-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.
1083
10842005-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.
1089
10902005-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.
1093
1094 * mod.cservice/CLEARMODECommand.cc: set "clearmode as server"
1095 flag to "no" to force the bot to use a manual mode.
1096
10972005-11-17 Dan-m00 <daniel@undernet.org>
1098 * mod.cservice/sqlUser.h:
1099 * mod.cservice/sqlUser.cc: add F_ALUMNI flag (0x80)
1100
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)
1104
1105 * mod.cservice/cservice.cc: implement the above check.
1106
1107 * mod.cservice/VERIFYCommand.cc: implement the above check.
1108
11092005-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.
1114
1115 Tested on FreeBSD/amd64 6.0-STABLE/gcc3
1116
11172005-11-15 Dan-m00 <daniel@undernet.org>
1118 * include/gnuworld_config.h: update defines and comment to the
1119 new filename.
1120
11212005-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,
1124 not 1 ban per nick.
1125
11262005-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.
1129
11302005-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.
1134
11352005-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!
1138
1139 * src/iClient.cc: make things compile when both ASUKA and SRVX
1140 are not defined.
1141
11422005-11-13 LordLuke
1143 * mod.cservice/cservice.cc: update logging from flat file to SQL
1144 for admin log.
1145
1146 * doc/cservice.sql: add adminlog table at the bottom of the file
1147 for the above.
1148
11492005-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)
1152
1153 Fixed memory leak within rate limiting and clone warnings.
1154
11552005-10-05 Dan-m00 <daniel@undernet.org>
1156 * mod.ccontrol/ccontrol.cc: rollback previous memory leak fix
1157
11582005-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)
1161
11622005-10-04 Dan-m00 <daniel@undernet.org>
1163 * doc/ccontrol.help.sql: completely updated help files for ccontrol
1164
11652005-10-04 Dan-m00 <daniel@undernet.org>
1166 * mod.ccontrol/ccontrol.cc: fix a possible memory leak in the
1167 handling of queued glines.
1168
1169 * libgnuworld/match.cc: fix CIDR matching incorrectly broken in
1170 an earlier commit.
1171
1172 * src/Network.cc: optimise user@host matching code (used for glines
1173 and various other core tasks)
1174
11752005-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.
1178
1179 * mod.ccontrol/ccontrol.cc: update syntax for userinfo command
1180
11812005-10-04 Dan-m00 <daniel@undernet.org>
1182 * aclocal.m4:
1183 * mod.ccontrol/Makefile.am:
1184 * mod.ccontrol/Makefile.in: update Makefiles for new file
1185
1186 * mod.ccontrol/CHANGLINECommand.cc: new channel gline command
1187
1188 * mod.ccontrol/CommandsDec.h: register new changline command
1189
1190 * mod.ccontrol/commLevels.h: add a new level for changline command
1191
1192 * mod.ccontrol/ccontrol.cc: bump version number and add new changline
1193 command
1194
1195 * mod.ccontrol/GLINECommand.cc: no longer handle channel glines.
1196
11972005-10-03 Dan-m00 <daniel@undernet.org>
1198 * libgnuworld/ConnectionManager.cc:
1199 * src/Channel.cc:
1200 * src/Network.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)
1204
1205 GNUWorld now works on FreeBSD5+/gcc3
1206
12072005-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.
1210
1211 * mod.cservice/cservice.cc: use the above variable.
1212
12132005-10-03 Dan-m00 <daniel@undernet.org>
1214 * mod.cservice/BANCommand.cc: BAN command now matches IPs as well as
1215 hosts.
1216
1217 * mod.cservice/cservice.cc: match IPs as well as hosts when a client
1218 joins a channel.
1219 Also check userlist against internal banlist on channel burst.
1220
12212005-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.
1224
1225 * mod.ccontrol/ccontrol.cc: apply the same logic to gline check
1226
12272005-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.
1230
12312005-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
1237
12382005-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)
1242
12432005-09-30 Dan-m00 <daniel@undernet.org>
1244 * libgnuworld/ConnectionManager.cc: remove redundant and pointless cast.
1245
12462005-09-30 Dan-m00 <daniel@undernet.org>
1247 * mod.ccontrol/ccontrol.h: add structures for virtual clones rate limiting
1248
1249 * mod.ccontrol/ccontrol.cc: add virtual clones rate limiting
1250 alter the output format of CIDR-based ident clones warnings
1251
12522005-09-30 Dan-m00 <daniel@undernet.org>
1253 * src/server.cc: swap function that handles 'regular' channel modes.
1254
1255 * mod.ccontrol/LISTCommand.cc: fix compiler warning.
1256
1257 * mod.ccontrol/ccontrol.h: add structures for ident clones warnings
1258
1259 * mod.ccontrol/ccontrol.cc: add 'CIDR-based ident clones' warnings
1260
1261 * mod.ccontrol/CONFIGCommand.cc: add config for the above feature (-IClones)
1262
12632005-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
1267
12682005-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.
1271
1272 * doc/cservice.config.sql: remove old, unused variables
1273 Add new 'MAX_BANS' config entry for BAN command.
1274
1275 * doc/README.cservice: add references to cservice.config.sql and
1276 greeting.sql as these are not already listed.
1277
1278 * mod.cservice/BANCommand.cc: add a maximum limit of bans per channel.
1279 This is set via the config command (variables SQL table)
1280
1281 * libircu/msg_B.cc: fixed parsing of oplevels in burst (ignore them)
1282
12832005-09-29 Dan-m00 <daniel@undernet.org>
1284 * include/Channel.h:
1285 * include/client.h:
1286 * include/events.h:
1287 * include/server.h:
1288 * libircu/msg_B.cc:
1289 * libircu/msg_M.cc:
1290 * src/Channel.cc:
1291 * src/Network.cc:
1292 * src/client.cc:
1293 * src/server.cc:
1294 * src/server_events.cc:
1295 Add basic support for oplevels from u2.10.12
1296 Thanks to reed for the initial diff
1297
1298 * mod.cservice/cservice.cc: fix a ban bug - thanks to reed for this diff
1299
13002005-09-29 Dan-m00 <daniel@undernet.org>
1301 * configure.ac: config.h hasnt existed in... years! update to gnuworld_config.h
1302
1303 * configure: rebuilt configure with autoconf
1304
13052005-09-28 Dan-m00 <daniel@undernet.org>
1306 * .cvsignore: ignore configure.lineno, tidy up
1307
1308 * libltdl/.cvsignore: ignore configure.lineno
1309
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.
1322
1323 This is in preparation for u2.10.12 updates to the code and bugfixes.
1324
13252005-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.
1328
13292005-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.
1333
13342005-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')
1337
13382005-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.
1341
13422005-06-25 Dan-m00 <daniel@undernet.org>
1343 * mod.ccontrol/LISTCommand.cc: added channel usercount to 'list channels' output
1344
13452005-06-24 Dan-m00 <daniel@undernet.org>
1346 * include/Channel.h: added support for new u2.10.12 "+D" channel mode.
1347
1348 * libircu/msg_B.cc: as above.
1349
1350 * libircu/msg_CM.cc: as above.
1351
1352 * libircu/msg_M.cc: as above.
1353
1354 * src/Channel.cc: as above.
1355
1356 * src/client.cc: as above.
1357
1358 * src/server.cc: as above.
1359
1360 * include/Network.h: added function prototype for GetChannelsWithModes()
1361
1362 * src/Network.cc: added function for GetChannelsWithModes()
1363
1364 * mod.ccontrol/LISTCommand.cc: updated 'list' command to include the following:
1365 'list channels modes X'
1366
13672005-06-24 Dan-m00 <daniel@undernet.org>
1368 * include/Network.h: added function prototype for the following functions:
1369 GetChannelsWithTopic()
1370 GetChannelsWithTopicBy()
1371
1372 * src/Network.cc: added functions (above)
1373
1374 * mod.ccontrol/LISTCommand.cc: updated 'list' command to include the following:
1375 'list channels topic X'
1376 'list channels topicby nick!user@host'
1377
1378 * mod.ccontrol/ccontrol.cc: updated usage syntax for 'list' command to include 'channels'
1379
13802005-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.
1383
13842005-06-23 Dan-m00 <daniel@undernet.org>
1385 * include/Network.h: added function prototype for GetChannelsWithKey() function
1386
1387 * src/Network.cc: added function GetChannelsWithKey()
1388
1389 * mod.ccontrol/LISTCommand.cc: updated 'list' command to include 'list channels key X'
1390 to return a list of channels matching a key.
1391
13922005-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
1397
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
1400
1401 * src/iClient.cc: when new channel is created (and topic_track enabled), initialise
1402 new variables to 0/blank.
1403
1404 * mod.ccontrol/CHANINFOCommand.cc: add new topic ts+set info into 'chaninfo' command
1405
14062005-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.
1409
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.
1412
1413 * src/client.cc: don't require ccontrol user to join channel in order to invite.
1414
1415 * mod.ccontrol/INVITECommand.cc: check that the channel exists before issuing an invite.
1416
1417 * mod.ccontrol/DEOPCommand.cc: check that at least 1 user to deop is in the
1418 channel! If not, tell the user.
1419
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)
1422
1423 * mod.ccontrol/ccontrol.cc: update syntax in 'SCAN' command.
1424
14252005-06-19 Dan-m00 <daniel@undernet.org>
1426 * mod.ccontrol/ccontrol_generic.h: added Duration() function similar to Ago()
1427
1428 * mod.ccontrol/ccontrol_generic.cc: added Duration() function similar to Ago()
1429
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
1433
1434 * mod.ccontrol/DEAUTHCommand.cc: stop auto-authentication after netsplit if deauth'd
1435
14362005-06-19 Dan-m00 <daniel@undernet.org>
1437 * mod.ccontrol/ccUser.h: added LastAuthTS + LastAuthNumeric to users class
1438
1439 * mod.ccontrol/LOGINCommand.cc: after successful login, record TS+Numeric for user.
1440
1441 * mod.ccontrol/ccontrol.cc: check ts+numeric against opers table to auto-logon after netsplit.
1442
14432005-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)
1446
1447 * mod.ccontrol/ccontrol.cc: added configurable time between cidr clones announcements.
1448
1449 * mod.ccontrol/CONFIGCommand.cc: as above.
1450
1451 * mod.ccontrol/WHOISCommand.cc: added 'account' status in 'whois' command
1452
14532005-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.
1456
1457 * mod.ccontrol/ccontrol_generic.h: function prototypes (new file)
1458
1459 * mod.ccontrol/ccontrol_generic.cc: new human readable generic functions.
1460
1461 * mod.ccontrol/Makefile.am: Updated makefile for new files
1462
1463 * mod.ccontrol/Makefile.in: Updated makefile for new files
1464
1465 * mod.ccontrol/CHECKNETCommand.cc: made output more human readable.
1466
1467 * mod.ccontrol/CHANINFOCommand.cc: made output more human readable.
1468
1469 * mod.ccontrol/MAXUSERSCommand.cc: made output more human readable.
1470
14712005-06-18 Dan-m00 <daniel@undernet.org>
1472 * mod.ccontrol/FORCEGLINECommand.cc: CIDR reply info added for forceglines
1473
1474 * mod.ccontrol/GLINECommand.cc: CIDR reply info added for glines
1475
1476 * mod.ccontrol/SGLINECommand.cc: CIDR reply info added for sglines
1477
14782005-06-18 Dan-m00 <daniel@undernet.org>
1479 * src/Channel.cc: fixed problem that stopped compilation on FreeBSD/gcc 2.95
1480
1481 * src/server.cc: fixed problem that stopped compilation on FreeBSD/gcc 2.95
1482
1483 * include/Channel.h: gnuworld_config.h was not included, so topic_track did not work.
1484
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.
1488
1489 * mod.ccontrol/ccontrol.h: added new variables for CIDR clone detection
1490
1491 * mod.ccontrol/ccontrol.cc: added CIDR support. also fixed gline bug
1492 - glines cannot start with a "."
1493 - glines cannot contain consecutive "."'s
1494
1495 * libgnuworld/match.cc: added CIDR support to match() function.
1496
1497 * mod.ccontrol/CONFIGCommand.cc: added CIDR options (see seperate commit)
1498
1499 * mod.ccontrol/Constants.h: defined new return codes for CIDR matches
1500