]>
jfr.im git - irc/rqf/shadowircd.git/log
B.Greenham [Tue, 23 Feb 2010 03:45:37 +0000 (22:45 -0500)]
Add umode +V, which blocks invites to anyone with it set.
B.Greenham [Tue, 23 Feb 2010 03:14:47 +0000 (22:14 -0500)]
Add umode +C, which blocks CTCPs to anyone with it set.
Jilles Tjoelker [Mon, 22 Feb 2010 22:53:45 +0000 (23:53 +0100)]
Remove some obsolete paths from config.h.
Jilles Tjoelker [Mon, 22 Feb 2010 18:31:05 +0000 (19:31 +0100)]
Remove more old kline.conf stuff.
Make sure to recompile modules, stuff has been removed
close to the start of ConfigFileEntry.
Jilles Tjoelker [Mon, 22 Feb 2010 18:16:37 +0000 (19:16 +0100)]
gnutls: I guess a gnutls_x509_crt_deinit() is needed to avoid memory leak.
Jilles Tjoelker [Mon, 22 Feb 2010 18:09:46 +0000 (19:09 +0100)]
Remove code to write bans to csv files.
William Pitcock [Mon, 22 Feb 2010 17:13:59 +0000 (11:13 -0600)]
gnutls: Add support for certfp gathering.
Jilles Tjoelker [Sun, 21 Feb 2010 22:15:07 +0000 (23:15 +0100)]
Add spambot check changes to NEWS.
Jilles Tjoelker [Sun, 21 Feb 2010 00:45:51 +0000 (01:45 +0100)]
Do not penalize for spambot checks if creating a new channel.
Jilles Tjoelker [Sun, 21 Feb 2010 00:29:41 +0000 (01:29 +0100)]
spambot checks: Fix excessive expiry in some cases.
Jilles Tjoelker [Sun, 21 Feb 2010 00:12:04 +0000 (01:12 +0100)]
JOIN 0: Make spambot check equivalent to PART's.
Jilles Tjoelker [Sun, 21 Feb 2010 00:10:04 +0000 (01:10 +0100)]
Remove dead code: last_join_time is already updated by check_spambot_warning().
Jilles Tjoelker [Sun, 21 Feb 2010 00:07:32 +0000 (01:07 +0100)]
Do not check for spambot if the user is not allowed to join the channel.
Jilles Tjoelker [Fri, 19 Feb 2010 15:55:15 +0000 (16:55 +0100)]
Fix a memory leak with client certificates.
William Pitcock [Fri, 19 Feb 2010 00:38:26 +0000 (18:38 -0600)]
Do not try to free the alias dict if it does not exist.
William Pitcock [Fri, 19 Feb 2010 00:11:32 +0000 (18:11 -0600)]
Automated merge with ssh://hg.atheme.org//hg/charybdis
William Pitcock [Fri, 19 Feb 2010 00:11:23 +0000 (18:11 -0600)]
Fix libtool build issue.
Jilles Tjoelker [Thu, 18 Feb 2010 22:42:07 +0000 (23:42 +0100)]
challenge: Fix build.
William Pitcock [Thu, 18 Feb 2010 13:35:05 +0000 (07:35 -0600)]
Added tag proposed-charybdis-3.2.0 for changeset
7450d2086b3a
William Pitcock [Thu, 18 Feb 2010 13:35:01 +0000 (07:35 -0600)]
Removed tag proposed-charybdis-3.2.0
William Pitcock [Thu, 18 Feb 2010 13:34:40 +0000 (07:34 -0600)]
Documentation updates for the ip_cloaking_4.0 transition.
William Pitcock [Thu, 18 Feb 2010 13:30:26 +0000 (07:30 -0600)]
Add ip_cloaking_4.0 module, which is the same cloaking as 3.2, but moves the usermode from +h to +x,
which allows us to start transitioning this usermode change.
William Pitcock [Thu, 18 Feb 2010 05:13:42 +0000 (23:13 -0600)]
Added tag proposed-charybdis-3.2.0 for changeset
99d6cacd4454
William Pitcock [Thu, 18 Feb 2010 05:12:45 +0000 (23:12 -0600)]
Run autoreconf.
William Pitcock [Thu, 18 Feb 2010 05:12:17 +0000 (23:12 -0600)]
Set autoconf version to 3.2.0.
William Pitcock [Thu, 18 Feb 2010 05:11:33 +0000 (23:11 -0600)]
BUGS is no longer relevant, as the build system installs files in a way where this is no longer a problem.
William Pitcock [Thu, 18 Feb 2010 05:05:47 +0000 (23:05 -0600)]
Change license version in version.c.SH (GPLv1 -> GPLv2) so that it agrees with the other documentation.
William Pitcock [Thu, 18 Feb 2010 05:01:58 +0000 (23:01 -0600)]
s/o:lines/operator blocks/
William Pitcock [Thu, 18 Feb 2010 05:01:25 +0000 (23:01 -0600)]
Add certfp check to challenge too.
William Pitcock [Wed, 17 Feb 2010 12:51:41 +0000 (06:51 -0600)]
Clarify ERR_NOOPERHOST and convert it to use sendto_one_numeric().
William Pitcock [Wed, 17 Feb 2010 12:44:42 +0000 (06:44 -0600)]
hurt: unbreak compile
William Pitcock [Wed, 17 Feb 2010 12:41:41 +0000 (06:41 -0600)]
Add support for client certificate fingerprints in o:lines.
Jilles Tjoelker [Tue, 16 Feb 2010 23:38:08 +0000 (00:38 +0100)]
Update target change documentation.
Jilles Tjoelker [Tue, 16 Feb 2010 23:24:12 +0000 (00:24 +0100)]
Update NEWS.
Jilles Tjoelker [Mon, 15 Feb 2010 22:07:14 +0000 (23:07 +0100)]
Subject /invite to umodes +g and +R.
The behaviour is the same as /msg except that where
/msg would send RPL_UMODEGMSG to the user, the /invite
is instead let through. This counts as a notification
for caller_id_wait like RPL_UMODEGMSG.
Checks are on the target user's server, which means an
error message will appear after RPL_INVITING.
This must be because the accept list is not globally
known.
Jilles Tjoelker [Mon, 15 Feb 2010 21:18:00 +0000 (22:18 +0100)]
Add missing return value.
Jilles Tjoelker [Mon, 15 Feb 2010 21:08:55 +0000 (22:08 +0100)]
Subject /invite to target change.
Similar to /msg, inviting a user that is not in a channel
you have op or voice in requires a free target; opers always
have a free target.
Being invited adds the source as a reply target.
Jilles Tjoelker [Mon, 15 Feb 2010 20:58:34 +0000 (21:58 +0100)]
Move target change code to src/tgchange.c,
so we can use it for /invite as well.
Jilles Tjoelker [Mon, 15 Feb 2010 00:07:07 +0000 (01:07 +0100)]
target change: Allow free replies.
When a user receives a private message, notice or RPL_UMODEGMSG,
add the source to a special set of 5 target slots.
These slots are checked in the normal way when sending messages,
allowing a reply without using up a free target.
This feature will not be very useful if a user is being messaged
by many different users; to help this, messages blocked entirely
by +g or +R do not affect the targets. CTCP replies also remain
free in terms of targets.
Jilles Tjoelker [Sun, 14 Feb 2010 23:31:17 +0000 (00:31 +0100)]
target change: Overwrite the least recently used target with a new one.
Jilles Tjoelker [Sat, 13 Feb 2010 14:18:17 +0000 (15:18 +0100)]
Make the number of targets tracked for target change a #define.
JD Horelick [Mon, 8 Feb 2010 23:04:54 +0000 (18:04 -0500)]
English fix to fix the fix i made about 80 minutes ago.
I suck at a/an cometimes. Also, fix.
JD Horelick [Mon, 8 Feb 2010 21:28:08 +0000 (16:28 -0500)]
One or 2 English language cleanups. Less than I thought there were.
Jilles Tjoelker [Sun, 7 Feb 2010 19:38:37 +0000 (20:38 +0100)]
Add new function rb_get_ssl_certfp() to export-syms.txt.
Jilles Tjoelker [Sun, 7 Feb 2010 16:57:36 +0000 (17:57 +0100)]
testline/testgecos: Send "not an oper" message if appropriate.
Jilles Tjoelker [Fri, 5 Feb 2010 23:18:27 +0000 (00:18 +0100)]
Pass certfp to other servers and show it in whois. Do not show it on connect.
The server protocol for this is
:<uid> ENCAP * CERTFP :<40 hex chars>
both in new user introductions and in burst.
As in oftc-hybrid, only the user themselves and opers can see the certfp.
Displaying the certfp on connect seems unnecessary to me,
the user can whois themselves if needed.
Jilles Tjoelker [Tue, 2 Feb 2010 23:46:14 +0000 (00:46 +0100)]
Fix serno.h for compiles from Mercurial.
Jilles Tjoelker [Tue, 2 Feb 2010 23:44:51 +0000 (00:44 +0100)]
Apply ratbox3 workaround for too permissive inet_pton6():
Any kline (or various other things) containing * or ? is
a mask kline and not an IP kline. Ideally, rb_inet_pton_sock()
would return failure for those, but in practice this is not
always the case for IPv6.
Such a kline that is erroneously treated as an IP line
likely matches way fewer IPs than expected.
William Pitcock [Sun, 31 Jan 2010 23:35:15 +0000 (17:35 -0600)]
Clarify CertFP message.
Jilles Tjoelker [Sun, 31 Jan 2010 18:04:20 +0000 (19:04 +0100)]
Add certfp support to libratbox and ssld.
This lets a user connect with a client certificate, and
passes the certificate's fingerprint to ircd, which
currently just notices it to the user.
A new ssld->ircd message 'F' is used to pass on the
fingerprint.
This is only for OpenSSL for now, not GNUTLS.
William Pitcock [Sun, 31 Jan 2010 01:21:28 +0000 (19:21 -0600)]
Automated merge with ssh://hg.atheme.org//hg/charybdis
William Pitcock [Sun, 31 Jan 2010 01:21:17 +0000 (19:21 -0600)]
modreload: Causing an entire 50,000 user network to crash due to user-error is a bad idea, don't let it happen again by not allowing paths in /modreload.
Jilles Tjoelker [Sun, 31 Jan 2010 00:40:43 +0000 (01:40 +0100)]
Slightly tighten auth{} duplicate check:
If the existing auth{} block has no auth_user, it will
trump any auth{} block for the same u@h.
Jilles Tjoelker [Sun, 31 Jan 2010 00:36:37 +0000 (01:36 +0100)]
Take auth_user into account when detecting redundant/duplicate auth{}.
from ircd-seven (spb)
Jilles Tjoelker [Sun, 31 Jan 2010 00:30:25 +0000 (01:30 +0100)]
No need to be paranoid about clearing auth_user.
It is a username, not a password.
Jilles Tjoelker [Sun, 31 Jan 2010 00:29:08 +0000 (01:29 +0100)]
Fix memory leak with auth_user.
from ircd-seven (spb)
Jilles Tjoelker [Sat, 30 Jan 2010 14:57:10 +0000 (15:57 +0100)]
Remove remnants of <foo>_t typedefs.
Jilles Tjoelker [Wed, 27 Jan 2010 20:05:10 +0000 (21:05 +0100)]
Fix /links buffer overflow.
Jilles Tjoelker [Sun, 24 Jan 2010 18:37:00 +0000 (19:37 +0100)]
Fix op-moderate (cmode +z) for channel names with '@'.
Jilles Tjoelker [Fri, 22 Jan 2010 01:02:45 +0000 (02:02 +0100)]
Do not read in help files starting with a dot (including dot and dot-dot).
Jilles Tjoelker [Fri, 22 Jan 2010 00:41:48 +0000 (01:41 +0100)]
Fix include/serno.h generation.
Apparently #value# is no longer special in hg templates.
Jilles Tjoelker [Thu, 21 Jan 2010 23:09:56 +0000 (00:09 +0100)]
Fix memory leak and bad error reporting with posix_spawn():
* an initialized posix_spawnattr_t must be destroyed
* posix_spawn() returns an error number instead of setting errno
libratbox trunk r26730
Stephen Bennett [Thu, 21 Jan 2010 16:27:34 +0000 (16:27 +0000)]
Don't cache files that are empty or not files. Avoids crashing on the likes of 'HELP .'
Jilles Tjoelker [Tue, 19 Jan 2010 23:03:57 +0000 (00:03 +0100)]
Put back
fb7d6089158e , not setting large_ctcp_sent for CTCP ACTION.
William Pitcock [Tue, 19 Jan 2010 08:11:04 +0000 (02:11 -0600)]
Merge +C (no CTCP to channels) from ircd-seven.
William Pitcock [Tue, 19 Jan 2010 07:47:27 +0000 (01:47 -0600)]
Automated merge with ssh://hg.atheme.org//hg/charybdis
William Pitcock [Tue, 19 Jan 2010 07:47:21 +0000 (01:47 -0600)]
supported: Add CLIENTVER=3.0 to indicate presence of 3.0 core capabilities (such as CAP, extended WHO, etc) as requested by LifeIsPain.
Jilles Tjoelker [Thu, 14 Jan 2010 00:12:16 +0000 (01:12 +0100)]
Do not set large_ctcp_sent for CTCP ACTION as it does not request a reply.
Jilles Tjoelker [Sat, 9 Jan 2010 21:14:53 +0000 (22:14 +0100)]
If a removed resv was temporary, mention this in the server notice.
This agrees with xline.
Jilles Tjoelker [Sat, 9 Jan 2010 21:12:06 +0000 (22:12 +0100)]
Add back unresv (permanent resv) notices.
Jilles Tjoelker [Sat, 9 Jan 2010 18:08:48 +0000 (19:08 +0100)]
Put back resv_forcepart.
This undoes erroneous revert in
a3c064b3b8a2 .
Jilles Tjoelker [Fri, 8 Jan 2010 17:46:29 +0000 (18:46 +0100)]
Complete the move of xlines and resvs from aconf->name to aconf->host.
Jilles Tjoelker [Fri, 8 Jan 2010 17:17:16 +0000 (18:17 +0100)]
bantool: change empty oper fields to "unknown".
Otherwise they would cause a crash when ircd tries to load them.
Jilles Tjoelker [Fri, 8 Jan 2010 17:13:47 +0000 (18:13 +0100)]
Do not change \s in xlines to spaces, match_esc() treats \s correctly.
This undoes erroneous revert in
a3c064b3b8a2 .
Jilles Tjoelker [Fri, 8 Jan 2010 15:02:30 +0000 (16:02 +0100)]
Fix build: we need -DSQLITE_THREADSAFE=0 -DSQLITE_OMIT_LOAD_EXTENSION=1
for the sqlite sources.
William Pitcock [Fri, 8 Jan 2010 00:17:08 +0000 (18:17 -0600)]
Add back missing notices.
William Pitcock [Fri, 8 Jan 2010 00:14:15 +0000 (18:14 -0600)]
Fix up more things with bandb.
William Pitcock [Fri, 8 Jan 2010 00:06:15 +0000 (18:06 -0600)]
Load in new bans from bandb on startup.
William Pitcock [Thu, 7 Jan 2010 23:50:49 +0000 (17:50 -0600)]
Make this work again.
William Pitcock [Thu, 7 Jan 2010 23:49:08 +0000 (17:49 -0600)]
Make this work again.
William Pitcock [Thu, 7 Jan 2010 23:37:52 +0000 (17:37 -0600)]
Readd some oper notices.
William Pitcock [Thu, 7 Jan 2010 23:22:44 +0000 (17:22 -0600)]
Start bandb on ircd initialization.
William Pitcock [Thu, 7 Jan 2010 23:19:03 +0000 (17:19 -0600)]
Update modules to use bandb_add()/bandb_del().
William Pitcock [Thu, 7 Jan 2010 23:10:16 +0000 (17:10 -0600)]
Add bandb IRCd APIs.
William Pitcock [Thu, 7 Jan 2010 23:00:24 +0000 (17:00 -0600)]
Add sqlite3 to build.
William Pitcock [Thu, 7 Jan 2010 23:00:18 +0000 (17:00 -0600)]
bantool: Fix compilation error.
William Pitcock [Thu, 7 Jan 2010 22:55:34 +0000 (16:55 -0600)]
Add DBPATH.
William Pitcock [Thu, 7 Jan 2010 22:51:32 +0000 (16:51 -0600)]
Run autoreconf.
William Pitcock [Thu, 7 Jan 2010 22:51:09 +0000 (16:51 -0600)]
Link bandb to build.
William Pitcock [Thu, 7 Jan 2010 22:50:34 +0000 (16:50 -0600)]
Add bandb code.
William Pitcock [Thu, 7 Jan 2010 22:02:56 +0000 (16:02 -0600)]
Automated merge with ssh://hg.atheme.org//hg/charybdis
William Pitcock [Thu, 7 Jan 2010 22:02:50 +0000 (16:02 -0600)]
Update trunk to 3.2 (non-release).
Jilles Tjoelker [Fri, 1 Jan 2010 21:55:25 +0000 (22:55 +0100)]
SCAN UMODES: default list-max to 500, like a global WHO.
Jilles Tjoelker [Fri, 1 Jan 2010 21:46:34 +0000 (22:46 +0100)]
Update some copyright years.
Jilles Tjoelker [Fri, 25 Dec 2009 23:25:52 +0000 (00:25 +0100)]
ts6-protocol.txt: mention meaning of capabs EX, IE, SERVICES, KNOCK.
Jilles Tjoelker [Mon, 21 Dec 2009 15:58:25 +0000 (16:58 +0100)]
Remove FLAGS_SENDQEX, fix sendq exceeded snotes for servers.
from ircd-ratbox
Jilles Tjoelker [Tue, 17 Nov 2009 23:00:07 +0000 (00:00 +0100)]
Add two more reasons why ssld_count>1 can be useful: bugs and fd limits.
Jilles Tjoelker [Sun, 15 Nov 2009 22:11:18 +0000 (23:11 +0100)]
ssld: Fix an fd leak when closing connections.
Lightly tested.
Jilles Tjoelker [Sun, 15 Nov 2009 21:41:02 +0000 (22:41 +0100)]
ssld: Do not crash if not all fds in a message could be received.
Actually fill the mod_ctl_buf_t.nfds field.
William Pitcock [Sun, 25 Oct 2009 02:07:53 +0000 (21:07 -0500)]
Automated merge with ssh://hg.atheme.org//hg/charybdis