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