14ad56c830123781a839b43c99f05b381eeb5b27
[ircu2.10.12-pk.git] / ChangeLog
1 2000-04-14  Kevin L. Mitchell  <klmitch@mit.edu>
2
3         * BUGS: since I fixed that bug, might as well mark it fixed.
4
5         * ircd/m_join.c: look up badchans with GLINE_EXACT
6
7         * ircd/m_gline.c: fix parc count problems; look up existing
8         G-lines with GLINE_EXACT; only set new lastmod when
9         activating/deactivating existing glines if old lastmod was not 0
10
11         * ircd/gline.c: forgot to copy the gline reason over; don't
12         propagate a gline with 0 lastmod if origin is user; add
13         GLINE_EXACT to force exact matching of gline mask
14
15         * ircd/ircd_snprintf.c (doprintf): forgot to deal with the zero
16         flag properly
17
18         * ircd/s_conf.c (find_kill): gline_find() takes a char *userhost,
19         but gline_lookup() actually takes a client--d'oh.
20
21 2000-04-13  Thomas Helvey <tomh@inxpress.net>
22         * ircd/IPcheck.c: Back port BLMet's bugfix from 2.10.10
23
24 2000-04-13  Greg Sikorski <gte@atomicrevs.demon.co.uk>
25
26         * ircd/whocmds.c: Don't make idle flag default in /who, to prevent:
27           "/who * x"
28           "Gte3 H*iwg Gte@212.49.240.217 :1 :0 I am the one that was."
29           (Found by Plexus).
30
31         * ircd/whocmds.c: Change idle time calc from socket idle to user
32           idle.
33
34 2000-04-13  Kevin L. Mitchell  <klmitch@mit.edu>
35
36         * config/aclocal.m4 (unet_CHECK_TYPE_SIZES): check size of void *,
37         too, for ircd_snprintf.c
38
39         * include/ircd_snprintf.h: documentation for ircd_(v)snprintf, in
40         comments; mostly descended from the Linux manpage for printf, but
41         also documenting the extensions.
42
43         * ircd/ircd_snprintf.c: NULL dest is equivalent to going to a
44         client; make 'q' be the same as 'L'; remove __inline__; only
45         define EXTENSION if HAVE_LONG_LONG is defined
46
47         * include/handlers.h: declare m_gline()
48
49         * ircd/parse.c: gline can be called by users, but it only lists
50         the glines.
51
52         * ircd/s_user.c (set_nick_name): resend gline if a remote server
53         introduces a glined client
54
55         * ircd/s_serv.c (server_estab): burst glines, too
56
57         * ircd/gline.c: fix up all the expire times to be offsets;
58         simplify gline_resend()
59
60         * ircd/m_gline.c: begin coding replacements for ms_gline(),
61         mo_gline(), and m_gline()
62
63         * ircd/gline.c (gline_add): allow *@#channel to work correctly;
64         also, prohibit local BADCHANs if LOCAL_BADCHAN not defined
65
66 2000-04-13  Greg Sikorski <gte@atomicrevs.demon.co.uk>
67
68         * tools/Bouncer/*: Add comments/documentation/tags.
69         * tools/Bouncer/*: Add debug defines, make task fork().
70
71 2000-04-12  Thomas Helvey <tomh@inxpress.net>
72         * ircd/s_err.c: Cleanup s_err.c make one table so we
73         don't have to do anything tricky to get an error string.
74
75 2000-04-12  Greg Sikorski <gte@atomicrevs.demon.co.uk>
76         * Add port bouncer for http (x/w)
77
78 2000-04-12  Kevin L. Mitchell  <klmitch@mit.edu>
79
80         * ircd/s_conf.c (find_kill): replaced call to find_gline() with a
81         call to gline_find(); also used GlineReason() instead of direct
82         reference to structure member
83
84         * ircd/m_join.c (m_join): replace bad_channel() calls with calls
85         to gline_find(name, GLINE_BADCHAN), and also check to see if gline
86         is active
87
88         * ircd/channel.c: nothing seems to be called anywhere...
89
90         * ircd/s_err.c: update a couple of replies to dovetail with new
91         semantics
92
93         * ircd/gline.c: begin complete re-implementation of gline.c along
94         the lines of the final design of jupe.c
95
96         * include/gline.h: begin complete re-implementation of gline.c
97         along the lines of the final design of jupe.c
98
99         * ircd/channel.c (mode_process_clients): fix "Deop of +k user on
100         %s by %s" message...
101
102         * ircd/ircd_snprintf.c: my new snprintf()-like functions
103
104         * include/ircd_snprintf.h: my new snprintf()-like functions
105
106 2000-04-11  Thomas Helvey <tomh@inxpress.net>
107         * ircd/IPcheck.c: removed old dead code
108         * ircd/s_user.c (send_user_info): removed non-standard
109           user not found message for userhost/userip
110
111 2000-04-11  Greg Sikorski <gte@atomicrevs.demon.co.uk>
112
113         * ircd/s_err.c: Added missing quotes to ERR_DONTCHEAT numeric.
114         * doc/p10.html: Work on chapter 4.
115
116 2000-04-10  Kevin L. Mitchell  <klmitch@mit.edu>
117
118         * ircd/channel.c (mode_parse_client): fix coredump on /mode
119         #foobar +o nosuchnick
120
121 2000-04-10  Perry Lorier  <Isomer@coders.net>
122         * BUGS: Added bug.
123
124 2000-04-09  Thomas Helvey <tomh@inxpress.net>
125         * include/IPcheck.h: fix prototype
126         * ircd/s_user.c: fix usage of IPcheck_remote_connect
127         * ircd/IPcheck.c: removed unused args
128
129 2000-04-09  Thomas Helvey <tomh@inxpress.net>
130         * include/IPcheck.h: add proto for IPcheck_expire
131
132         * ircd/IPcheck.c: Rewrote
133
134         * ircd/ircd.c: Add IPcheck_expire to main message loop
135
136         * ircd/s_user.c: Redo target hashing, refactor target code
137
138         * include/numeric.h: Cleaned up numerics, added which ones are
139         in use by other networks and what they are in use for.
140
141         * ircd/channel.c: cleaned can_join(), allow anyone through anything
142         if /invited, simplified the function.  Opers overusing OPEROVERRIDE
143         will get a message explaining to them not to cheat.
144
145         * ircd/m_join.c: cleaned up the various join functions, should be
146         a lot more efficient.  Still needs work.  Now assumes that s<->s
147         won't send it a JOIN 0.  Service coders - note this and tread with
148         care.
149
150         * ircd/m_stats.c: added Gte-'s stats doc patch.
151
152         * ircd/m_version.c: /version now returns the 005 numeric as well.
153         as requested by Liandrin.
154
155
156 2000-04-07  Kevin L. Mitchell  <klmitch@mit.edu>
157
158         * ircd/m_clearmode.c: add include for support.h for write_log()
159
160         * configure: move ircd/crypt/* to tools/*
161
162 2000-04-06  Thomas Helvey <tomh@inxpress.net>
163         * ircd/s_auth.c: Shorten auth connect timeout to 60 seconds
164           set client host to server alias if connection from localhost
165
166 2000-04-06  Perry Lorier <isomer@coders.net>
167         * ircd/ircd.c: Fix core during pinging (oops)
168         
169 2000-04-06  Perry Lorier <isomer@coders.net>
170         * ircd/send.c: fixed wrong ident being sent to channels bug.
171         * include/numerics.h: Updated some of the numerics from other
172         networks.  Flagged some as 'unused' by undernet.
173
174 2000-03-30  Perry Lorier <isomer@coders.net>
175         * ircd/ircd.c: Lets see if this helps the ping problem at all.
176         * ircd/whocmds.c, /doc/readme.who: Added %l specifier to get idle
177         time for local clients. (as requested), extended who now returns all
178         the flags (@+!) so you can tell the complete state of a client.
179
180 2000-03-30  Thomas Helvey <tomh@inxpress.net>
181         * m_rping.c m_rpong.c: add Gte's rping/rpong fixes
182
183 2000-03-30  Perry Lorier <isomer@coders.net>
184         * ircd/parse.c: oops, missed opers.
185
186 2000-03-30  Perry Lorier <isomer@coders.net>
187         * ircd/parse.c: fixed mystifying ping bug thats been plaguing us
188         for so long.  Remember: m_ping MUST be in the parse array. :)
189
190 2000-03-30  Perry Lorier <isomer@coders.net>
191         * ircd/ircd.c: test in check_pings was wrong.  I move that we
192         disallow cvs commit after 10pm localtime....
193
194 2000-03-30  Perry Lorier <isomer@coders.net>
195         * ircd/m_pong.c: Fix it for servers too.
196
197 2000-03-30  Perry Lorier <isomer@coders.net>
198         * ircd/m_pong.c: Fix ping timeout bugs
199
200 2000-03-30  Perry Lorier <isomer@coders.net>
201         * ircd/channel.c: Bans had CurrentTime in their when field instead
202         of TStime()
203
204 2000-03-31  Thomas Helvey <tomh@ixpress.net>
205         * ircd/numnicks.c (SetXYYCapacity): fix for extended
206         numerics.
207
208 2000-03-30  Perry Lorier <isomer@coders.net>
209         * ircd/m_nick.c: send kills both ways so when we add nick change
210         on collision we don't desync the network.
211
212         * ircd/map.c: Fixup the map a bit more.
213
214 2000-03-31  Kevin L. Mitchell  <klmitch@mit.edu>
215
216         * ircd/m_clearmode.c (do_clearmode): Log the CLEARMODE to OPATH
217
218         * ircd/m_opmode.c: Log the mode changes to OPATH
219
220         * ircd/channel.c (modebuf_flush_int): Log the mode changes to
221         OPATH
222
223         * include/channel.h (MODEBUF_DEST_LOG): Log the mode changes to
224         OPATH
225
226         * doc/Configure.help: help text for CONFIG_LOG_OPMODE / OPATH
227
228         * config/config-sh.in: added OPATH for opmode log file
229
230         * ircd/m_clearmode.c (do_clearmode): updated uses of
231         modebuf_mode_string() for the new usage
232
233         * ircd/channel.c: added flag MODE_FREE and an int argument to
234         modebuf_mode_string() to indicate that the string must be free'd;
235         updated calls to modebuf_mode_string() for the new usage; called
236         collapse(pretty_mask()) on the ban string and use allocated memory
237         for it; added ban list length accounting; fixed a number of small
238         bugs in ban processing
239
240         * include/channel.h: added flag MODE_FREE and an int argument to
241         modebuf_mode_string() to indicate that the string must be free'd
242
243         * ircd/m_clearmode.c (do_clearmode): made sure clearmode removed
244         keys and limits that are set
245
246 2000-03-30  Perry Lorier <isomer@coders.net>
247         * ircd/ircd.c: rewrote check_pings() for maintainability
248         and speed.  Also changed quit msg's so they don't have
249         redundant nick[host] info in them.
250
251         * ircd/send.c: Changed write errors to report what error
252         occured (if possible).
253
254         * ircd/gline.c: added gline comment to the quit.
255
256         * ircd/m_server.c: Added suggestions to server quits mentioning
257         what went wrong so the admin can fix it earlier instead of asking
258         questions...
259
260         * ircd/map.c: Changed m_map() to hide numerics, show a * beside
261         servers that aren't fully burst yet.  And show '(--s)' for servers
262         where its not sure.
263
264         * doc/example.conf: Fixed wrapped U:
265
266 2000-03-30  Kevin L. Mitchell  <klmitch@mit.edu>
267
268         * ircd/m_mode.c (ms_mode): implemented a new m_mode in terms of
269         mode_parse() (version selectable at compile time)
270
271         * ircd/m_clearmode.c (mo_clearmode): clean_channelname(parv[1])
272
273         * ircd/m_opmode.c (mo_opmode): clean_channelname(parv[1])
274
275         * config/config-sh.in: add new config option to enable new m_mode
276         implementation
277
278         * doc/Configure.help: add documentation for new config option
279         CONFIG_NEW_MODE
280
281         * ircd/channel.c (mode_parse_client): /opmode #foobar -o -- 461
282         MODE -v : Not enough parameters
283
284         * ircd/m_clearmode.c (do_clearmode): do_clearmode() would remove
285         +k and +l even if they weren't set...
286
287         * ircd/m_opmode.c: implement the OPMODE command using mode_parse()
288
289         * ircd/channel.c: make mode_process_clients() clear the DEOPPED
290         flag; fix +s+p exclusivity; add MODE_ADD/MODE_DEL to flag list
291         for; test the 0-th member, not the i-th member, of the client
292         change state stuff
293
294         * ircd/m_clearmode.c (do_clearmode): use the new
295         mode_invite_clear() function
296
297         * ircd/channel.c: cleared up all the compile-time warnings and
298         errors
299
300         * include/channel.h: added declarations for mode_ban_invalidate()
301         and mode_invite_clear()
302
303         * ircd/channel.c: finished mode_parse(), then broke it up into a
304         dozen or so helper functions to make the code easier to read
305
306 2000-03-29  Thomas Helvey <tomh@inxpress.net>
307         * ircd/ircd.c: refactor server initialization a bit, use
308         getopt for parsing command line, refactor init_sys, main,
309         and other bits.
310
311         * ircd/s_bsd.c: add functions for initialization to clean
312         up logic a bit and remove duplicated code.
313
314         * include/ircd.h: add struct for server process related
315         variables.
316
317 2000-03-29  Kevin L. Mitchell  <klmitch@mit.edu>
318
319         * ircd/channel.c: initial definition of mode_parse(); flags to
320         prevent doing the same thing multiple times; helper method
321         send_notoper() to send a "Not oper"/"Not on channel" notice
322
323         * include/channel.h: declare mode_parse() and helper flags
324
325         * ircd/channel.c (modebuf_flush_int): fiddled with timestamp
326         sending to match the current action of set_mode() closely enough
327         that hopefully there won't be major conflicts
328
329         * ircd/channel.c (modebuf_flush_int): consolidated the mode string
330         building logic, reversed the order of the arguments to mode
331         commands to have '-' preceed '+'
332
333 2000-03-29  Thomas Helvey <tomh@inxpress.net>
334         * ircd/s_bsd.c (add_connection): don't disable socket options
335         let OS tune itself and allow important performance tweaks to 
336         work.
337
338 2000-03-28  Kevin L. Mitchell  <klmitch@mit.edu>
339
340         * ircd/channel.c (modebuf_flush_int): use %d, not %-15d; I got
341         confused by set_mode, which is doing some really weird logic;
342         guess what I'm going to rewrite next?  ;)
343
344 2000-03-28  Kevin L. Mitchell  <klmitch@emc.com>
345
346         * include/channel.h: added MODE_SAVE for the bounds checking stuff
347         in modebuf_flush
348
349         * ircd/channel.c: make modebuf_flush into modebuf_flush_int and
350         make it do bounds checking on the buffer; all modes are sent only
351         if the all parameter is 1; modebuf_flush is the exported wrapper
352
353         * include/channel.h: add BOUNCE, renumber flags to get a little
354         more space
355
356         * ircd/channel.c (modebuf_flush): don't overload HACK2, add
357         BOUNCE; send DESYNCH message
358
359 2000-03-27  Kevin L. Mitchell  <klmitch@emc.com>
360
361         * ircd/m_clearmode.c (do_clearmode): only mark the modes the
362         channel actually has in effect for deletion
363
364         * ircd/channel.c: added explanatory comments to all added
365         functions; made flushing take place at the correct place even if
366         the MODEBUF_DEST_DEOP flag is set; rewrote build_string() helper
367         to bash some stupid bugs; made modebuf_flush() return if ModeBuf
368         is empty, fixed the apparent source, removed some bogus string
369         termination code, properly terminate the mode strings, add support
370         for HACK2 and HACK3, made limit strings not be sent if the limit
371         is being removed, changed where '+' and '-' come from in sent
372         strings, added support for DEOP flag, set up bouncing code for
373         HACK2
374
375         * ircd/Makefile.in: ran make depend
376
377         * include/channel.h: added new defines for future functionality,
378         made modebuf_flush() return int so I can use tail recursion
379
380         * ircd/m_clearmode.c: add msg.h to includes; other misc cleanups
381         to make it all compile
382
383         * ircd/m_opmode.c: add msg.h to includes...
384
385         * ircd/m_clearmode.c: implemented mo_clearchan()/ms_clearchan()
386
387         * ircd/channel.c (modebuf_flush): realized I forgot to
388         nul-terminate addbuf/rembuf properly...
389
390         * ircd/m_clearmode.c (do_clearmode): wrote do_clearmode()...
391
392         * ircd/channel.c (modebuf_flush): correct sendto_server_butone to
393         sendto_serv_butone--blah^2
394
395         * ircd/send.c (sendto_serv_butone): stupid comments confused me
396
397         * ircd/channel.c (modebuf_flush): if there are no mode changes to
398         propagate, we're done...
399
400         * ircd/channel.c (modebuf_flush): duh; it's sendto_server_butone,
401         not sendto_all_butone
402
403         * ircd/m_clearmode.c: define skeleton for m{o,s}_clearmode
404
405         * ircd/m_opmode.c: define skeleton for m{o,s}_opmode
406
407         * ircd/Makefile.in (SRC): added m_opmode() and m_clearmode() to
408         the list
409
410         * ircd/parse.c: added messages for opmode and clearmode
411
412         * include/handlers.h: added declarations for mo_opmode(),
413         ms_opmode(), mo_clearmode(), and ms_clearmode()
414
415         * include/msg.h: define MSG_OPMODE, TOK_OPMODE, MSG_CLEARMODE, and
416         TOK_CLEARMODE
417
418         * include/channel.h (MODEBUF_DEST_OPMODE): Define the
419         MODEBUF_DEST_OPMODE flag
420
421         * ircd/channel.c (modebuf_flush): added new flag,
422         MODEBUF_DEST_OPMODE; causes channel MODE/HACK(4) notice to appear
423         to originate from source's server (or source itself, if
424         IsServer(source)); also causes a server-level MODE to be sent as
425         OPMODE instead
426
427         * include/channel.h: defined MODEBUF_DEST_SERVER,
428         MODEBUF_DEST_HACK4
429
430         * ircd/channel.c: Add another argument to build_string() to handle
431         numeric nicks; implemented MODEBUF_DEST_SERVER to send MODEs to
432         servers; implemented MODEBUF_DEST_HACK4 to cause HACK(4) notices
433         to be sent out
434
435 2000-03-27  Perry Lorier <isomer@coders.net>
436
437         * ircd/s_bsd.c: fixed missing 'u' typo.
438
439 2000-03-26  Kevin L. Mitchell  <klmitch@emc.com>
440
441         * ircd/channel.c: implement modebuf_init(), _mode(), _mode_uint(),
442         _mode_string(), _mode_client(), _flush(); also implemented a
443         simple build_string()
444
445         * include/channel.h: added definition of ModeBuf, modebuf_*
446         manipulation functions, and a couple of helper macros
447
448 2000-03-24 Thomas Helvey <tomh@inxpress.net>
449   * numicks.c: convert extended numerics to use original mask version
450   * numnicks.h: ""
451   * s_user.c:
452 2000-03-23 Thomas Helvey <tomh@inxpress.net>
453   * Merge in changes from production
454 2000-03-22 Thomas Helvey <tomh@inxpress.net>
455   * numicks.c: Tweak to numnick generator to reduce possibility of duplicates.
456   * rfc1459.unet: Add Maniac's documentation for /names 0
457 * Fix misc. jupe bugs that somehow made it into the tree
458 * Escape /names 0 to mean /names --Maniac
459 * Don't core when server asks for info --Maniac 
460 * Add Kev's jupe patch --Bleep
461 * Add Maniacs squit patch --Bleep
462 * Merge in u2_10_10_beta07 changes --Bleep
463 * Merge in u2_10_10_beta06 changes --Bleep
464 * Start ircu2.10.11 development, beta branch u2_10_10 --Bleep
465 #-----------------------------------------------------------------------------
466 #
467 # ChangeLog for ircu2.10.11
468 #
469 # $Id: ChangeLog,v 1.84 2000-04-14 17:08:06 kev Exp $
470 #
471 # Insert new changes at beginning of the change list.
472 #