Commit Graph

843 Commits

Author SHA1 Message Date
Jilles Tjoelker b68b0b2cde Fix a possible crash with SSL connections closing early.
libratbox r25356 (jilles)
2008-05-12 19:54:24 +02:00
Jilles Tjoelker 98686f18e9 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
libratbox r25354 (jilles)
2008-05-12 18:54:20 +02:00
William Pitcock b883310eb5 Added tag charybdis-3.0.0 for changeset d9d47a5f220c 2008-04-25 14:56:38 -05:00
William Pitcock a1789fbdc7 charybdis 3.0.0 2008-04-25 14:56:35 -05:00
William Pitcock 0042c7a1cb Install it into /bin 2008-04-25 14:52:17 -05:00
William Pitcock 562ea72083 Removed tag charybdis-3.0.0 2008-04-25 14:48:39 -05:00
William Pitcock 0037615355 Added tag charybdis-3.0.0 for changeset 4f8eddb79e21 2008-04-25 14:47:25 -05:00
William Pitcock a7a27f1f80 Automated merge with ssh://hg.atheme.org//hg/charybdis 2008-04-25 14:46:46 -05:00
William Pitcock b1572b6778 Add SSL generation tool. 2008-04-25 14:46:24 -05:00
Jilles Tjoelker b11e26cf1d Added tag charybdis-3.0.0-rc1 for changeset 7aef7b002131 2008-04-25 14:38:53 +02:00
Jilles Tjoelker 5cb528f15c Global server notices already exist.
(:<sourceserver> ENCAP <server> SNOTE <snomask> :<text>)
2008-04-25 14:24:33 +02:00
Jilles Tjoelker 8a99d1b9f5 Copy makerelease scripts from atheme-services and adapt them. 2008-04-25 14:17:32 +02:00
Jilles Tjoelker e2435f2280 Document PRIVS command in sgml. 2008-04-24 23:58:47 +02:00
Jilles Tjoelker a58d63e94c Mention potential version differences explicitly. 2008-04-24 23:47:27 +02:00
Jilles Tjoelker a66dbced56 Require remoteban privilege to send dline/undline to other servers. 2008-04-23 18:32:46 +02:00
Jilles Tjoelker 0786ceea88 Mention undline more clearly with unkline oper privilege. 2008-04-23 18:31:34 +02:00
Jilles Tjoelker 848f83a1cb Mention dline/undline with remoteban oper privilege. 2008-04-23 18:31:02 +02:00
William Pitcock 30b25e494e Remove ChangeLog -- it's no longer updated since SVN to HG transition. 2008-04-22 19:42:39 -05:00
William Pitcock 7f7bf7ee3e Add SNONOTICE stuff to 3.1 todo. 2008-04-22 19:40:25 -05:00
Jilles Tjoelker eeae854d6f Expand NEWS for 3.0.0. 2008-04-22 23:41:36 +02:00
Jilles Tjoelker 7f9801883f Show hg revision number (serno) in ircd -version. 2008-04-22 23:41:16 +02:00
William Pitcock bec4db9b38 Automated merge with ssh://hg.atheme.org//hg/charybdis 2008-04-21 20:26:51 -05:00
William Pitcock 8308fcdfed Use sendto_one_numeric() with the new AWAY numerics. 2008-04-21 20:26:23 -05:00
Jilles Tjoelker 0fcbff0c49 Don't try to fflush a file we just closed.
ircd-ratbox r25251 (androsyn)
2008-04-22 00:45:43 +02:00
William Pitcock 94c0bd4abe Automated merge with ssh://hg.atheme.org//hg/charybdis 2008-04-21 17:17:51 -05:00
William Pitcock 9563aa5c9d 3.0.0-RC1. 2008-04-21 17:17:31 -05:00
Jilles Tjoelker 66a1352761 Document remote D:lines in sgml. 2008-04-21 01:54:24 +02:00
Jilles Tjoelker f410930f71 Mention shared dline flags in reference.conf. 2008-04-21 01:42:19 +02:00
Jilles Tjoelker bc762249f2 Remove dline flags from shared all.
This means dline/undline need to be specified
explicitly in a shared{} block.
2008-04-21 01:41:42 +02:00
Jilles Tjoelker 931e8bc49e Take out some seven-style server notices. 2008-04-20 19:43:50 +02:00
Jilles Tjoelker 47819d9814 Repair fast/better undline (169:d8aa0d182c9f). 2008-04-20 16:05:17 +02:00
Jilles Tjoelker e26306d359 Remove windows newlines (^M). 2008-04-20 15:47:53 +02:00
Jilles Tjoelker 7e7c69536b Remove obsolete comment.
DNS lookups should be done prior to usage of an item,
not when loading the configuration.
2008-04-20 15:33:23 +02:00
Jilles Tjoelker 3f2b905e35 Remove conf_connect_allowed(), neither used nor declared. 2008-04-20 15:32:08 +02:00
Jilles Tjoelker c465dbcda4 Move some declarations to header files, this enforces that they match. 2008-04-20 15:30:24 +02:00
Jilles Tjoelker aa65834c6f Fix various compiler warnings. 2008-04-20 15:20:10 +02:00
Jilles Tjoelker 78a47af020 Remove silly cast that caused a compiler warning. 2008-04-20 14:47:34 +02:00
Valery Yatsko 3da818ecea TODO changed 2008-04-20 11:33:41 +04:00
Valery Yatsko 9d34bfef27 Patch removed 2008-04-20 11:26:48 +04:00
Valery Yatsko 45be325cd2 Remote d:lines implementation (based on ircd-seven's r230 by spb, Stephen Bennett <spb@attenuate.org>) 2008-04-20 11:26:37 +04:00
Valery Yatsko 443acdf4e0 Patch for remote dlines support - test needed 2008-04-20 11:15:07 +04:00
William Pitcock cea2bc8499 Automated merge with ssh://hg.atheme.org//hg/charybdis 2008-04-20 01:03:54 -05:00
William Pitcock 7e8e21a41a Remainder of irc_string.* is moved to new inline/stringops.h. 2008-04-20 01:03:11 -05:00
Valery Yatsko a7ada4867a Missed include - now compiles ok 2008-04-20 09:51:50 +04:00
Valery Yatsko 13ae2f4b69 irc_string.h -> match.h, irc_string.h; includes changed 2008-04-20 09:47:38 +04:00
Valery Yatsko 5f4f1d055f strip_tabs() is related to s_conf.c ONLY - moved it there 2008-04-20 09:38:26 +04:00
Valery Yatsko c6b832270e clean_string() is related to m_links.c ONLY - moved it there 2008-04-20 09:35:22 +04:00
Valery Yatsko dcbd1d073c strtoken -> rb_strtok_r (with arguments order changes) 2008-04-20 09:20:25 +04:00
Valery Yatsko d99380b61b legacy irc sprintf gone 2008-04-20 09:12:09 +04:00
Valery Yatsko 08a5f1f948 myctime -> rb_ctime 2008-04-20 09:03:39 +04:00