X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/b57f37fb6a4d30ac9aaba3bbca06f5a3307c804a..255130dde8eed921fea4b23786a5743fbd50cbda:/libratbox/ChangeLog diff --git a/libratbox/ChangeLog b/libratbox/ChangeLog index f70226c..260b7ff 100644 --- a/libratbox/ChangeLog +++ b/libratbox/ChangeLog @@ -1,3 +1,1165 @@ +androsyn 2008/12/13 03:36:00 UTC (20081213_1-26296) + Log: + fix a gnutls related double free + + Modified: + libratbox/trunk/src/gnutls.c (File Modified) + + +androsyn 2008/12/13 03:01:19 UTC (20081213_0-26294) + Log: + shut up gcc warnings regarding can_do_timerd + + Modified: + libratbox/trunk/src/epoll.c (File Modified) + + +androsyn 2008/12/10 23:28:53 UTC (20081210_10-26286) + Log: + make ports work properly + + Modified: + libratbox/trunk/src/ports.c (File Modified) + + +androsyn 2008/12/10 20:33:21 UTC (20081210_9-26282) + Log: + tweak the ssl info output a bit + + Modified: + libratbox/trunk/src/gnutls.c (File Modified) + libratbox/trunk/src/openssl.c (File Modified) + libratbox/trunk/src/ratbox_lib.c (File Modified) + + +androsyn 2008/12/10 20:25:29 UTC (20081210_8-26280) + Log: + report ssl info in the libratbox version + + Modified: + libratbox/trunk/include/commio-ssl.h (File Modified) + libratbox/trunk/src/gnutls.c (File Modified) + libratbox/trunk/src/nossl.c (File Modified) + libratbox/trunk/src/openssl.c (File Modified) + libratbox/trunk/src/ratbox_lib.c (File Modified) + + +androsyn 2008/12/10 06:45:54 UTC (20081210_7-26276) + Log: + these rb_set_time calls aren't needed i don't think + + Modified: + libratbox/trunk/src/epoll.c (File Modified) + + +androsyn 2008/12/10 06:24:47 UTC (20081210_6-26274) + Log: + fix signalfd stuff for ultrasparc linux.... + + Modified: + libratbox/trunk/src/epoll.c (File Modified) + + +androsyn 2008/12/10 05:55:10 UTC (20081210_5-26272) + Log: + fix some epoll related timer stuff + + Modified: + libratbox/trunk/include/event-int.h (File Modified) + libratbox/trunk/src/epoll.c (File Modified) + libratbox/trunk/src/event.c (File Modified) + + +androsyn 2008/12/10 04:08:39 UTC (20081210_4-26260) + Log: + Rebuild configure and friends with autoconf 2.63 + + + + Modified: + libratbox/trunk/Makefile.in (File Modified) + libratbox/trunk/aclocal.m4 (File Modified) + libratbox/trunk/configure (File Modified) + libratbox/trunk/configure.ac (File Modified) + libratbox/trunk/include/libratbox_config.h.in (File Modified) + libratbox/trunk/src/Makefile.in (File Modified) + + +androsyn 2008/12/10 04:06:12 UTC (20081210_3-26258) + Log: + add a missing part of the ports timer commit + + Modified: + libratbox/trunk/include/commio-int.h (File Modified) + + +androsyn 2008/12/10 04:05:26 UTC (20081210_2-26256) + Log: + remove a duplicate prototype + + Modified: + libratbox/trunk/include/ratbox_lib.h (File Modified) + + +androsyn 2008/12/10 04:04:38 UTC (20081210_1-26254) + Log: + fix ports and devpoll and add timer support to ports + + Modified: + libratbox/trunk/src/commio.c (File Modified) + libratbox/trunk/src/devpoll.c (File Modified) + libratbox/trunk/src/ports.c (File Modified) + + +androsyn 2008/12/10 04:03:09 UTC (20081210_0-26252) + Log: + change SSL_CTX_use_certificate_file to SSL_CTX_use_certificate_chain_file + + Modified: + libratbox/trunk/src/openssl.c (File Modified) + + +androsyn 2008/11/23 17:13:19 UTC (20081123_1-26240) + Log: + revert that last change + + Modified: + libratbox/trunk/src/epoll.c (File Modified) + + +androsyn 2008/11/23 17:04:29 UTC (20081123_0-26238) + Log: + ifdef can_do_timerfd to avoid a compile time warning + + Modified: + libratbox/trunk/src/epoll.c (File Modified) + + +androsyn 2008/11/11 00:00:12 UTC (20081111_0-26180) + Log: + fix build errors on os x leopard + + Modified: + libratbox/trunk/src/unix.c (File Modified) + + +androsyn 2008/11/07 02:10:19 UTC (20081107_0-26178) + Log: + untested fix for building on os x -- environ is not accessible to shared libraries... + + Modified: + libratbox/trunk/src/unix.c (File Modified) + + +androsyn 2008/10/26 20:59:07 UTC (20081026_2-26170) + Log: + add rb_basename and rb_dirname + + Modified: + libratbox/trunk/include/rb_tools.h (File Modified) + libratbox/trunk/src/export-syms.txt (File Modified) + libratbox/trunk/src/tools.c (File Modified) + + +androsyn 2008/10/26 20:58:40 UTC (20081026_1-26168) + Log: + remove -O0 from configure.ac and configure + + Modified: + libratbox/trunk/configure (File Modified) + libratbox/trunk/configure.ac (File Modified) + + +androsyn 2008/10/26 20:48:56 UTC (20081026_0-26166) + Log: + do an ERR_get_error() if opening the dhparams file fails + + Modified: + libratbox/trunk/src/openssl.c (File Modified) + + +androsyn 2008/10/03 18:02:13 UTC (20081003_0-26126) + Log: + fix up the timerfd autoconf stuff a bit better + + Modified: + libratbox/trunk/acinclude.m4 (File Modified) + libratbox/trunk/configure (File Modified) + + +androsyn 2008/09/29 22:58:42 UTC (20080929_0-26122) + Log: + fix the timerfd_create check + + Modified: + libratbox/trunk/acinclude.m4 (File Modified) + libratbox/trunk/configure (File Modified) + + +androsyn 2008/09/20 01:27:19 UTC (20080920_1-26100) + Log: + properly cast a few things when doing pointer math and the like + + Modified: + libratbox/trunk/src/balloc.c (File Modified) + libratbox/trunk/src/openssl.c (File Modified) + + +androsyn 2008/09/20 01:05:42 UTC (20080920_0-26096) + Log: + make rb_close_all be a no-op on win32, its not too useful there either as windows doesn't inherit sockets/files by default + + Modified: + libratbox/trunk/src/commio.c (File Modified) + + +androsyn 2008/09/19 15:13:52 UTC (20080919_0-26092) + Log: + update indent.pro and rerun through indent + + Modified: + libratbox/trunk/.indent.pro (File Modified) + libratbox/trunk/include/arc4random.h (File Modified) + libratbox/trunk/include/commio-int.h (File Modified) + libratbox/trunk/include/commio-ssl.h (File Modified) + libratbox/trunk/include/rb_balloc.h (File Modified) + libratbox/trunk/include/rb_commio.h (File Modified) + libratbox/trunk/include/rb_event.h (File Modified) + libratbox/trunk/include/rb_helper.h (File Modified) + libratbox/trunk/include/rb_linebuf.h (File Modified) + libratbox/trunk/include/rb_memory.h (File Modified) + libratbox/trunk/include/rb_patricia.h (File Modified) + libratbox/trunk/include/rb_rawbuf.h (File Modified) + libratbox/trunk/include/rb_snprintf.h (File Modified) + libratbox/trunk/include/rb_tools.h (File Modified) + libratbox/trunk/src/arc4random.c (File Modified) + libratbox/trunk/src/balloc.c (File Modified) + libratbox/trunk/src/commio.c (File Modified) + libratbox/trunk/src/crypt.c (File Modified) + libratbox/trunk/src/devpoll.c (File Modified) + libratbox/trunk/src/epoll.c (File Modified) + libratbox/trunk/src/event.c (File Modified) + libratbox/trunk/src/gnutls.c (File Modified) + libratbox/trunk/src/helper.c (File Modified) + libratbox/trunk/src/kqueue.c (File Modified) + libratbox/trunk/src/linebuf.c (File Modified) + libratbox/trunk/src/nossl.c (File Modified) + libratbox/trunk/src/openssl.c (File Modified) + libratbox/trunk/src/patricia.c (File Modified) + libratbox/trunk/src/poll.c (File Modified) + libratbox/trunk/src/ports.c (File Modified) + libratbox/trunk/src/ratbox_lib.c (File Modified) + libratbox/trunk/src/rawbuf.c (File Modified) + libratbox/trunk/src/rb_memory.c (File Modified) + libratbox/trunk/src/select.c (File Modified) + libratbox/trunk/src/sigio.c (File Modified) + libratbox/trunk/src/snprintf.c (File Modified) + libratbox/trunk/src/tools.c (File Modified) + libratbox/trunk/src/unix.c (File Modified) + libratbox/trunk/src/win32.c (File Modified) + + +androsyn 2008/09/18 18:56:55 UTC (20080918_1-26088) + Log: + on win32 add randomness from RtlGenRandom if its available + + Modified: + libratbox/trunk/src/arc4random.c (File Modified) + + +androsyn 2008/09/18 18:41:19 UTC (20080918_0-26086) + Log: + add timerfd_create support on linux with glibc 2.8 + + Modified: + libratbox/trunk/acinclude.m4 (File Modified) + libratbox/trunk/configure (File Modified) + libratbox/trunk/configure.ac (File Modified) + libratbox/trunk/include/libratbox_config.h.in (File Modified) + libratbox/trunk/src/Makefile.in (File Modified) + libratbox/trunk/src/epoll.c (File Modified) + libratbox/trunk/src/version.c.SH (File Modified) + + +androsyn 2008/09/15 15:47:42 UTC (20080915_0-26082) + Log: + cast svptr a bit harder to deal with 32bit systems. Also use sizeof our_signalfd_siginfo. + + Modified: + libratbox/trunk/src/epoll.c (File Modified) + + +jilles 2008/09/14 22:24:27 UTC (20080914_0-26078) + Log: + Fix infinite recursion crash on non-win32. + + + Modified: + libratbox/trunk/src/unix.c (File Modified) + + +androsyn 2008/09/10 01:45:22 UTC (20080910_1-26072) + Log: + fix a typo + + Modified: + libratbox/trunk/src/select.c (File Modified) + + +androsyn 2008/09/10 00:23:41 UTC (20080910_0-26068) + Log: + attempt to override FD_SETSIZE for select and if rb_maxconnections is greater than FD_SETSIZE, lower rb_maxconnections. Also prefer select to win32 + + Modified: + libratbox/trunk/src/commio.c (File Modified) + libratbox/trunk/src/select.c (File Modified) + + +androsyn 2008/09/09 22:58:11 UTC (20080909_8-26066) + Log: + actually make that use BIO_new_file + + Modified: + libratbox/trunk/src/openssl.c (File Modified) + + +androsyn 2008/09/09 22:19:14 UTC (20080909_7-26064) + Log: + avoid using FILE with openssl as this causes openssl to need OPENSSL_applink on some platforms which is annoying + + Modified: + libratbox/trunk/src/openssl.c (File Modified) + + +androsyn 2008/09/09 17:08:10 UTC (20080909_6-26060) + Log: + those symbols don't exist..oops + + Modified: + libratbox/trunk/src/export-syms.txt (File Modified) + + +androsyn 2008/09/09 17:05:19 UTC (20080909_5-26058) + Log: + move that down a little + + Modified: + libratbox/trunk/src/unix.c (File Modified) + + +androsyn 2008/09/09 16:47:03 UTC (20080909_4-26052) + Log: + change ifdef WIN32 to _WIN32 + + Modified: + libratbox/trunk/include/commio-int.h (File Modified) + libratbox/trunk/include/ratbox_lib.h (File Modified) + libratbox/trunk/include/rb_commio.h (File Modified) + libratbox/trunk/src/balloc.c (File Modified) + libratbox/trunk/src/commio.c (File Modified) + libratbox/trunk/src/helper.c (File Modified) + libratbox/trunk/src/openssl.c (File Modified) + libratbox/trunk/src/unix.c (File Modified) + libratbox/trunk/src/win32.c (File Modified) + + +androsyn 2008/09/09 16:40:19 UTC (20080909_3-26048) + Log: + - Implement fd passing for win32 so that ssld will work on there. + - Add a few symbols to the library for portability issues + Note that this commit changes the API for rb_send_fd_buf as it now + also takes a pid option as this is needed on windows. This process + id should be the target process. Note that unix will just ignore + this. + + + + Modified: + libratbox/trunk/Makefile.in (File Modified) + libratbox/trunk/include/ratbox_lib.h (File Modified) + libratbox/trunk/include/rb_commio.h (File Modified) + libratbox/trunk/src/commio.c (File Modified) + libratbox/trunk/src/export-syms.txt (File Modified) + libratbox/trunk/src/helper.c (File Modified) + libratbox/trunk/src/unix.c (File Modified) + libratbox/trunk/src/win32.c (File Modified) + + +androsyn 2008/09/09 16:37:30 UTC (20080909_2-26046) + Log: + pass libraries to LDFLAGS as well + + Modified: + libratbox/trunk/src/Makefile.am (File Modified) + libratbox/trunk/src/Makefile.in (File Modified) + + +androsyn 2008/09/09 16:36:15 UTC (20080909_1-26044) + Log: + make SSL_LIBS actually pass the path to the openssl libraries + + Modified: + libratbox/trunk/configure (File Modified) + libratbox/trunk/configure.ac (File Modified) + + +androsyn 2008/09/09 14:40:41 UTC (20080909_0-26036) + Log: + make that an ifdef + + Modified: + libratbox/trunk/src/commio.c (File Modified) + + +androsyn 2008/09/08 16:54:58 UTC (20080908_1-26034) + Log: + add a datagram socketpair for platforms that don't have it..mostly based on what is in perl for this + + Modified: + libratbox/trunk/src/commio.c (File Modified) + + +androsyn 2008/09/08 16:53:53 UTC (20080908_0-26032) + Log: + make rb_strerror be char instead of const char + + Modified: + libratbox/trunk/include/ratbox_lib.h (File Modified) + + +androsyn 2008/09/05 23:44:06 UTC (20080905_1-26022) + Log: + fix the define of the fake rb_sockaddr_storage so that m4 does not eat up our [ ] + + Modified: + libratbox/trunk/configure (File Modified) + libratbox/trunk/configure.ac (File Modified) + + +androsyn 2008/09/05 18:19:25 UTC (20080905_0-26012) + Log: + revert part of r25994 + + Modified: + libratbox/trunk/configure (File Modified) + libratbox/trunk/configure.ac (File Modified) + + +androsyn 2008/09/04 21:43:03 UTC (20080904_3-26008) + Log: + change hard asserts to call both the soft assert code and the C library assert so that it gets in the ircd log files as well + + Modified: + libratbox/trunk/include/ratbox_lib.h (File Modified) + + +androsyn 2008/09/04 19:32:55 UTC (20080904_2-26000) + Log: + If somebody really wants to do profiling work..they can change rb_close_all the hard way. Also stop doing the weird stderr.log hack in libratbox let callers deal with stderr on their own + + Modified: + libratbox/trunk/src/commio.c (File Modified) + + +androsyn 2008/09/04 16:08:27 UTC (20080904_1-25998) + Log: + add missing rb_strerror prototypes + + Modified: + libratbox/trunk/include/ratbox_lib.h (File Modified) + libratbox/trunk/src/unix.c (File Modified) + libratbox/trunk/src/win32.c (File Modified) + + +androsyn 2008/09/04 15:06:21 UTC (20080904_0-25994) + Log: + some portability cleanups + + Modified: + libratbox/trunk/aclocal.m4 (File Modified) + libratbox/trunk/config.guess (File Modified) + libratbox/trunk/config.sub (File Modified) + libratbox/trunk/configure (File Modified) + libratbox/trunk/configure.ac (File Modified) + libratbox/trunk/include/arc4random.h (File Modified) + libratbox/trunk/include/libratbox_config.h.in (File Modified) + libratbox/trunk/include/ratbox_lib.h (File Modified) + libratbox/trunk/ltmain.sh (File Modified) + libratbox/trunk/src/Makefile.in (File Modified) + libratbox/trunk/src/commio.c (File Modified) + libratbox/trunk/src/export-syms.txt (File Modified) + libratbox/trunk/src/helper.c (File Modified) + libratbox/trunk/src/nossl.c (File Modified) + libratbox/trunk/src/unix.c (File Modified) + libratbox/trunk/src/win32.c (File Modified) + + +androsyn 2008/09/03 00:20:22 UTC (20080903_0-25992) + Log: + change the event stuff to just strndup the event name + + Modified: + libratbox/trunk/include/event-int.h (File Modified) + libratbox/trunk/src/event.c (File Modified) + + +androsyn 2008/09/02 21:40:49 UTC (20080902_0-25990) + Log: + fix makefile on bsd make + + Modified: + libratbox/trunk/src/Makefile.am (File Modified) + libratbox/trunk/src/Makefile.in (File Modified) + + +androsyn 2008/09/01 05:00:31 UTC (20080901_3-25984) + Log: + make extern not nested + + Modified: + libratbox/trunk/src/ratbox_lib.c (File Modified) + + +androsyn 2008/09/01 04:59:19 UTC (20080901_2-25982) + Log: + and add version.c.SH too + + Modified: + libratbox/trunk/src/version.c.SH (File Added) + + +androsyn 2008/09/01 04:58:51 UTC (20080901_1-25980) + Log: + fix up version output stuff + + Modified: + libratbox/trunk/src/Makefile.am (File Modified) + libratbox/trunk/src/Makefile.in (File Modified) + libratbox/trunk/src/ratbox_lib.c (File Modified) + + +androsyn 2008/09/01 04:50:17 UTC (20080901_0-25978) + Log: + test commit + + Modified: + libratbox/trunk/README (File Modified) + + +androsyn 2008/09/01 03:18:34 UTC (25975) + Log: + remove NOBALLOC code from linebuf.c and fill in the rb_bh_usage stuff for NOBALLOC + + Modified: + libratbox/trunk/src/balloc.c (File Modified) + libratbox/trunk/src/linebuf.c (File Modified) + + +androsyn 2008/09/01 03:12:32 UTC (25973) + Log: + remove an #if 0 + + Modified: + libratbox/trunk/src/event.c (File Modified) + + +androsyn 2008/09/01 03:07:46 UTC (25971) + Log: + change u_char to uint8_t + + Modified: + libratbox/trunk/src/crypt.c (File Modified) + + +androsyn 2008/08/27 19:28:26 UTC (25963) + Log: + deal with rb_vsnprintf_append having a string passed to it that is longer than len, in such case we truncate the string.. + + Modified: + libratbox/trunk/src/snprintf.c (File Modified) + + +androsyn 2008/08/27 14:59:09 UTC (25961) + Log: + the way ev->name was assigned was pretty bogus and pretty much only worked because we always used strings that always were statically allocated in the executable. fix this and do it correctly + + Modified: + libratbox/trunk/include/event-int.h (File Modified) + libratbox/trunk/src/event.c (File Modified) + + +androsyn 2008/08/25 19:19:35 UTC (25955) + Log: + make that a %s instead of a %d + + Modified: + libratbox/trunk/src/commio.c (File Modified) + + +androsyn 2008/08/15 16:29:35 UTC (25897) + Log: + order of operations in C can be a real bitch sometimes + + Modified: + libratbox/trunk/src/balloc.c (File Modified) + + +androsyn 2008/08/14 18:23:23 UTC (25885) + Log: + fix block heap garbage collection properly + + Modified: + libratbox/trunk/src/balloc.c (File Modified) + + +androsyn 2008/08/12 15:43:58 UTC (25871) + Log: + fix a crash in the rb_bh_gc code + + Modified: + libratbox/trunk/src/balloc.c (File Modified) + + +androsyn 2008/08/06 19:51:44 UTC (25861) + Log: + put back in the pad to even pointer boundaries stuff + + Modified: + libratbox/trunk/src/balloc.c (File Modified) + + +androsyn 2008/08/06 19:30:25 UTC (25859) + Log: + fix the block heap free code + + Modified: + libratbox/trunk/src/balloc.c (File Modified) + + +androsyn 2008/08/06 19:14:38 UTC (25857) + Log: + Fix a bug where we would get SIGBUS crashes when trying to use a long long. + The problem was we were only aligning pointers to 4 bytes, which isn't good + enough for long long on sparc when using gcc 4.x. Apparently gcc 3.x was more + tolerant of this. This fixes it correctly. + + + + Modified: + libratbox/trunk/src/balloc.c (File Modified) + + +androsyn 2008/08/05 04:12:26 UTC (25853) + Log: + fix a buffer overrun in the nossl case + + Modified: + libratbox/trunk/src/nossl.c (File Modified) + + +androsyn 2008/08/04 22:04:38 UTC (25833) + Log: + make GET_SS_FAMILY use const and add a SET_SS_FAMILY macro. ircd fixes coming shortly + + Modified: + libratbox/trunk/include/ratbox_lib.h (File Modified) + + +androsyn 2008/07/29 15:26:55 UTC (25795) + Log: + some sanity checks in the rb_open path + + Modified: + libratbox/trunk/src/commio.c (File Modified) + + +androsyn 2008/07/29 14:47:48 UTC (25793) + Log: + pass new_F along to rb_ssl_accept_setup instead of the fd itself + + Modified: + libratbox/trunk/include/commio-ssl.h (File Modified) + libratbox/trunk/src/commio.c (File Modified) + libratbox/trunk/src/gnutls.c (File Modified) + libratbox/trunk/src/nossl.c (File Modified) + libratbox/trunk/src/openssl.c (File Modified) + + +androsyn 2008/07/28 23:14:29 UTC (25791) + Log: + log if rb_open returns NULL on accept and close the fd..this shouldn't happen and the real cause needs to be found + + Modified: + libratbox/trunk/src/commio.c (File Modified) + + +androsyn 2008/07/11 18:21:57 UTC (25705) + Log: + add a newline at the end of arc4random.c + + Modified: + libratbox/trunk/src/arc4random.c (File Modified) + + +androsyn 2008/07/10 18:34:03 UTC (25699) + Log: + i'm doing good today..move the ifdefs down + + Modified: + libratbox/trunk/src/arc4random.c (File Modified) + + +androsyn 2008/07/10 18:32:34 UTC (25697) + Log: + remove some debugging code + + Modified: + libratbox/trunk/src/arc4random.c (File Modified) + libratbox/trunk/src/nossl.c (File Modified) + + +androsyn 2008/07/10 18:30:19 UTC (25695) + Log: + add a missing ; and add arc4random.h too + + Modified: + libratbox/trunk/include/arc4random.h (File Added) + libratbox/trunk/src/openssl.c (File Modified) + + +androsyn 2008/07/10 18:27:23 UTC (25693) + Log: + forgot a prototype for rb_get_pseudo_random + + Modified: + libratbox/trunk/include/rb_commio.h (File Modified) + + +androsyn 2008/07/10 18:05:43 UTC (25691) + Log: + fix a typo + + Modified: + libratbox/trunk/src/nossl.c (File Modified) + + +androsyn 2008/07/10 17:13:27 UTC (25689) + Log: + - Add arc4random as a source for random bytes in the nossl.c case. + - Add in a pseudo random source function as well. This is really only different on OpenSSL. + + + + Modified: + libratbox/trunk/configure (File Modified) + libratbox/trunk/configure.ac (File Modified) + libratbox/trunk/include/libratbox_config.h.in (File Modified) + libratbox/trunk/src/Makefile.am (File Modified) + libratbox/trunk/src/Makefile.in (File Modified) + libratbox/trunk/src/arc4random.c (File Added) + libratbox/trunk/src/export-syms.txt (File Modified) + libratbox/trunk/src/gnutls.c (File Modified) + libratbox/trunk/src/nossl.c (File Modified) + libratbox/trunk/src/openssl.c (File Modified) + + +androsyn 2008/07/06 18:57:15 UTC (25683) + Log: + change a rb_uint8_t to uint8_t + + Modified: + libratbox/trunk/configure (File Modified) + libratbox/trunk/configure.ac (File Modified) + + +androsyn 2008/07/06 05:15:22 UTC (25681) + Log: + fix the socklen_t stuff + + Modified: + libratbox/trunk/configure (File Modified) + libratbox/trunk/configure.ac (File Modified) + libratbox/trunk/include/libratbox_config.h.in (File Modified) + + +androsyn 2008/07/06 04:33:03 UTC (25679) + Log: + get rid of some testing code that snuck into the last commit + + Modified: + libratbox/trunk/configure (File Modified) + libratbox/trunk/configure.ac (File Modified) + + +androsyn 2008/07/06 04:13:05 UTC (25675) + Log: + remove the rb_uint/rb_int stuff as we require a C99 compiler and this is standard now. Also add a better check for socklen_t + + Modified: + libratbox/trunk/acinclude.m4 (File Modified) + libratbox/trunk/configure (File Modified) + libratbox/trunk/configure.ac (File Modified) + libratbox/trunk/include/commio-int.h (File Modified) + libratbox/trunk/include/libratbox_config.h.in (File Modified) + libratbox/trunk/include/rb_commio.h (File Modified) + libratbox/trunk/include/rb_linebuf.h (File Modified) + libratbox/trunk/src/Makefile.in (File Modified) + libratbox/trunk/src/balloc.c (File Modified) + libratbox/trunk/src/commio.c (File Modified) + libratbox/trunk/src/crypt.c (File Modified) + libratbox/trunk/src/epoll.c (File Modified) + libratbox/trunk/src/rawbuf.c (File Modified) + + +androsyn 2008/07/06 03:10:23 UTC (25673) + Log: + a few minor cleanups + + Modified: + libratbox/trunk/src/commio.c (File Modified) + + +androsyn 2008/06/24 14:04:50 UTC (25588) + Log: + move some of the common accept code into a function + + Modified: + libratbox/trunk/src/openssl.c (File Modified) + + +androsyn 2008/06/20 21:49:53 UTC (25576) + Log: + rerun autoconf again + + Modified: + libratbox/trunk/configure (File Modified) + + +androsyn 2008/06/20 21:49:06 UTC (25574) + Log: + enable Id tags on configure.ac + + Modified: + libratbox/trunk/configure.ac (File Modified) (Property Modified) + + +jilles 2008/06/20 21:42:48 UTC (25572) + Log: + Rerun autoconf. + + + Modified: + libratbox/trunk/configure (File Modified) + + +jilles 2008/06/20 21:42:29 UTC (25570) + Log: + Change == in test to =. + + + Modified: + libratbox/trunk/configure.ac (File Modified) + + +androsyn 2008/06/20 18:46:08 UTC (25568) + Log: + add a missing commio-ssl.h include in gnutls.c + + Modified: + libratbox/trunk/src/gnutls.c (File Modified) + + +androsyn 2008/06/19 19:05:46 UTC (25556) + Log: + don't load the certificate twice and remember to close the file after opening it + + Modified: + libratbox/trunk/src/gnutls.c (File Modified) + + +androsyn 2008/06/11 14:40:44 UTC (25532) + Log: + All sorts of autotools goo for GNUTLS. Partially based on nenolod's patch. + + + Modified: + libratbox/trunk/Makefile.in (File Modified) + libratbox/trunk/aclocal.m4 (File Modified) + libratbox/trunk/configure (File Modified) + libratbox/trunk/configure.ac (File Modified) + libratbox/trunk/include/libratbox_config.h.in (File Modified) + libratbox/trunk/src/Makefile.am (File Modified) + libratbox/trunk/src/Makefile.in (File Modified) + libratbox/trunk/src/nossl.c (File Modified) + + +androsyn 2008/06/11 06:12:55 UTC (25530) + Log: + first pass at gnutls code.. + + Modified: + libratbox/trunk/src/gnutls.c (File Added) + + +jilles 2008/05/17 13:36:55 UTC (25387) + Log: + Remove static inline symbols from export-syms.txt. + These do not exist in the library and some platforms + such as MacOS X don't like that. + + + Modified: + libratbox/trunk/src/export-syms.txt (File Modified) + + +androsyn 2008/05/16 16:06:02 UTC (25377) + Log: + fix a compile warning + + Modified: + libratbox/trunk/src/openssl.c (File Modified) + + +androsyn 2008/05/16 15:19:51 UTC (25375) + Log: + fix up the soft assert stuff for libratbox and rename likely/unlikely to rb_likely/rb_unlikely + + Modified: + libratbox/trunk/include/commio-int.h (File Modified) + libratbox/trunk/include/ratbox_lib.h (File Modified) + libratbox/trunk/include/rb_memory.h (File Modified) + libratbox/trunk/src/balloc.c (File Modified) + libratbox/trunk/src/commio.c (File Modified) + libratbox/trunk/src/linebuf.c (File Modified) + libratbox/trunk/src/poll.c (File Modified) + libratbox/trunk/src/ratbox_lib.c (File Modified) + libratbox/trunk/src/sigio.c (File Modified) + libratbox/trunk/src/snprintf.c (File Modified) + + +jilles 2008/05/14 17:55:22 UTC (25364) + Log: + Fix a mistake in kqueue 'overflow' handling. + If there is no space in the output buffer to report an + error adding to the kqueue, kevent(2) will abort and + return the error in errno (I was correct that it does + not tell you where it failed). So do not abort the loop + if kevent(2) fails and do not log (expected) EBADF. + + + Modified: + libratbox/trunk/src/kqueue.c (File Modified) + + +androsyn 2008/05/13 14:48:46 UTC (25358) + Log: + save connect errno so that we get a correct connect failure reason + + Modified: + libratbox/trunk/src/commio.c (File Modified) + + +jilles 2008/05/12 17:52:22 UTC (25356) + Log: + Fix a possible crash with SSL connections closing early. + + + Modified: + libratbox/trunk/src/openssl.c (File Modified) + + +jilles 2008/05/12 16:51:54 UTC (25354) + Log: + Fix kqueue sometimes dropping updates. + (ircd wouldn't read or write anymore to certain clients) + This happens because kqueue.c will often try to add + already closed file descriptors to the kqueue. The kernel + tries to report bad file descriptors in the eventlist; if + the eventlist has no space, processing of the changelist + is silently halted. + The fix: + 1. allocate two kqlst things, one for what kqlst currently does + and one as output buffer + this ensures the kevent(2) call in rb_select_kqueue() never + drops updates + 2. replace the kevent(2) call in kq_update_events() by a loop + that processes the updates one at a time + that doesn't happen much, and it's the only way to be sure + without also getting events out of the queue we cannot process + at that time + + + Modified: + libratbox/trunk/src/kqueue.c (File Modified) + + +androsyn 2008/05/08 19:32:13 UTC (25327) + Log: + forgot prototypes and nossl versions of rb_ssl handshake stuff + + Modified: + libratbox/trunk/include/rb_commio.h (File Modified) + libratbox/trunk/src/nossl.c (File Modified) + + +androsyn 2008/05/08 19:09:42 UTC (25325) + Log: + keep track of the number of openssl handshakes and export rb_ssl_handshake_count and rb_ssl_clear_handshake_count + + Modified: + libratbox/trunk/include/commio-int.h (File Modified) + libratbox/trunk/src/export-syms.txt (File Modified) + libratbox/trunk/src/openssl.c (File Modified) + + +androsyn 2008/05/02 12:41:05 UTC (25291) + Log: + fix build for bsd platforms with lack EVFILT_TIMER + + Modified: + libratbox/trunk/src/kqueue.c (File Modified) + + +androsyn 2008/04/21 18:38:23 UTC (25245) + Log: + kill a process with SIGKILL when calling helper_close to be certain the process goes away + + Modified: + libratbox/trunk/src/helper.c (File Modified) + + +river 2008/04/16 20:33:35 UTC (25235) + Log: + support for compiling on OpenVMS (untested) + + + Modified: + libratbox/trunk/include/libratbox_config.h_vms (File Added) + libratbox/trunk/src/descrip.mms (File Added) + libratbox/trunk/src/rawbuf.c (File Modified) + + +androsyn 2008/04/16 20:11:37 UTC (25233) + Log: + less than zero doesn't make sense for size_t + + Modified: + libratbox/trunk/src/balloc.c (File Modified) + + +jilles 2008/04/13 16:19:04 UTC (25229) + Log: + patricia: remove ugly abuse of K&R style function declaration + It left the argument types unspecified in a function + pointer, then called it using different numbers of + arguments. + + + Modified: + libratbox/trunk/include/rb_patricia.h (File Modified) + libratbox/trunk/src/patricia.c (File Modified) + + +jilles 2008/04/12 22:20:43 UTC (25227) + Log: + Remove linebuf's per-line flushing flag, as it's per-head state. + In rare cases, this sharing caused the ircd to skip + part of outgoing traffic, e.g. appearing as "not enough + parameters" errors on the other side. + The purpose of this flag can be fulfilled by the writeofs + in the bufhead. + + + Modified: + libratbox/trunk/include/rb_linebuf.h (File Modified) + libratbox/trunk/src/linebuf.c (File Modified) + + +jilles 2008/04/12 14:30:19 UTC (25225) + Log: + read/write return type should be ssize_t, not int or size_t. + The writev emulation used size_t, which is unsigned, + preventing negative values to be seen. + + + Modified: + libratbox/trunk/src/commio.c (File Modified) + + +jilles 2008/04/11 08:48:21 UTC (25223) + Log: + kqueue: also use EV_ONESHOT for read events + This makes the kernel's state agree with our handler pointer. + SSL may need to suspend selecting for reading to write + something, e.g. with renegotiation. + + + Modified: + libratbox/trunk/src/kqueue.c (File Modified) + + +jilles 2008/04/09 19:43:08 UTC (25219) + Log: + Call the accept callback when timing out an SSL accept. + The callback will close the F. + + + Modified: + libratbox/trunk/src/openssl.c (File Modified) + + +jilles 2008/04/09 19:26:04 UTC (25217) + Log: + Fix up ssl_accept WANT_READ/WANT_WRITE a bit. + Only select for the exact thing asked, and if + SSL_ERROR_SYSCALL happens abort it even if the + errno is "ignorable". + + + Modified: + libratbox/trunk/src/openssl.c (File Modified) + + +jilles 2008/04/05 19:09:32 UTC (25205) + Log: + Fix SET_SS_LEN so that it also works correctly outside libratbox. + Use RB_SOCKADDR_HAS_SA_LEN instead of SOCKADDR_IN_HAS_LEN + which is only defined inside libratbox. + This fixes creating own sockaddr structs in other programs + using SET_SS_LEN, then passing them to libratbox, on + 4.4BSD based systems. + + + Modified: + libratbox/trunk/include/ratbox_lib.h (File Modified) + + +androsyn 2008/04/04 18:43:29 UTC (25203) + Log: + don't spin on accept when you don't get any data + + Modified: + libratbox/trunk/src/openssl.c (File Modified) + + +androsyn 2008/04/01 22:05:38 UTC (25197) + Log: + return useful errno values here + + Modified: + libratbox/trunk/src/nossl.c (File Modified) + + +jilles 2008/04/01 20:38:54 UTC (25195) + Log: + Make this link without OpenSSL. + Patch from nenolod. + + + Modified: + libratbox/trunk/src/nossl.c (File Modified) + + androsyn 2008/03/30 16:34:18 UTC (25177) Log: Remove DISABLE_SSL_COMP stuff completely. Force our outbound connections to use TLSv1