Commit graph

1893 commits

Author SHA1 Message Date
Jilles Tjoelker
2142f6910e Fix a possible crash with SSL connections closing early.
libratbox r25356 (jilles)
2008-05-12 19:54:24 +02:00
Jilles Tjoelker
3c95b6e72f 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
edd8f6417d Added tag charybdis-3.0.0 for changeset d9d47a5f220c 2008-04-25 14:56:38 -05:00
William Pitcock
4a466cb340 charybdis 3.0.0 2008-04-25 14:56:35 -05:00
William Pitcock
9d129b8ab0 Install it into /bin 2008-04-25 14:52:17 -05:00
William Pitcock
0253849e55 Removed tag charybdis-3.0.0 2008-04-25 14:48:39 -05:00
William Pitcock
5bdf35d550 Added tag charybdis-3.0.0 for changeset 4f8eddb79e21 2008-04-25 14:47:25 -05:00
William Pitcock
fc596742b1 Automated merge with ssh://hg.atheme.org//hg/charybdis 2008-04-25 14:46:46 -05:00
William Pitcock
828a2e6ad5 Add SSL generation tool. 2008-04-25 14:46:24 -05:00
Jilles Tjoelker
4a8f930e5a Added tag charybdis-3.0.0-rc1 for changeset 7aef7b002131 2008-04-25 14:38:53 +02:00
Jilles Tjoelker
bb26095d63 Global server notices already exist.
(:<sourceserver> ENCAP <server> SNOTE <snomask> :<text>)
2008-04-25 14:24:33 +02:00
Jilles Tjoelker
4bf178c50c Copy makerelease scripts from atheme-services and adapt them. 2008-04-25 14:17:32 +02:00
Jilles Tjoelker
ae71856b53 Document PRIVS command in sgml. 2008-04-24 23:58:47 +02:00
Jilles Tjoelker
80a12aea20 Mention potential version differences explicitly. 2008-04-24 23:47:27 +02:00
Jilles Tjoelker
2cfb7214ee Require remoteban privilege to send dline/undline to other servers. 2008-04-23 18:32:46 +02:00
Jilles Tjoelker
3c71ce9d23 Mention undline more clearly with unkline oper privilege. 2008-04-23 18:31:34 +02:00
Jilles Tjoelker
a7738ac0d1 Mention dline/undline with remoteban oper privilege. 2008-04-23 18:31:02 +02:00
William Pitcock
7c746d1c7d Remove ChangeLog -- it's no longer updated since SVN to HG transition. 2008-04-22 19:42:39 -05:00
William Pitcock
e77f633465 Add SNONOTICE stuff to 3.1 todo. 2008-04-22 19:40:25 -05:00
Jilles Tjoelker
509090fe64 Expand NEWS for 3.0.0. 2008-04-22 23:41:36 +02:00
Jilles Tjoelker
b380384839 Show hg revision number (serno) in ircd -version. 2008-04-22 23:41:16 +02:00
William Pitcock
b10c4bd17a Automated merge with ssh://hg.atheme.org//hg/charybdis 2008-04-21 20:26:51 -05:00
William Pitcock
e85075ec02 Use sendto_one_numeric() with the new AWAY numerics. 2008-04-21 20:26:23 -05:00
Jilles Tjoelker
b7bb965735 Don't try to fflush a file we just closed.
ircd-ratbox r25251 (androsyn)
2008-04-22 00:45:43 +02:00
William Pitcock
f28d832416 Automated merge with ssh://hg.atheme.org//hg/charybdis 2008-04-21 17:17:51 -05:00
William Pitcock
045da06897 3.0.0-RC1. 2008-04-21 17:17:31 -05:00
Jilles Tjoelker
dc19d5c716 Document remote D:lines in sgml. 2008-04-21 01:54:24 +02:00
Jilles Tjoelker
d8d2cb0a62 Mention shared dline flags in reference.conf. 2008-04-21 01:42:19 +02:00
Jilles Tjoelker
c42fb00e7f 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
61c096aa8f Take out some seven-style server notices. 2008-04-20 19:43:50 +02:00
Jilles Tjoelker
37f6cc05d8 Repair fast/better undline (169:d8aa0d182c9f). 2008-04-20 16:05:17 +02:00
Jilles Tjoelker
5f7a6a3db2 Remove windows newlines (^M). 2008-04-20 15:47:53 +02:00
Jilles Tjoelker
121b641409 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
fd5c370711 Remove conf_connect_allowed(), neither used nor declared. 2008-04-20 15:32:08 +02:00
Jilles Tjoelker
896755fe0d Move some declarations to header files, this enforces that they match. 2008-04-20 15:30:24 +02:00
Jilles Tjoelker
2e819b6b3e Fix various compiler warnings. 2008-04-20 15:20:10 +02:00
Jilles Tjoelker
9eea5de11d Remove silly cast that caused a compiler warning. 2008-04-20 14:47:34 +02:00
Valery Yatsko
1feeda91af TODO changed 2008-04-20 11:33:41 +04:00
Valery Yatsko
765ffb4207 Patch removed 2008-04-20 11:26:48 +04:00
Valery Yatsko
f5cb68d51d 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
eab1813f55 Patch for remote dlines support - test needed 2008-04-20 11:15:07 +04:00
William Pitcock
0613f66008 Automated merge with ssh://hg.atheme.org//hg/charybdis 2008-04-20 01:03:54 -05:00
William Pitcock
ab4285181c Remainder of irc_string.* is moved to new inline/stringops.h. 2008-04-20 01:03:11 -05:00
Valery Yatsko
908dc43fa3 Missed include - now compiles ok 2008-04-20 09:51:50 +04:00
Valery Yatsko
4562c60489 irc_string.h -> match.h, irc_string.h; includes changed 2008-04-20 09:47:38 +04:00
Valery Yatsko
decf0486cc strip_tabs() is related to s_conf.c ONLY - moved it there 2008-04-20 09:38:26 +04:00
Valery Yatsko
e3b33fe3e6 clean_string() is related to m_links.c ONLY - moved it there 2008-04-20 09:35:22 +04:00
Valery Yatsko
4a2651e520 strtoken -> rb_strtok_r (with arguments order changes) 2008-04-20 09:20:25 +04:00
Valery Yatsko
cbe4e1ba31 legacy irc sprintf gone 2008-04-20 09:12:09 +04:00
Valery Yatsko
08d75d9702 myctime -> rb_ctime 2008-04-20 09:03:39 +04:00