Art Cancro [Sat, 17 Nov 2001 19:55:09 +0000 (19:55 +0000)]
* Updated some of the documentation
Art Cancro [Fri, 16 Nov 2001 04:43:13 +0000 (04:43 +0000)]
* Eliminated the sock_puts_crlf() function and ensured that all SMTP client
commands are sent out using a single sock_write() call. There are broken
SMTP server implementations that can't handle SMTP commands split across
multiple writes. (Thanks to Andru Luvisi and Ben Mehlman for the idea.)
Art Cancro [Thu, 15 Nov 2001 04:11:31 +0000 (04:11 +0000)]
* hack.doc: updated to reflect Cit86Net compatibility fields removed from the
file format (since we dumbed down the gateway software)
* ipc_c_tcp.c: removed SOCKS4 support. Nobody uses it anymore.
* ipc_c_tcp.c: fixed a bug which caused the client to fall back to defaultPort
if a numeric port number was specified instead of a service name
Art Cancro [Wed, 14 Nov 2001 03:20:22 +0000 (03:20 +0000)]
* Add some more of the newer config settings to the site config screen
Art Cancro [Wed, 14 Nov 2001 03:01:44 +0000 (03:01 +0000)]
* doco update
Art Cancro [Wed, 14 Nov 2001 02:59:02 +0000 (02:59 +0000)]
* Network run frequency is now a site-definable setting
Art Cancro [Tue, 13 Nov 2001 22:05:23 +0000 (22:05 +0000)]
* Re-introduced the ability to enter IGnet mail into the system.
Nathan Bryant [Mon, 5 Nov 2001 23:52:32 +0000 (23:52 +0000)]
really important change.
Nathan Bryant [Mon, 5 Nov 2001 23:51:13 +0000 (23:51 +0000)]
added some echos to display progress
Art Cancro [Mon, 29 Oct 2001 23:06:45 +0000 (23:06 +0000)]
* More of the same
Art Cancro [Mon, 29 Oct 2001 22:59:23 +0000 (22:59 +0000)]
* Renamed "SuppMsgInfo" to "MetaData" because that's what it is
Art Cancro [Mon, 29 Oct 2001 22:56:12 +0000 (22:56 +0000)]
* remove old config files
Art Cancro [Mon, 29 Oct 2001 16:39:54 +0000 (16:39 +0000)]
* Finished the migratenet utility (finally).
Art Cancro [Sun, 28 Oct 2001 05:18:51 +0000 (05:18 +0000)]
* migratenet almost finished
Art Cancro [Fri, 26 Oct 2001 04:26:45 +0000 (04:26 +0000)]
* more work on the net migrator
Art Cancro [Tue, 23 Oct 2001 03:37:34 +0000 (03:37 +0000)]
* Threw a few more lines of code into migratenet.c
Art Cancro [Sat, 20 Oct 2001 18:10:50 +0000 (18:10 +0000)]
* migratenet.c: added (not even close to being finished)
Nathan Bryant [Wed, 17 Oct 2001 21:07:20 +0000 (21:07 +0000)]
further format string cleanups (for i686-linux type sizes)
Nathan Bryant [Wed, 17 Oct 2001 20:41:08 +0000 (20:41 +0000)]
- declare *printf format specifiers if gcc detected
- format string fixes (compiles w/o warnings on alpha osf/1)
Nathan Bryant [Wed, 17 Oct 2001 19:40:39 +0000 (19:40 +0000)]
warning fixes and cleanups for 64-bit machines
Nathan Bryant [Tue, 16 Oct 2001 20:47:37 +0000 (20:47 +0000)]
- backed out -export-dynamic, it doesn't do anything and i've found the real
problem
- remove declaration for make_message
Nathan Bryant [Tue, 16 Oct 2001 19:31:48 +0000 (19:31 +0000)]
tweaked explanatory text
Nathan Bryant [Tue, 16 Oct 2001 19:18:49 +0000 (19:18 +0000)]
backed out that compiler detection change for Tru64. it's not incredibly
important and results in broken autoconf macro expansions.
Nathan Bryant [Tue, 16 Oct 2001 18:48:26 +0000 (18:48 +0000)]
*** empty log message ***
Nathan Bryant [Tue, 16 Oct 2001 18:36:33 +0000 (18:36 +0000)]
reinstate -export-dynamic for citserver in case libtool decides to build
static libraries (why?)
Nathan Bryant [Tue, 16 Oct 2001 18:21:53 +0000 (18:21 +0000)]
add some explanatory text to bootstrap
Nathan Bryant [Tue, 16 Oct 2001 18:16:06 +0000 (18:16 +0000)]
In order to avoid version inconsistency problems between different
developers' libtool installations, I have removed aclocal.m4 from the CVS
repository and set the bootstrap script to build this file with aclocal.
This requires that automake is installed, but only during the bootstrap
phase, and it probably doesn't require any particular version of automake.
Nathan Bryant [Tue, 16 Oct 2001 17:43:53 +0000 (17:43 +0000)]
- further configure tweaks for FreeBSD and Tru64 Unix
- updated to latest libtool configure fragment
- there are two functions named make_message. (?) so declare them both
static.
Nathan Bryant [Tue, 16 Oct 2001 01:48:55 +0000 (01:48 +0000)]
- configury tweaks for a /usr/include/db3 goof and Digital/Tru64 Unix
- #ifdef out inline on non-GCC compilers
Art Cancro [Mon, 15 Oct 2001 19:50:50 +0000 (19:50 +0000)]
* Fixed a bug in the loopzapper that was corrupting the use table saved copy.
* Post notification in Aide> when the loopzapper catches a message.
Art Cancro [Fri, 12 Oct 2001 22:41:11 +0000 (22:41 +0000)]
* Wrote the rest of the use table code. Finished except for a bug.
Art Cancro [Fri, 12 Oct 2001 20:16:42 +0000 (20:16 +0000)]
* Started writing the Use Table code for the new networker
Art Cancro [Wed, 10 Oct 2001 18:35:12 +0000 (18:35 +0000)]
* Comments & cosmetics for previous update
Art Cancro [Wed, 10 Oct 2001 17:14:26 +0000 (17:14 +0000)]
* fix the ma_info struct
Art Cancro [Wed, 10 Oct 2001 17:12:54 +0000 (17:12 +0000)]
* Bugfix for MSG0 command to properly handle multipart/alternative
Art Cancro [Sat, 6 Oct 2001 21:32:29 +0000 (21:32 +0000)]
* Finished the concurrency check for network polling. (Now works both for
polling and being polled. Severe UUCP deja vu.)
Art Cancro [Sat, 6 Oct 2001 20:28:52 +0000 (20:28 +0000)]
* remove rcit.c
Art Cancro [Sat, 6 Oct 2001 20:28:06 +0000 (20:28 +0000)]
* Began implementing some concurrency stuff for the networker
Art Cancro [Sat, 6 Oct 2001 20:20:25 +0000 (20:20 +0000)]
* network_talking_to()
Art Cancro [Sat, 6 Oct 2001 19:51:48 +0000 (19:51 +0000)]
* Stripped the build of obsolete parts of the old networker no longer in use.
Art Cancro [Wed, 3 Oct 2001 20:05:50 +0000 (20:05 +0000)]
* serv_smtp.c: implement RFC2920 ESMTP "pipelining" extension on the server
side. (No changes required other than advertising the extension.)
Art Cancro [Wed, 3 Oct 2001 03:15:16 +0000 (03:15 +0000)]
* Implemented BOUNCE BOUNCE BOUNCE
Art Cancro [Tue, 2 Oct 2001 03:04:30 +0000 (03:04 +0000)]
* Allow non-Aides to terminate sessions belonging to them
Art Cancro [Tue, 25 Sep 2001 03:34:09 +0000 (03:34 +0000)]
* Fix for WebCit servers running on port 80: detect Windoze worm-of-the-week
and bail out without bothering the Citadel server.
Art Cancro [Mon, 24 Sep 2001 18:55:13 +0000 (18:55 +0000)]
* Completed migrating the "netpoll" utility into the serv_network module.
Removed this utility.
Nathan Bryant [Fri, 21 Sep 2001 20:58:25 +0000 (20:58 +0000)]
support different log_archive prototype in DB versions prior to 3.3
Art Cancro [Thu, 20 Sep 2001 04:17:10 +0000 (04:17 +0000)]
* Inbound network authentication working. Fixed a bug in the split-horizon
algorithm. Still need to move the 'netpoll' command into the server.
Art Cancro [Tue, 18 Sep 2001 04:05:05 +0000 (04:05 +0000)]
* Added host/IP and port to node config (client side only)
Art Cancro [Mon, 17 Sep 2001 23:55:45 +0000 (23:55 +0000)]
* Support for IGnet routing (not tested)
Art Cancro [Sun, 16 Sep 2001 05:44:52 +0000 (05:44 +0000)]
* serv_smtp.c: instead of doubling delivery retry times unbounded, set a
maximum retry time of SMTP_RETRY_MAX (currently set to 12 hours)
Brian [Fri, 14 Sep 2001 19:56:08 +0000 (19:56 +0000)]
* Fixed handling of ASYN messages, I think.
- If no callback has been registered for a particular command, the _CxClRecv()
command will actively skip all of the ASYN message (not sure if this works
correctly for _all_ messages... will wait and see)
* Fixed delivery of express messages. Misunderstood protocol.
! Need to detect server capabilities and use old-style SEXP when necessary! At
present, libCxClient is incompatible with older servers. This, I assume, is a
bad thing.
Brian [Mon, 10 Sep 2001 22:40:39 +0000 (22:40 +0000)]
* MAJOR BUG: Memory leaks and protocol misimplementations in misc.c (related
to Express Messaging). UGH!
* GAMEPLAN: Fix the problems with the RC_901 handler. Try not to weep.
Then, re-package sources and push to web.
Brian [Mon, 10 Sep 2001 13:11:31 +0000 (13:11 +0000)]
* Added missing files.
Brian [Mon, 10 Sep 2001 13:10:46 +0000 (13:10 +0000)]
* Updated revision to reflect major API changes. Now at 0.20-RELEASE.
Michael Hampton [Sun, 9 Sep 2001 16:19:29 +0000 (16:19 +0000)]
* Updated PAM configuration file citadel.pam for Red Hat 7.x.
Art Cancro [Sun, 9 Sep 2001 03:19:38 +0000 (03:19 +0000)]
* cdb_cull_logs() now removes log files as soon as the log_archive() function
says it's ok to do so.
Art Cancro [Sat, 8 Sep 2001 18:58:38 +0000 (18:58 +0000)]
* More changes to the new networker. Added client command for room sharing.
Art Cancro [Fri, 7 Sep 2001 04:05:27 +0000 (04:05 +0000)]
* You guessed it: still more code for the new networker.
Nathan Bryant [Thu, 6 Sep 2001 05:52:32 +0000 (05:52 +0000)]
versioning
Nathan Bryant [Thu, 6 Sep 2001 05:47:30 +0000 (05:47 +0000)]
check for /usr/include/db3 (for RedHat 6.2; others?)
Nathan Bryant [Thu, 6 Sep 2001 05:23:14 +0000 (05:23 +0000)]
#include fix for glibc 2.1.3
Art Cancro [Thu, 6 Sep 2001 04:02:34 +0000 (04:02 +0000)]
* A few more updates to the networker
Nathan Bryant [Thu, 6 Sep 2001 03:32:41 +0000 (03:32 +0000)]
build fix for sparc-sun-solaris2.8; i think the dependencies should be
set up properly for all platforms now.
Nathan Bryant [Thu, 6 Sep 2001 02:55:27 +0000 (02:55 +0000)]
build fix for Linux
Nathan Bryant [Thu, 6 Sep 2001 02:50:05 +0000 (02:50 +0000)]
added; moved main() here to support building the server body as a DLL
Art Cancro [Thu, 6 Sep 2001 02:49:24 +0000 (02:49 +0000)]
* Fixed paste-post mode (<.E>nter <A>scii) to append instead of replace when
the user hits <C>ontinue (bug reported by Stu Mark)
Nathan Bryant [Thu, 6 Sep 2001 01:26:40 +0000 (01:26 +0000)]
- port to Cygwin (DLL support, etc.)
- don't build SMTP module if there's no resolver library (eg on Windows)
Nathan Bryant [Thu, 6 Sep 2001 00:54:01 +0000 (00:54 +0000)]
updated to libtool 1.4.1 and automake 1.5
Art Cancro [Wed, 29 Aug 2001 02:51:25 +0000 (02:51 +0000)]
* More work on the new networker.
Art Cancro [Sat, 25 Aug 2001 05:04:57 +0000 (05:04 +0000)]
* Worked a little more on the in-server replacement for netproc
Brian [Thu, 23 Aug 2001 13:14:53 +0000 (13:14 +0000)]
* Changed type on CxMsLoad() from (const char *) to (long unsigned int) to
make things more intuitive (and less apt for failure)
* Vastly improved library interface, removed plenty of memory leaks.
* Library _should_ be thread-safe, but I haven't tested it. If anyone's
brave, they're welcome to.
* Library is almost completely stable now. At this point, I am blaming
most of its faults on Infusion. ;)
Art Cancro [Wed, 22 Aug 2001 16:38:06 +0000 (16:38 +0000)]
* Added the "-c" command line option to generate optional cookies indicating
the host name of the server. This makes it easy to put a cluster of WebCit
servers behind (for example) an Arrowpoint load balancer.
Art Cancro [Wed, 22 Aug 2001 04:18:18 +0000 (04:18 +0000)]
* Realized that there was lots of similarly broken code in
process_rfc822_addr(). Wrote two new utility functions in tools.c
stripout() and stripallbut() and used them where appropriate. This should
take care of all possible infinite loops.
Art Cancro [Wed, 22 Aug 2001 03:43:12 +0000 (03:43 +0000)]
* internet_addressing.c: fixed a bug in process_rfc822_addr() that caused the
server to jump into an endless loop when an e-mail address contained
unbalanced angle brackets.
Art Cancro [Tue, 21 Aug 2001 04:02:56 +0000 (04:02 +0000)]
* Added some more meta-tags to (hopefully) prevent the "lame goto" caused by
unwanted page caching
Art Cancro [Wed, 15 Aug 2001 04:26:02 +0000 (04:26 +0000)]
* Added split horizon and delete-after-spool to the new networker
Art Cancro [Tue, 14 Aug 2001 02:42:00 +0000 (02:42 +0000)]
* Began the migration of netproc into part of the serv_network.c module instead
of a standalone program.
Art Cancro [Mon, 13 Aug 2001 03:43:24 +0000 (03:43 +0000)]
* Got it!
Art Cancro [Mon, 13 Aug 2001 03:40:01 +0000 (03:40 +0000)]
* Another attempt at focus
Nathan Bryant [Sat, 11 Aug 2001 22:35:40 +0000 (22:35 +0000)]
updated citadel-with-berkeley-db.txt.
- updated build instructions
- improved backup procedures to be safer and more space-efficient.
Art Cancro [Sat, 11 Aug 2001 19:18:43 +0000 (19:18 +0000)]
* Realized that I am stupid and started implementing server commands to load
and save network configurations, when I had already lovingly implemented the
CONF GETSYS and CONF PUTSYS commands to store arbitrary configuration sets
in the Local System Configuration> room. Ripped the newer crap out.
* Implemented a skeleton of <.A>ide <S>ysconfig <N>etwork on the client side.
Art Cancro [Sat, 11 Aug 2001 04:24:39 +0000 (04:24 +0000)]
* Attempt at setting focus to msgtext area when entering a message.
Art Cancro [Sat, 11 Aug 2001 03:51:56 +0000 (03:51 +0000)]
* Removed the idle timer from the client. Dialup is dead.
Nathan Bryant [Mon, 6 Aug 2001 21:33:29 +0000 (21:33 +0000)]
made the client fall back on port 504 if there's no /etc/services entry
Art Cancro [Sun, 5 Aug 2001 23:54:14 +0000 (23:54 +0000)]
* prep for new network node infrastructure
Art Cancro [Fri, 3 Aug 2001 16:53:21 +0000 (16:53 +0000)]
* Added some more "break" statements to the main switch..case loop in
citadel.c where they were needed.
Art Cancro [Fri, 3 Aug 2001 16:43:54 +0000 (16:43 +0000)]
* database_sleepycat.c: when running txn_checkpoint(), handle DB_INCOMPLETE
return code as a warning instead of an error worthy of aborting the server.
See http://www.sleepycat.com/docs/api_c/txn_checkpoint.html for explanation.
Art Cancro [Thu, 2 Aug 2001 03:42:03 +0000 (03:42 +0000)]
* Changed the wholist to work with the new masquerade semantics
Nathan Bryant [Mon, 30 Jul 2001 03:46:14 +0000 (03:46 +0000)]
made ForEachUser use a read-only cursor, too. there is now only one piece of
code in Citadel proper (not the database driver) that needs transactions.
that's check_ref_counts; in other words it's the only thing standing in the way
of a clean implementation of retryable transactions.
Nathan Bryant [Sun, 29 Jul 2001 22:24:04 +0000 (22:24 +0000)]
- added a new function to the database interface, cdb_close_cursor(). always
call this when you're finished with a traversal but didn't bother reading all
the way to the end.
- removed several cdb_begin_transaction()/cdb_end_transaction() calls that are
no longer needed because of the read-only cursor support.
Nathan Bryant [Sun, 29 Jul 2001 20:56:09 +0000 (20:56 +0000)]
change ForEachRoom to use read-only cursors by default. it can be overridden to
still use read/write cursors by doing:
cdb_begin_transaction();
ForEachRoom(...);
cdb_end_transaction();
the only place I found where it appears necessary to do so is check_ref_counts,
so this checkin affects that function too.
Nathan Bryant [Sun, 29 Jul 2001 20:06:33 +0000 (20:06 +0000)]
generate symlinks to .libs in modules directory
Art Cancro [Sat, 28 Jul 2001 23:17:19 +0000 (23:17 +0000)]
* List processing happens in two passes (load list and run list)
Nathan Bryant [Sat, 28 Jul 2001 00:02:50 +0000 (00:02 +0000)]
implemented read-only cursors. one of the advantages to these is that
transactions can be avoided; a cursor operation that occurs within a
transaction will often acquire a read lock on every single database page. in
general, the Sleepycat documentation recommends avoiding transaction-protected
read-only operations where practical. read/modify/write operations can still
be transaction protected, of course.
to use a read-only cursor, call cdb_rewind without a previous call to
cdb_begin_transaction. the DB driver will notice this and prevent the current
thread from modifying data or starting a transaction until the cursor is
closed.
Nathan Bryant [Fri, 27 Jul 2001 20:45:44 +0000 (20:45 +0000)]
libtool has matured a lot since the last time i looked at it (years ago)
so we now use it to handle the details of building shared libraries and
the linker flags for the main executable.
in theory this should bring a lot more portability to the dynloader
subsystem and enable us to do things like transparently detect GNU vs Sun
linkers on solaris, for example
Nathan Bryant [Fri, 27 Jul 2001 03:59:08 +0000 (03:59 +0000)]
fix fix
Nathan Bryant [Fri, 27 Jul 2001 03:48:16 +0000 (03:48 +0000)]
*** empty log message ***
Nathan Bryant [Fri, 27 Jul 2001 03:31:38 +0000 (03:31 +0000)]
one more try
Nathan Bryant [Fri, 27 Jul 2001 03:29:04 +0000 (03:29 +0000)]
missed one thing in the autoconf move
Nathan Bryant [Fri, 27 Jul 2001 02:57:43 +0000 (02:57 +0000)]
support one cursor per database rather than one global cursor