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