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