]>
jfr.im git - solanum.git/log
Jilles Tjoelker [Sat, 5 Jan 2008 21:51:09 +0000 (22:51 +0100)]
flag_table -> oper_table (more descriptive name)
Jilles Tjoelker [Sat, 5 Jan 2008 16:00:00 +0000 (17:00 +0100)]
If stats k is masked for nonopers, treat stats k and K the same.
There is no point in forcing two stats requests for just
one line of information.
Jilles Tjoelker [Sat, 5 Jan 2008 13:58:13 +0000 (14:58 +0100)]
Use a more expected value for SHARED_TRESV.
Jilles Tjoelker [Sat, 5 Jan 2008 00:37:03 +0000 (01:37 +0100)]
Show full flag name, not letter, when refusing to set umode +s +n or +a.
Jilles Tjoelker [Fri, 4 Jan 2008 23:52:02 +0000 (00:52 +0100)]
sgml docs: kline_exempt does not exempt from D:lines in any way
Jilles Tjoelker [Fri, 4 Jan 2008 23:38:23 +0000 (00:38 +0100)]
Send a rate-limited server notice if a blacklist gives a non-127.0.0.x reply.
Jilles Tjoelker [Fri, 4 Jan 2008 17:50:46 +0000 (18:50 +0100)]
Various updates to the INSTALL document.
Jilles Tjoelker [Fri, 4 Jan 2008 17:42:59 +0000 (18:42 +0100)]
config.h: remove some obsolete options, move MAX_BUFFER to tunable section
Jilles Tjoelker [Fri, 4 Jan 2008 17:33:36 +0000 (18:33 +0100)]
Overwrite config.h.dist with config.h.
config.h.dist serves no purpose other than a backup copy
for local changes to config.h
Jilles Tjoelker [Fri, 4 Jan 2008 16:29:15 +0000 (17:29 +0100)]
Charybdis does not have --enable-services, it is always enabled.
Jilles Tjoelker [Wed, 2 Jan 2008 21:34:29 +0000 (22:34 +0100)]
Update some copyright years.
Jilles Tjoelker [Wed, 2 Jan 2008 21:32:09 +0000 (22:32 +0100)]
Only accept 127.0.0.x as a dnsbl listing.
Jilles Tjoelker [Tue, 1 Jan 2008 23:09:50 +0000 (00:09 +0100)]
Update main copyright year.
Jilles Tjoelker [Tue, 1 Jan 2008 23:06:08 +0000 (00:06 +0100)]
Include time the k/d line was set in the reason when reading ban confs.
This correspond to what happens when a kline or dline is set.
Jilles Tjoelker [Tue, 1 Jan 2008 22:04:34 +0000 (23:04 +0100)]
Remove idle time checking (auto disconnecting users idle too long).
Jilles Tjoelker [Tue, 1 Jan 2008 21:40:22 +0000 (22:40 +0100)]
Document special characters in stats i/testmask in sgml.
Jilles Tjoelker [Tue, 1 Jan 2008 20:54:27 +0000 (21:54 +0100)]
STATS I and TESTMASK: Show some more auth{} flags.
flood_exempt (|), dnsbl_exempt ($), gline_exempt (_)
All these are only shown to opers.
Jilles Tjoelker [Tue, 1 Jan 2008 17:47:10 +0000 (18:47 +0100)]
Fix a crash when connecting to a server.
Jilles Tjoelker [Tue, 1 Jan 2008 17:25:04 +0000 (18:25 +0100)]
STATS I: Show spoofed auth{} blocks and ^<> flags to remote opers also.
Jilles Tjoelker [Tue, 1 Jan 2008 17:15:56 +0000 (18:15 +0100)]
Fix a crash after a local client exits.
Jilles Tjoelker [Tue, 1 Jan 2008 15:06:59 +0000 (16:06 +0100)]
Remove various obsolete ConfItem statuses (types) and flags.
Jilles Tjoelker [Fri, 28 Dec 2007 22:23:15 +0000 (23:23 +0100)]
Remove long obsolete comment.
William Pitcock [Fri, 28 Dec 2007 21:06:33 +0000 (15:06 -0600)]
Replace int fd; in local client object with an fde object.
Jilles Tjoelker [Fri, 28 Dec 2007 15:38:39 +0000 (16:38 +0100)]
Use connect_timeout for handshakes; add snote and log when they time out.
Jilles Tjoelker [Fri, 28 Dec 2007 15:17:39 +0000 (16:17 +0100)]
Remove code for unregistered clients from check_pings_list()
because it is only called for lists of registered clients.
Jilles Tjoelker [Fri, 28 Dec 2007 00:31:56 +0000 (01:31 +0100)]
More helpful ERROR server notices.
- Do not use hide_error_messages for certain "safe" ERRORs.
- If hide_error_messages hides an ERROR from a handshake,
send a server notice anyway, but without the message
text.
- Send server notices about ERRORs from handshakes network
wide if it was a remote connect.
Jilles Tjoelker [Wed, 26 Dec 2007 21:46:43 +0000 (22:46 +0100)]
Make remote numerics to channels work.
Note that +D clients do not get these. This is consistent
with how ircu treats remote numerics and with how we treat
server notices from other servers, but not with how locally
generated notices and numerics are sent also to +D clients.
Jilles Tjoelker [Tue, 25 Dec 2007 23:51:22 +0000 (00:51 +0100)]
Never allow a duplicate kline; always allow a wider kline.
Duplicate klines are now disallowed regardless of
no_redundant_klines. There is a somewhat hackish check
to see if the new kline is wider than the existing one.
Jilles Tjoelker [Tue, 25 Dec 2007 23:18:22 +0000 (00:18 +0100)]
When removing a temp kline, show removed mask, not given mask.
Example: when temp klining 10.0.0.0/16 and unklining 10.0.0.1/16,
it showed 10.0.0.1/16 being removed before, and shows
10.0.0.0/16 now.
Jilles Tjoelker [Tue, 25 Dec 2007 15:19:54 +0000 (16:19 +0100)]
Send a few more snotes about remote connects netwide.
(bad password for server, SID exists)
Jilles Tjoelker [Tue, 25 Dec 2007 12:56:05 +0000 (13:56 +0100)]
Add chm_quietunreg_compat extension, makes cmode +-R an alias for +-q $~a.
Jilles Tjoelker [Tue, 25 Dec 2007 12:27:41 +0000 (13:27 +0100)]
Add no_locops extension to disable LOCOPS (force everyone -l).
Jilles Tjoelker [Tue, 25 Dec 2007 00:16:18 +0000 (01:16 +0100)]
Use "SID Exists" instead of "Server Exists" where appropriate.
Jilles Tjoelker [Tue, 25 Dec 2007 00:00:20 +0000 (01:00 +0100)]
Consolidate duplicate channel mode flags tables to one.
Jilles Tjoelker [Mon, 24 Dec 2007 23:18:34 +0000 (00:18 +0100)]
Make the notable TS delta snote netwide as this may screw up the entire network.
Jilles Tjoelker [Mon, 24 Dec 2007 23:16:26 +0000 (00:16 +0100)]
Put full detail in the SQUIT reason for invalid TS version or excessive TS delta.
Jilles Tjoelker [Mon, 24 Dec 2007 22:29:01 +0000 (23:29 +0100)]
Remove "<server> had been connected for <time>" snote.
For registered servers, it is entirely redundant with the
"<server> was connected for <time>. <traffic>" snote, and
only sent for some ways of closing; for handshakes, you
already know that it had not been connected for long.
Jilles Tjoelker [Mon, 24 Dec 2007 21:43:47 +0000 (22:43 +0100)]
Make the other notices to snomask +b network wide.
(with the exception of flooding on an &channel)
Jilles Tjoelker [Mon, 24 Dec 2007 21:04:18 +0000 (22:04 +0100)]
Document the mass_notice oper privilege.
Jilles Tjoelker [Mon, 24 Dec 2007 20:59:21 +0000 (21:59 +0100)]
Document the resv oper privilege.
Jilles Tjoelker [Mon, 24 Dec 2007 20:47:05 +0000 (21:47 +0100)]
Add mass_notice oper priv, enabled by default for compatibility.
Controls /wallops and masked notices/privmsgs.
Jilles Tjoelker [Mon, 24 Dec 2007 20:16:19 +0000 (21:16 +0100)]
Rearrange flags2 to make room for 3 more oper privileges.
Jilles Tjoelker [Mon, 24 Dec 2007 19:58:55 +0000 (20:58 +0100)]
Move various flags from flags2 to flags.
Jilles Tjoelker [Mon, 24 Dec 2007 19:40:12 +0000 (20:40 +0100)]
Remove various unused macros.
Jilles Tjoelker [Mon, 24 Dec 2007 19:32:41 +0000 (20:32 +0100)]
Remove unused CONF_FLAGS_DO_IDENTD and FLAGS_NEEDID.
Jilles Tjoelker [Mon, 24 Dec 2007 19:26:39 +0000 (20:26 +0100)]
Remove unused flag FLAGS_CHKACCESS.
Jilles Tjoelker [Mon, 24 Dec 2007 17:24:49 +0000 (18:24 +0100)]
Branch merge.
Jilles Tjoelker [Mon, 24 Dec 2007 17:24:23 +0000 (18:24 +0100)]
Remove dot_in_ip6_addr config option.
William Pitcock [Sat, 22 Dec 2007 22:38:09 +0000 (16:38 -0600)]
update IDEAS for suggestions on how you can help with the I/O refactoring.
William Pitcock [Sat, 22 Dec 2007 22:30:06 +0000 (16:30 -0600)]
comm_locate_fd(), not comm_lookup_fd().
William Pitcock [Sat, 22 Dec 2007 22:28:05 +0000 (16:28 -0600)]
linebuf_flush(): use fde_t's.
William Pitcock [Sat, 22 Dec 2007 22:15:09 +0000 (16:15 -0600)]
Make fde raw I/O functions act on the FDE object, not the FD directly.
William Pitcock [Sat, 22 Dec 2007 22:08:34 +0000 (16:08 -0600)]
wtf mercurial, tbh.
William Pitcock [Sat, 22 Dec 2007 22:06:35 +0000 (16:06 -0600)]
Automated merge with ssh://hg.atheme.org//hg/charybdis
William Pitcock [Sat, 22 Dec 2007 22:05:51 +0000 (16:05 -0600)]
- add IOReadFunc and IOWriteFunc types.
- add fde::read_impl, fde::write_impl.
(defaults to read(2) and write(2) with raw FDs at the moment;
this will be revised to act on the fde later.)
William Pitcock [Sat, 22 Dec 2007 20:24:00 +0000 (14:24 -0600)]
Fix includes.
William Pitcock [Sat, 22 Dec 2007 20:05:45 +0000 (14:05 -0600)]
Automated merge with ssh://hg.atheme.org//hg/charybdis
William Pitcock [Sat, 22 Dec 2007 20:05:03 +0000 (14:05 -0600)]
Add some GNUTLS helper code.
Jilles Tjoelker [Fri, 21 Dec 2007 23:20:54 +0000 (00:20 +0100)]
It is ok to send 402 to local clients for any hunt_server operation.
William Pitcock [Fri, 21 Dec 2007 17:14:08 +0000 (11:14 -0600)]
again, fbfile.c hasn't existed in a long time.
William Pitcock [Fri, 21 Dec 2007 17:13:49 +0000 (11:13 -0600)]
fbfile.c hasn't existed in a long time.
William Pitcock [Fri, 21 Dec 2007 17:09:55 +0000 (11:09 -0600)]
Remove rfc1459, because IETF documentation does not contain any permission notices allowing modification.
William Pitcock [Thu, 20 Dec 2007 22:59:52 +0000 (16:59 -0600)]
We need to do that in another spot. Yuck.
William Pitcock [Thu, 20 Dec 2007 22:56:07 +0000 (16:56 -0600)]
Handle EBADF condition. yuck!
William Pitcock [Thu, 20 Dec 2007 22:37:57 +0000 (16:37 -0600)]
Fix a lot of bad assumptions in the epoll code (this needs major testing).
Jilles Tjoelker [Tue, 18 Dec 2007 22:00:42 +0000 (23:00 +0100)]
Deny $o extbans with data, to be better compatible with future meanings of it.
Jilles Tjoelker [Tue, 18 Dec 2007 21:54:18 +0000 (22:54 +0100)]
Add adminwall from ratbox, as an extension.
Jilles Tjoelker [Mon, 17 Dec 2007 23:24:05 +0000 (00:24 +0100)]
Require resv oper privilege to set cmode +L or +P.
Jilles Tjoelker [Mon, 17 Dec 2007 23:17:25 +0000 (00:17 +0100)]
Don't allow opers to bypass can_create_channel check.
Modules need to do so themselves, if desired.
Jilles Tjoelker [Mon, 17 Dec 2007 23:15:54 +0000 (00:15 +0100)]
createauthonly: allow opers through explicitly
Jilles Tjoelker [Mon, 17 Dec 2007 17:50:22 +0000 (18:50 +0100)]
Don't allow faking adminwall via wallops, in case anyone loads it.
Jilles Tjoelker [Mon, 17 Dec 2007 01:20:14 +0000 (02:20 +0100)]
Add resv oper priv, enabled by default for compatibility.
Jilles Tjoelker [Wed, 12 Dec 2007 23:43:31 +0000 (00:43 +0100)]
Make the epoll check work more reliably.
Submitted by spb.
Jilles Tjoelker [Wed, 12 Dec 2007 23:20:06 +0000 (00:20 +0100)]
Silence harmless compiler warning.
Jilles Tjoelker [Wed, 12 Dec 2007 23:14:02 +0000 (00:14 +0100)]
Do not copy string passed to add_top_conf()/add_conf_item().
If the caller can keep a function pointer valid, they can
certainly keep a string valid.
This also fixes an error with HAVE_STRDUP undefined.
Jilles Tjoelker [Wed, 12 Dec 2007 23:03:20 +0000 (00:03 +0100)]
hurt: Do not store to-be-freed strings in const pointers (+ cast when freeing).
Take away the const.
Jilles Tjoelker [Wed, 12 Dec 2007 21:26:17 +0000 (22:26 +0100)]
Make /rehash help work again.
Jilles Tjoelker [Tue, 11 Dec 2007 17:37:14 +0000 (18:37 +0100)]
Use 127.0.0.1 as nameserver if none can be found in /etc/resolv.conf.
This agrees with bind's behaviour.
Jilles Tjoelker [Sat, 8 Dec 2007 20:54:51 +0000 (21:54 +0100)]
Remove reject entries on unkline/ungline/unxline.
When a user is rejected, remember the hash value of the
ban mask (for klines/glines, hash value of the user part
XOR hash value of the host part) with the rejected IP;
if the kline/gline/xline is removed, remove rejects with
the same hash value also. Note that this does not happen
for expiries; this is deliberate.
Rejects for no auth{} or dnsbl put a hash value of 0;
they cannot be removed selectively.
William Pitcock [Sat, 8 Dec 2007 19:38:49 +0000 (13:38 -0600)]
Automated merge with ssh://hg.atheme.org//hg/charybdis
William Pitcock [Sat, 8 Dec 2007 19:38:28 +0000 (13:38 -0600)]
Remove --disable-shared-modules configure option.
It should have been removed when we removed the rest of that code.
Jilles Tjoelker [Sat, 8 Dec 2007 18:44:18 +0000 (19:44 +0100)]
Change meaning of "bits" in FNV hash functions to bitlen instead of 32-bitlen.
Do reduction like recommended by
http://www.isthe.com/chongo/tech/comp/fnv/index.html#xor-fold
Jilles Tjoelker [Thu, 6 Dec 2007 21:45:26 +0000 (22:45 +0100)]
Mention vhost in serverlog connect log message.
William Pitcock [Tue, 4 Dec 2007 01:37:33 +0000 (19:37 -0600)]
Make sure the nd_dict is always created.
William Pitcock [Tue, 4 Dec 2007 01:35:55 +0000 (19:35 -0600)]
help system rework, part 1
William Pitcock [Mon, 3 Dec 2007 16:59:25 +0000 (10:59 -0600)]
nickdelay -> dictionary.
William Pitcock [Sun, 2 Dec 2007 21:50:54 +0000 (15:50 -0600)]
I was nuts when I wrote that comment, lets kill it off.
William Pitcock [Sun, 2 Dec 2007 16:17:40 +0000 (10:17 -0600)]
this should be 2.3.0
William Pitcock [Sun, 2 Dec 2007 15:41:13 +0000 (09:41 -0600)]
It compiles, ship it.
William Pitcock [Sun, 2 Dec 2007 15:34:45 +0000 (09:34 -0600)]
commands and aliases go from horrible hashtable code to dictionary... try 1
William Pitcock [Sun, 2 Dec 2007 15:06:50 +0000 (09:06 -0600)]
Automated merge with ssh://hg.atheme.org//hg/charybdis
William Pitcock [Sun, 2 Dec 2007 15:06:25 +0000 (09:06 -0600)]
Add irc_dictionary code.
Jilles Tjoelker [Sat, 1 Dec 2007 20:04:31 +0000 (21:04 +0100)]
Update extensions/README.
Jilles Tjoelker [Sat, 1 Dec 2007 18:11:44 +0000 (19:11 +0100)]
Fix receiving TS5 client introductions.
This was broken due to User.server removal.
Jilles Tjoelker [Fri, 30 Nov 2007 22:35:48 +0000 (23:35 +0100)]
Speed up /unresv. Rehash bans now only happens if explicitly requested.
Jilles Tjoelker [Fri, 30 Nov 2007 22:35:14 +0000 (23:35 +0100)]
Clean up m_xline a bit.
Jilles Tjoelker [Fri, 30 Nov 2007 13:10:24 +0000 (14:10 +0100)]
Speed up /unxline similarly.
Jilles Tjoelker [Fri, 30 Nov 2007 00:14:12 +0000 (01:14 +0100)]
Speed up /undline similarly
- Change find_exact_conf_by_address() to work for dlines also.
- Use find_exact_conf_by_address() to find the dline and
abort immediately if there is no such dline.
- When removing a permanent dline, remove the dline from
the data structures instead of rehashing bans.
- Convert alternative ways to write the same dline to the
one in the found dline. (This was changed in unkline too.)
Jilles Tjoelker [Wed, 28 Nov 2007 23:12:51 +0000 (00:12 +0100)]
Speed up /unkline
- Use find_exact_conf_by_address() to find the kline and
abort immediately if there is no such kline.
- When removing a permanent kline, remove the kline from
the data structures instead of rehashing bans.
Jilles Tjoelker [Wed, 28 Nov 2007 22:59:49 +0000 (23:59 +0100)]
Add find_exact_conf_by_address() to find klines etc by exact mask.