]> code.citadel.org Git - citadel.git/blob - citadel/ChangeLog
* ipc_c_tcp.c: fix infinite loop on long line from server
[citadel.git] / citadel / ChangeLog
1 Mon Oct 12 15:27:21 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
2         * Killed the "rooms" subdirectory (it isn't used anymore)
3
4 1998-10-12 Nathan Bryant <bryant@cs.usm.maine.edu>
5         * Makefile.in: simplified to use pattern rules; files compiled with
6           -D_REENTRANT go to *.ro to allow the same files to be used with both
7           client and server
8         * tools.c, tools.h: new files; misc routines used by both client and
9           server go here. contains safestrncpy() at the moment.
10         * rooms.c: fix several exploitable buffer overruns
11         * sysdep.c: fix infinite loop when long lines are received from the
12           client; fix exploitable buffer overrun in cprintf()
13         * ipc_c_tcp.c: fix infinite loop on long line from server
14         * .cvsignore: add *.ro
15
16 Sun Oct 11 23:17:48 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
17         * Built some more of the message expiry infrastructure
18
19 1998-10-11 Nathan Bryant <bryant@cs.usm.maine.edu>
20         * citserver.c: fix two more overruns, one of which was preventing
21           the "From Host" from showing up in the <W>ho listing.
22
23 Sun Oct 11 02:51:55 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
24         * Moved "struct visit" and its associated defs from citadel.h to
25           server.h where they belong
26         * Set up data structures for room policies (expiry, etc.)
27
28 1998-10-10 Nathan Bryant <bryant@cs.usm.maine.edu>
29         * citserver.c: fix overrun which caused segv's on servers with long
30           hostnames.
31
32 Fri Oct  9 18:34:06 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
33         * user_ops.c: added PurgeStaleRelationships() to do processing at
34           session logout time to remove visits for rooms which no longer exist
35         * user_ops.c: implemented NewMailCount()
36
37 1998-10-09 Nathan Bryant <bryant@cs.usm.maine.edu>
38         * serv_chat.c: fix buffer overrun that was resulting in segv's
39         * serv_chat.c: fix another overrun that could cause sessions to hang,
40           and cleaned up some other strncpy()-related stuff. DON'T FORGET TO
41           NULL-TERMINATE DESTINATION BUFFERS AFTER STRNCPY CALLS.
42
43 Fri Oct  9 13:22:37 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
44         * Implemented "lazy mode" traversal - pressing the space bar will do
45           <N>ext messsage, <G>oto next room, or read <N>ew as appropriate.
46         * room_ops.c: modify CtdlRoomAccess() to allow access to mailbox rooms
47           only to their owners.
48
49 Thu Oct  8 17:13:27 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
50         * messages.c, citadel.rc: added the ability to display message numbers
51           in the header when reading messages.  I think this is butt ugly, but
52           some of the DaveCode afficionados seem to like it...
53
54 Thu Oct  8 15:34:45 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
55         * room_ops.c: Added is_noneditable() function to replace all of the
56           duplicated code present in all functions which edit room parameters.
57
58 1998-10-08 Nathan Bryant <bryant@cs.usm.maine.edu>
59         * lots of warning fixes; builds with -std1 on dec unix
60         * aidepost.c, citadel.h, citmail.c, file_ops.c, msgbase.c, netmailer.c,
61           netproc.c, rcit.c, server.h, stats.c, userlist.c: use time_t where
62           needed
63         * control.c, room_ops.c, serv_chat.c, sysdep.c: use memset() instead of
64           bzero()
65         * dynloader.c, dynloader.h, messages.c, server.h, sysdep.c,
66           sysdep_decls.h: function pointer/prototyping fixes
67         * rooms.c: use mkfifo(3) instead of system("mkfifo")
68
69 1998-10-07 Nathan Bryant <bryant@cs.usm.maine.edu>
70         * snprintf.c, snprintf.h: new files
71         * Makefile.in, configure.in, dynloader.c, sysdep.c: support for the
72           above; citserver now builds and runs on Digital Unix 4.0d with the
73           GNU-style configure script. there is a bug with the hostname display
74           in the wholist.
75         * netproc.c: sillyness fix
76         * room_ops.h: prototype delete_room()
77         * client_chat.c, commands.c, serv_chat.c, sysdep.c:
78           use HAVE_SYS_SELECT_H macro
79
80 Mon Oct  5 17:01:32 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
81         * Began fixing the stuff I broke
82
83 Sun Oct  4 23:35:18 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
84         * Did the big migration to the new data structures.  Lots of stuff is
85           now broken.  Basic moving from room to room works, but Mail is
86           broken, and some of the administrative commands are unimplemented.
87
88 1998-10-02 Nathan Bryant <bryant@cs.usm.maine.edu>
89         * configure.in: autologin now defaults to disabled
90
91 Fri Oct  2 00:04:31 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
92         * Finally removed all three usersupp.foo[MAXROOMS] elements, and
93           migrated all the code that used them to use "struct visit" instead.
94
95 Thu Oct  1 23:02:20 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
96         * Rewrote [l][get|put]room() functions to use room names rather than
97           room index numbers.  Temporarily prepended a "n" to these four
98           function names until they are put to use.
99
100 Thu Oct  1 16:27:13 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
101         * Removed a few more references to usersupp.lastseen[]
102
103 1998-10-01 Nathan Bryant <bryant@cs.usm.maine.edu>
104         * .cvsignore: add so_locations (generated by osf1 ld with shared libs)
105         * Makefile.in: restructured variables for greater consistency, use
106           @echo to print out notices during the make process, add so_locations
107           to `cleaner'
108         * configure.in, Makefile.in: configure checks for -rdynamic
109         * ipc_c_tcp.c: fix DEC compiler warning wrt unsigned char
110         * stats.c: add semicolon to placate DREC compiler
111         * user_ops.c: define _POSIX_C_SOURCE, include <limits.h>
112         * configure.in: pass -pthread to DEC compiler, don't check for
113           libpthread[s] on DEC Unix
114
115 1998-09-30 Nathan Bryant <bryant@cs.usm.maine.edu>
116         * Makefile.in: new variable PTHREAD_DEFS for portability
117         * aidepost.c, citadel.c, citmail.c, mailinglist.c, msgform.c,
118           netmailer.c, netpoll.c, netproc.c, rcit.c, readlog.c, setup.c,
119           stats.c, userlist.c, whobbs.c: return type of main() is int
120         * citadel.c, commands.c, messages.c: use time_t properly
121         * citserver.c: include <limits.h>
122         * config.guess, config.sub, install-sh: new files
123         * configure.in: don't use gcc on Digital Unix
124
125 Tue Sep 29 23:17:34 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
126         * room_ops.c: modified usergoto() to look at the new data structures
127           for counting new messages and such.
128
129 1998-09-29 Nathan Bryant <bryant@cs.usm.maine.edu>
130         * user_ops.c: fix compiler warning and potential memory leak,
131           include sysdep.h
132         * configure.in, Makefile.in: only build the server if we find pthreads
133         * Makefile.in: realclean removes config.{cache,log,status}
134
135 Tue Sep 29 13:20:14 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
136         * Removed code from some of the utilities which was still attempting
137           to access the old non-gdbm data store.
138         * housekeeping.c: rewrote check_ref_counts() to do a ForEachRoom()
139           traversal instead of a MAXROOMS loop.
140         * sysdep.c: set up a dummy CitContext record to be used during server
141           startup, during which time there is no real context.
142
143 Mon Sep 28 23:51:51 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
144         * Implemented the function ForEachRoom() to handle all-rooms traversal
145           (this will work with both the old and new paradigms, because both
146           use a GDBM database with one room per record).  Migrated all room
147           list commands to use it.
148
149 Mon Sep 28 22:05:35 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
150         * Implemented the function CtdlRoomAccess() to handle *all* of the
151           user-access-to-rooms functionality.  Migrated all room list commands
152           to use it.  Still need to migrate gotos.
153
154 1998-09-28 Nathan Bryant <bryant@cs.usm.maine.edu>
155         * configure.in, acconfig.h: new files; partially functional GNU
156           autoconf configure script. Run autoheader; autoconf; ./configure
157           --prefix=`pwd` to test.
158         * Makefile.tmpl: new file; this is what Makefile.in used to be. Used by
159           Configure.
160         * Makefile.in: modified to work with autoconf-style configure script
161         * Configure: modified to use Makefile.tmpl and generate autoconf-style
162           macros. Removed procfs detection. Pass -O2 to gcc, -O to other
163           compilers. Removed mknod/mkfifo detection; code should use mkfifo(3).
164         * citmail.c, msgform.c, netproc.c, routines.c, support.c, userlist.c,
165           whobbs.c: use HAVE_STRERROR macro rather than NO_STRERROR
166         * commands.c: use HAVE_TERMIOS_H macro rather than POSIX_TERMIO
167         * netproc.c: remove procfs stuff. simply attempt to kill the target
168           process with signal zero instead; this checks whether the process
169           exists.
170         * setup.c, useradmin.c: use HAVE_CURSES_H macro
171
172 Sun Sep 27 23:41:29 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
173         * BOTH the old and new generation systems are being written to at
174           this point.  Code that reads stuff is still using the old system.
175
176 Sun Sep 27 16:10:49 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
177         * Changed all "generation" variables from char to long, in preparation
178           for removing MAXROOMS.  Generations for new rooms are now timestamps.
179         * Defined "struct visit" to hold user/room relationships.
180         * Removed some #define's from citadel.h that are no longer used.
181
182 Wed Sep 23 13:41:49 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
183         * More changes to support attachments.  They mostly work, but only
184           in fixed-format messages.
185
186 Mon Sep 21 21:19:17 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
187         * msgbase.c: began laying the groundwork to support attachments.
188           Purchased Rogaine(tm) in preparation for expected hair loss.
189
190 1998-09-21 Nathan Bryant <bryant@cs.usm.maine.edu>
191         * msgbase.c: include dynloader.h
192         * citadelapi.h: removed
193         * dynloader.h: prototype CtdlRegisterUserHook()
194
195 Sun Sep 20 18:56:37 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
196         * Added a UserFunctionHook category to implement hooks which perform
197           operations on various users or usernames
198
199 Fri Sep 18 21:14:41 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
200         * citserver.c: removed cmd_extn() and related code
201
202 1998-09-18 Nathan Bryant <bryant@cs.usm.maine.edu>
203         * user_ops.c: include dynloader.h
204         * roomstats.{c,mk}: removed
205         * Configure, Makefile.in: autodependency-related fixes
206
207 Thu Sep 17 22:55:29 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
208         * Various changes to allow "new messages" to work correctly with Mail
209
210 Thu Sep 17 22:21:45 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
211         * server.h, dynloader.c, citserver.c, user_ops.c: reduced the number
212           of hook types by inventing an EventType field to the Session hook.
213         * proxy.c: added pre-fetching
214
215 1998-09-17 Nathan Bryant <bryant@cs.usm.maine.edu>
216         * Makefile.in: add SERV_MODULES and PROXY_TARGETS to `cleaner'
217         * dynloader.[ch], serv_{chat,test}.[ch], sysdep.c: cleaned
218           up the dynamic loader interface as follows:
219           - all the symbol table stuff is gone.
220           - modules are loaded once at server startup and never unloaded.
221           - Added a new function CtdlRegisterProtoHook() to handle the stuff
222             that was being done with the symbol tables.
223           - Dynamic_Module_Init() now returns a pointer to a static struct
224             DLModule_Info; this structure itself has been modified to use char*
225             fields instead of fixed char arrays.
226         * roomstats.c: include <stdarg.h> not <stdargs.h> (is this file still
227           in use?)
228         * Configure, Makefile.in: added autodependency support
229
230 Wed Sep 16 22:25:13 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
231         * Implemented separate structs, lists, and functions for each type
232           of server-side hook available.
233
234 1998-09-16 Nathan Bryant <bryant@cs.usm.maine.edu>
235         * ipc_c_tcp.c: Fixed up some #include/prototyping stuff, call memcpy()
236           instead of bcopy()
237         * hooks.h: removed
238         * sysdep.c, user_ops.c: removed reference to hooks.h
239
240 Wed Sep 16 11:42:42 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
241         * ipc_c_tcp.c: Reversed any changes that have been made to this file,
242           because something was causing abominally slow response time.
243         * proxy.c: added.  This will eventually become a caching, pre-fetching
244           multiuser proxy server for the Citadel protocol.
245
246 1998-09-15 Nathan Bryant <bryant@cs.usm.maine.edu>
247         * Makefile.in: remove support.o from serv_chat.so, add -fPIC to compile
248           flags for serv_chat.o
249         * dynloader.c: include "sysdep_decls.h", use RTLD_NOW not RTLD_LAZY
250         * dynloader.h: prototype CtdlRegisterHook()
251         * .cvsignore: added data
252
253 Mon Sep 14 20:49:08 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
254         * Tried my hand at adding the ability for server extensions to
255           register various types of "hooks" in addition to just adding
256           server commands.  This is probably not final.
257
258 Tue Sep  8 12:11:56 EDT 1998 Brian Costello <btx@calyx.net>
259         * Added support for dynamic server modules.  Reworked serv_chat.c
260           to be such a module.
261
262 Tue Sep  1 23:09:50 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
263         * userpurge.c: rewrote using functions from the server core, rather
264           than the now-defunct external API.  This'll be ready once the module
265           loading code is done.  (I just had to commit _something_ tonight.)
266
267 Mon Aug 31 22:47:58 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
268         * Yanked the citadelapi.c module.  This wasn't working out well.
269         * techdocs/citadelapi.txt - began documenting the new API to be used
270           by modules which will be dynamic linked into the server - most of
271           this API is existing server functions.
272         * Added a ForEachUser() function with callback mechanism, and reworked
273           cmd_list() to use it.
274
275 Sun Aug 30 21:52:43 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
276         * Moved all of the gdbm databases to a separate "data" directory.
277
278 1998-08-26 Nathan Bryant <bryant@cs.usm.maine.edu>
279         * Makefile.in: realclean removes Makefile, fixed `touch citadel.h'
280           problem
281
282 1998-08-25 Nathan Bryant <bryant@cs.usm.maine.edu>
283         * room_ops.c: include time.h
284         * userlist.c, whobbs.c, serv_chat.c, user_ops.c, sysdep.c, stats.c,
285           citadel_decls.h, commands.c, messages.h, routines.h, routines2.h:
286           remove duplicated declarations
287
288 Mon Aug 24 23:45:01 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
289         * setup.c: Removed yesno_s()
290         * citadel.h, room_ops.c: added QRmtime field to struct quickroom,
291           modified whenever a room is modified or posted in.
292         * citadelapi.c: Added CtdlForEachRoom() function
293
294 Mon Aug 24 20:04:04 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
295         * Makefile.in: new target `cleaner' does the same as `realclean' 
296           without removing sysdep.h
297         * proto.h: is bad. eliminate. I've moved the prototypes into several
298           header files, one per .c file
299
300 Mon Aug 24 00:45:55 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
301         * Added a CtdlGotoRoom() function to the CitadelAPI.
302  
303 Sun Aug 23 21:47:00 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
304         * sysoputil is finally dead!  Removed it from the build.
305         * Added userpurge.c server extension (initial implementation)
306
307 Tue Aug 18 00:42:33 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
308         * Makefile.in: `clean' target no longer rm's sysdep.h; new target
309           `realclean' removes everything clean does, plus sysdep.h, plus
310           target binaries.
311         * Configure: add -Wstrict-prototypes to CFLAGS for gcc systems
312         * *.[ch]: protoized. Added several new header files containing
313           prototypes and other external declarations; many duplicated
314           declarations still should be moved to header files. proto.h must die
315           as well, IMHO.
316
317 Mon Aug 17 23:52:13 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
318         * Implemented a bunch of user account related functions in the
319           CitadelAPI library.
320
321 Mon Aug 17 20:01:18 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
322         * Fixed the crash problem.  It wasn't AGUP/ASUP, but rather a buffer
323           overrun in getuser() (thanks, Nathan).  Implemented overrun checks
324           in getuser(), getroom(), and getfloor() to prevent future problems.
325
326 Mon Aug 17 00:06:52 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
327         * Updated citmail.c with the latest stuff from the production system.
328         * Implemented AGUP and ASUP commands, but AGUP crashes the server
329           after its first successful use (user-not-found's don't affect it).
330
331 Thu Aug  6 19:25:01 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
332         * Got the CitadelAPI library to the point where the server can start
333           up an extension, and the extension will connect to the server, do
334           some initialization, call a user-supplied CtdlMain(), and exit.  Also
335           hacked together a _temporary_ form of the new EXTN server command.
336  
337 Wed Aug  5 23:02:22 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
338         * Second attempt at getting the server API started.  Now it runs
339           outside of the server and builds a connection.
340
341 Tue Aug  4 18:33:06 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
342         * Modified the appearance of Internet addresses when they arrive on
343           a Citadel system.
344         * Removed the <E> field from the message format writeup in hack.txt.
345         * Fixed-up citmail.c so that it doesn't try to do database lookups.
346
347 Mon Aug  3 23:01:37 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
348         * Started developing the server-side API.  This is in its very
349           initial stages.  See serverapi.c and techdoc/api.txt
350
351 1998-08-02  Nathan Bryant  <bryant@cs.usm.maine.edu>
352         * Makefile.in: added config_decls.h to dependencies
353
354 Sun Aug  2 21:09:09 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
355         * config_defs.h: renamed to config_decls.h
356         * config.c, sysoputil.c: updated to reflect the above
357
358 Sun Aug  2 18:52:05 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
359         * config_defs.h: new file, contains external declarations from config.c
360         * config.c: moved defs to config_defs.h, use PATH_MAX from <limits.h>
361           for bbs_home_directory
362         * mailinglist.c, support.c: include <string.h>
363         * sysoputil.c: include <string.h>, <limits.h>, "config_defs.h", remove
364           duplicated defs, replace gets() call with fgets()
365         * user_ops.c: define _XOPEN_SOURCE_EXTENDED
366
367 Sat Aug  1 18:32:52 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
368         * ipc_c_tcp.c: fixed order of memcpy parameters after gethostbyname
369
370 Sun Jul 19 17:26:12 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
371         * ChangeLog: reordered; the GNU standard is to add new entries to the
372           top.
373         * .cvsignore: added userlist
374
375 Sun Jul 12 20:58:59 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
376         * Finished migrating everything to the new data store.
377         * Replaced the binary "calllog" with the ASCII "citadel.log"
378         * Began converting broken utilities that depend on the old data store
379
380 Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
381         * Makefile.in: removed msgstats
382
383 Fri Jul 10 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
384         * Initial CVS import