]>
jfr.im git - solanum.git/log
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.
Jilles Tjoelker [Sun, 25 Nov 2007 17:19:26 +0000 (18:19 +0100)]
Correct already X-Lined notice.
Jilles Tjoelker [Sun, 25 Nov 2007 17:18:07 +0000 (18:18 +0100)]
When checking if a nick resv or xline already exists, match exact not wild.
This is important because masks containing @ or # do not
match themselves.
Jilles Tjoelker [Fri, 23 Nov 2007 22:38:54 +0000 (23:38 +0100)]
Show opers a list of recently (<24hrs) split servers in /map.
Jilles Tjoelker [Fri, 23 Nov 2007 21:11:25 +0000 (22:11 +0100)]
Merge links_cache into scache and rework scache.
This changes flattened /links output to disclose less
routing information and slightly increases memory "leak"
from server names that do not come back anymore.
Jilles Tjoelker [Fri, 23 Nov 2007 20:51:00 +0000 (21:51 +0100)]
Clarify meaning of some serverhide options.
Jilles Tjoelker [Wed, 21 Nov 2007 23:38:13 +0000 (00:38 +0100)]
Remove Server.up and Server.upid.
Server.up is obsolete, like User.server.
Server.upid has never been really useful.
William Pitcock [Tue, 20 Nov 2007 12:36:55 +0000 (06:36 -0600)]
Get rid of User.server.
nenolod [Tue, 20 Nov 2007 11:16:43 +0000 (03:16 -0800)]
[svn] - we do not need to call find_server() in the function for registering local users
nenolod [Tue, 20 Nov 2007 11:08:23 +0000 (03:08 -0800)]
[svn] Explain invalid username rejections to users when they are rejected.
jilles [Sat, 17 Nov 2007 21:55:48 +0000 (13:55 -0800)]
[svn] Update description of oper privileges a bit.
jilles [Wed, 7 Nov 2007 23:45:14 +0000 (15:45 -0800)]
[svn] Fix desyncs with very long extbans. Bans can now be upto 195 chars long.
jilles [Wed, 7 Nov 2007 21:45:14 +0000 (13:45 -0800)]
[svn] allocate_channel(): no need to truncate name, its only caller already does it
furthermore, truncating here causes an inconsistent channel name
jilles [Sat, 27 Oct 2007 21:56:53 +0000 (14:56 -0700)]
[svn] Fix a memory leak.
jilles [Sun, 9 Sep 2007 19:19:23 +0000 (12:19 -0700)]
[svn] Make /knock send to all channel members on +g (anyone may invite) channels.
jilles [Sun, 9 Sep 2007 18:59:08 +0000 (11:59 -0700)]
[svn] Make EXTBAN 005 token like unreal's (, instead of :).
jilles [Thu, 6 Sep 2007 20:30:22 +0000 (13:30 -0700)]
[svn] Remove a sentence which gives the impression that TS6 is optional.
jilles [Wed, 29 Aug 2007 22:18:31 +0000 (15:18 -0700)]
[svn] Clarify format of IPv6 addresses in SGML documentation.
jilles [Wed, 29 Aug 2007 22:04:45 +0000 (15:04 -0700)]
[svn] Clarify format of IPv6 addresses in auth{} and connect{}.
jilles [Thu, 23 Aug 2007 21:02:31 +0000 (14:02 -0700)]
[svn] Add more information about invitations and invexes.
jilles [Thu, 23 Aug 2007 19:00:10 +0000 (12:00 -0700)]
[svn] Add what /invite actually does (bypass +ijlr).
jilles [Sat, 18 Aug 2007 14:45:10 +0000 (07:45 -0700)]
[svn] callerid (+g) documentation:
- Mention 005 (isupport) token with possibility of different mode letter.
- Explicitly clarify that /accept can be used while -g, and setting -g
does not clear the accept list.
- Mention that some users may be able to bypass +g.
- Mention that /accept may allow more than just going through +g.
- Update to 716/717/718 numerics instead of notices.
- Clarify that the one-minute period applies to messages from all users,
not just one user.
- Add a numerics section with more exact syntax.
jilles [Fri, 10 Aug 2007 22:31:14 +0000 (15:31 -0700)]
[svn] Send TS6 protocol for the actual work of override modules.
Wallops remain TS5-style for now.
nenolod [Thu, 9 Aug 2007 06:50:13 +0000 (23:50 -0700)]
[svn] - update IDEAS as TS6 only is partially done
nenolod [Thu, 9 Aug 2007 06:47:26 +0000 (23:47 -0700)]
[svn] - TS6 is always enabled now.
There is no reason for it to not be enabled on a proper charybdis network.
nenolod [Thu, 9 Aug 2007 06:40:52 +0000 (23:40 -0700)]
[svn] - better text for RPL_LOAD2HI explaining in a better way what is going on
jilles [Wed, 1 Aug 2007 20:52:54 +0000 (13:52 -0700)]
[svn] Also rerun autoheader, for solaris ports changes.
jilles [Wed, 1 Aug 2007 20:50:54 +0000 (13:50 -0700)]
[svn] Rerun autoconf for version bump, at last.
jilles [Wed, 1 Aug 2007 20:18:12 +0000 (13:18 -0700)]
[svn] Make highest connection counts a bit more consistent.
jilles [Mon, 30 Jul 2007 17:26:00 +0000 (10:26 -0700)]
[svn] Fix wrong line numbers in ircd.conf parser (some comments).
from ratbox 2.2 (androsyn).
jilles [Thu, 26 Jul 2007 14:21:57 +0000 (07:21 -0700)]
[svn] Change EmptyString so gcc 4.2 doesn't complain.
from ratbox (androsyn), slightly changed
jilles [Sat, 14 Jul 2007 21:50:21 +0000 (14:50 -0700)]
[svn] In a two-argument whois, RPL_ENDOFWHOIS should show second arg.
This already works correctly for successful/notfound case.
jilles [Sat, 14 Jul 2007 13:34:50 +0000 (06:34 -0700)]
[svn] Use mask_match() to check bans from local clients for
redundancy. This fixes the problem that bans like *!?@*
prevent any ban starting with *!*@ being set.
jilles [Sat, 14 Jul 2007 13:32:18 +0000 (06:32 -0700)]
[svn] Add mask_match(), like ircu mmatch().
This compares two masks and returns whether the "new" is
more specific than or equal to the "old". The difference
with match() is that a '?' in "old" does not match a '*' in
"new".
jilles [Sat, 14 Jul 2007 12:20:48 +0000 (05:20 -0700)]
[svn] add_id() for local client: do not collapse() the ban mask.
The code calling this already collapses the mask, and if
not, doing it here would cause a desync.
nenolod [Sat, 7 Jul 2007 08:08:23 +0000 (01:08 -0700)]
[svn] - fix dereference problems with not widely used polling engines
nenolod [Fri, 6 Jul 2007 07:56:14 +0000 (00:56 -0700)]
[svn] - forgot to do something
nenolod [Fri, 6 Jul 2007 07:54:54 +0000 (00:54 -0700)]
[svn] - fix a possible problem with ipv6
nenolod [Fri, 6 Jul 2007 07:48:28 +0000 (00:48 -0700)]
[svn] - new ip cloaking module