]>
jfr.im git - irc/rqf/shadowircd.git/log
Jilles Tjoelker [Sun, 30 Nov 2008 12:31:59 +0000 (13:31 +0100)]
Split cidr_bitlen into cidr_ipv4_bitlen and cidr_ipv6_bitlen.
Taken from ircd-ratbox 3 via shadowircd.
Jilles Tjoelker [Sat, 29 Nov 2008 21:22:18 +0000 (22:22 +0100)]
Allow coloured part reasons in -c channels.
Jilles Tjoelker [Fri, 28 Nov 2008 14:51:52 +0000 (15:51 +0100)]
Remove reference to old maxconnections way.
Jilles Tjoelker [Fri, 28 Nov 2008 14:48:41 +0000 (15:48 +0100)]
Add sgml documentation for /quote set.
Jilles Tjoelker [Thu, 27 Nov 2008 21:50:01 +0000 (22:50 +0100)]
Remove unnecessary initialization that violates const.
Jilles Tjoelker [Wed, 26 Nov 2008 20:38:49 +0000 (21:38 +0100)]
Put back accidentally removed word.
Jilles Tjoelker [Tue, 25 Nov 2008 23:07:12 +0000 (00:07 +0100)]
Improve note about case sensitivity.
Jilles Tjoelker [Tue, 25 Nov 2008 22:58:24 +0000 (23:58 +0100)]
Mention how to specify the default port in a remote connect.
Jilles Tjoelker [Sat, 22 Nov 2008 17:51:00 +0000 (18:51 +0100)]
Correct buffer without space for '\0', should have been safe due to padding.
Jilles Tjoelker [Wed, 19 Nov 2008 21:45:13 +0000 (22:45 +0100)]
Make the notices reporting auth{} privs a bit more serious-looking,
as in ratbox3.
Aaron Sethman [Sun, 16 Nov 2008 07:04:09 +0000 (10:04 +0300)]
make is_cti/is_sti collect times connected in unsigned long long instead of time_t as well..on 32bit boxes that is going to wrap pretty quickly
committer: Valeriy Yatsko <redacted>
Jilles Tjoelker [Sat, 15 Nov 2008 21:56:09 +0000 (22:56 +0100)]
Allow +z messages from outside if -n.
This gives a useful meaning to the cmode combo +mz-n:
messages from ops and voices go to all channel members,
messages from anyone else (on or off channel) go to ops.
With +mnz, messages from outside are not allowed at all.
Jilles Tjoelker [Sat, 15 Nov 2008 20:15:38 +0000 (21:15 +0100)]
Truncate idle time in /who to 32 bits.
Pointed out by dwr (but solved differently).
Jilles Tjoelker [Sat, 15 Nov 2008 15:17:16 +0000 (16:17 +0100)]
Only require DNSBL replies to be in 127.0.0.0/8 instead of /24.
Jilles Tjoelker [Sat, 15 Nov 2008 15:13:39 +0000 (16:13 +0100)]
Allow the resolver to process longer hostnames,
for the benefit of some DNSBLs like the "TorDNSEL service".
Jilles Tjoelker [Sun, 9 Nov 2008 00:05:39 +0000 (01:05 +0100)]
Should use rb_strlcpy instead of strlcpy...
Jilles Tjoelker [Sat, 8 Nov 2008 23:27:15 +0000 (00:27 +0100)]
Add WHOX to 005 so we can see if much breaks.
Jilles Tjoelker [Sat, 8 Nov 2008 23:13:48 +0000 (00:13 +0100)]
Remove LOCAL_COPY (and thus alloca) usage from /who.
Jilles Tjoelker [Sat, 8 Nov 2008 23:13:29 +0000 (00:13 +0100)]
who: Use @+ combining for 354 numeric.
The 352 numeric uses it if CAP multi-prefix is enabled, as before.
Jilles Tjoelker [Sat, 8 Nov 2008 23:12:56 +0000 (00:12 +0100)]
Add ircu-like /who format options.
Use /quote help who for details.
The format code "o" (oplevel) is not documented,
but implemented showing dummy information (999 for
chanop, n/a otherwise).
Jilles Tjoelker [Sat, 8 Nov 2008 23:05:15 +0000 (00:05 +0100)]
Make comment for ms_join() up to date.
Jilles Tjoelker [Sat, 8 Nov 2008 16:22:41 +0000 (17:22 +0100)]
Show spambot notices for joins, not for parts.
Parts still decrement the counter for showing notices.
This shows more channels in the notices.
Jilles Tjoelker [Sat, 8 Nov 2008 00:28:16 +0000 (01:28 +0100)]
Allow normal users to use /chantrace.
The same information is already available via a
combination of /who and /trace.
Jilles Tjoelker [Thu, 6 Nov 2008 23:41:26 +0000 (00:41 +0100)]
Mention in /quote help cmode that +b/+q prevent nick changes, and +b (too) sending.
Jilles Tjoelker [Thu, 6 Nov 2008 23:36:49 +0000 (00:36 +0100)]
Make /quote help who more detailed.
Jilles Tjoelker [Fri, 31 Oct 2008 09:57:51 +0000 (10:57 +0100)]
Add the IP address to userlog, as in ratbox3.
Jilles Tjoelker [Sun, 19 Oct 2008 15:31:53 +0000 (17:31 +0200)]
Rerun autoconf.
Jilles Tjoelker [Sun, 19 Oct 2008 15:27:35 +0000 (17:27 +0200)]
Check that --with-nicklen was passed a numeric value.
ircd-ratbox r26144 (androsyn)
Jilles Tjoelker [Wed, 24 Sep 2008 22:00:36 +0000 (00:00 +0200)]
Do not send snotes/logs about juped servers trying to connect.
A juped server is defined as a server that already
exists with a service{} server as uplink.
If a juped server is introduced by another server,
this generates snotes/logs as before.
Jilles Tjoelker [Wed, 24 Sep 2008 21:13:10 +0000 (23:13 +0200)]
Make TS deops appear to come from the same server the other modes come from.
In particular, this makes atheme changets deops come
from the services server instead of the user's server.
Jilles Tjoelker [Fri, 19 Sep 2008 22:30:35 +0000 (00:30 +0200)]
ip_cloaking: clarify logic
This also slightly changes mangled IPs but the
mangling is on the same level.
Jilles Tjoelker [Fri, 19 Sep 2008 21:44:56 +0000 (23:44 +0200)]
ip_cloaking: remove some unnecessary braces
Jilles Tjoelker [Fri, 19 Sep 2008 21:42:28 +0000 (23:42 +0200)]
ip_cloaking: fix digits in hostnames
Jilles Tjoelker [Fri, 19 Sep 2008 21:41:22 +0000 (23:41 +0200)]
ip_cloaking: fix HOSTLEN buffer lengths,
could have truncated one char it shouldn't
Jilles Tjoelker [Fri, 19 Sep 2008 21:35:43 +0000 (23:35 +0200)]
More ip_cloaking improvements from Spaz.
The mangling function now creates more variation,
and more of numeric IPs is mangled.
William Pitcock [Wed, 17 Sep 2008 08:25:19 +0000 (03:25 -0500)]
Automated merge with http://hg.atheme.org/charybdis
Jacob Myers [Wed, 17 Sep 2008 08:15:51 +0000 (04:15 -0400)]
Improved cloaking. It now uses an FNV hash, which makes IP's much more
difficult to predict.
William Pitcock [Wed, 17 Sep 2008 08:23:06 +0000 (03:23 -0500)]
Copy ip_cloaking.c to ip_cloaking_3.0.c
Jilles Tjoelker [Tue, 16 Sep 2008 22:24:50 +0000 (00:24 +0200)]
Make sno_globalkline work for servers without kline_reason, but only for temps.
Jilles Tjoelker [Tue, 16 Sep 2008 22:21:00 +0000 (00:21 +0200)]
Allow clearing general::kline_reason via a rehash.
Jilles Tjoelker [Tue, 16 Sep 2008 20:53:44 +0000 (22:53 +0200)]
Add more detail in squit reason for certain invalid NICK/UID/EUID commands.
Jilles Tjoelker [Sat, 13 Sep 2008 17:10:57 +0000 (19:10 +0200)]
Enhance description of umode +S.
Jilles Tjoelker [Sat, 13 Sep 2008 16:46:03 +0000 (18:46 +0200)]
Note extra server wallops in recent versions.
Jilles Tjoelker [Fri, 12 Sep 2008 22:46:20 +0000 (00:46 +0200)]
Put oper privileges in alphabetical order in the sgml docs.
Jilles Tjoelker [Fri, 12 Sep 2008 22:34:52 +0000 (00:34 +0200)]
Fix oper:remote in reference.conf.
Jilles Tjoelker [Fri, 12 Sep 2008 22:32:22 +0000 (00:32 +0200)]
Document privsets in the example confs.
Jilles Tjoelker [Fri, 12 Sep 2008 22:29:15 +0000 (00:29 +0200)]
Pick up remote to oper:routing change.
Jilles Tjoelker [Tue, 9 Sep 2008 21:32:19 +0000 (23:32 +0200)]
Update SGML docs for need_ssl and new oper priv system.
Jilles Tjoelker [Tue, 9 Sep 2008 19:51:26 +0000 (21:51 +0200)]
Remove old oper privilege flags.
Jilles Tjoelker [Tue, 9 Sep 2008 19:46:12 +0000 (21:46 +0200)]
Document need_ssl flags in example.conf.
Jilles Tjoelker [Tue, 9 Sep 2008 16:42:59 +0000 (18:42 +0200)]
Avoid hardcoding the number of shared{} flags another time.
Jilles Tjoelker [Tue, 9 Sep 2008 16:40:57 +0000 (18:40 +0200)]
Fix indentation.
Jilles Tjoelker [Sat, 6 Sep 2008 23:18:58 +0000 (01:18 +0200)]
Add need_ssl to auth{} and operator{}.
Specifying need_ssl on auth{} denies the connection if
it is not SSL/TLS, much like need_ident or need_sasl.
Specifying need_ssl on operator{} refuses opering with
ERR_NOOPERHOST if the connection is not SSL/TLS.
from ircd-ratbox
Jilles Tjoelker [Sat, 6 Sep 2008 19:49:45 +0000 (21:49 +0200)]
Fix possible crash with m_mkpasswd extension.
Jilles Tjoelker [Sat, 6 Sep 2008 13:13:28 +0000 (15:13 +0200)]
Close the link that sends an invalid UID.
It does not make sense to send a kill using an invlid
identifier to an obviously broken server, as was
previously done.
Jilles Tjoelker [Fri, 5 Sep 2008 23:33:18 +0000 (01:33 +0200)]
Remove check that cannot happen due to minparc in Message struct.
Jilles Tjoelker [Fri, 5 Sep 2008 23:21:16 +0000 (01:21 +0200)]
Improve server notices for hub_mask/leaf_mask.
Local-only server notices kept here because
hub_mask/leaf_mask tends to be specific to a (hub)
server. The same information is now available in
Netsplit notices.
Jilles Tjoelker [Fri, 5 Sep 2008 23:00:20 +0000 (01:00 +0200)]
Use rb_snprintf() in various places.
Jilles Tjoelker [Fri, 5 Sep 2008 22:44:09 +0000 (00:44 +0200)]
Remove comment referencing LazyLeaf.
Jilles Tjoelker [Fri, 5 Sep 2008 20:56:59 +0000 (22:56 +0200)]
Avoid empty strings in various notices about rejected server connections.
These come from the name field which is empty for unknown
connections attempting to become a server.
Instead, put [@255.255.255.255] just like ratbox3 does.
Jilles Tjoelker [Fri, 5 Sep 2008 20:52:39 +0000 (22:52 +0200)]
Improve server notices for servers introducing existing servers.
Jilles Tjoelker [Wed, 3 Sep 2008 23:41:49 +0000 (01:41 +0200)]
Improve server notices about duplicate SIDs.
Note that this is checked after duplicate server names,
so it can only happen if multiple servers have the
same SID configured.
Jilles Tjoelker [Tue, 2 Sep 2008 21:44:06 +0000 (23:44 +0200)]
Do not use get_oper_name() for a netwide server notice, it may be confusing.
Jilles Tjoelker [Tue, 2 Sep 2008 21:42:51 +0000 (23:42 +0200)]
Correct spelling of oper:remoteban in example.conf.
Jilles Tjoelker [Tue, 2 Sep 2008 21:40:22 +0000 (23:40 +0200)]
oper:adminwall priv seems meaningless, remove it.
Valeriy Yatsko [Sat, 30 Aug 2008 23:57:27 +0000 (03:57 +0400)]
We don't want to leave the isupport name in the extension memory space on changing it - fixed a bug (tnx Artem@IrcNet(RU))
William Pitcock [Fri, 29 Aug 2008 20:36:41 +0000 (15:36 -0500)]
Make change_isupport() return the old value!!!
William Pitcock [Fri, 29 Aug 2008 20:27:34 +0000 (15:27 -0500)]
Add change_isupport() to change the value of an ISUPPORT token.
William Pitcock [Fri, 29 Aug 2008 19:48:06 +0000 (14:48 -0500)]
Automated merge with ssh://hg.atheme.org//hg/charybdis
Stephen Bennett [Fri, 29 Aug 2008 19:47:51 +0000 (14:47 -0500)]
don't set an empty password or auth_user
William Pitcock [Fri, 29 Aug 2008 19:46:39 +0000 (14:46 -0500)]
Automated branch merge.
William Pitcock [Fri, 29 Aug 2008 19:46:19 +0000 (14:46 -0500)]
Backed out changeset
7f24e5f3fb86
Stephen Bennett [Fri, 29 Aug 2008 19:45:30 +0000 (14:45 -0500)]
If auth_user and server password were given and not used, use auth_user as an account name in the nickserv identify command
Stephen Bennett [Fri, 29 Aug 2008 19:45:22 +0000 (14:45 -0500)]
If auth_user and server password were given and not used, use auth_user as an account name in the nickserv identify command
Jilles Tjoelker [Fri, 29 Aug 2008 00:53:52 +0000 (02:53 +0200)]
Remove some dead code.
found using llvm static analyzer
Jilles Tjoelker [Thu, 28 Aug 2008 23:58:10 +0000 (01:58 +0200)]
Fix a memory leak.
found using llvm static analyzer
Jilles Tjoelker [Thu, 28 Aug 2008 23:34:18 +0000 (01:34 +0200)]
Make genssl.sh work.
Submitted by jdhore.
Jilles Tjoelker [Wed, 27 Aug 2008 23:06:19 +0000 (01:06 +0200)]
Fix comment, getsockname() can fail legitimately.
from ircd-ratbox r25967 (jilles)
Jilles Tjoelker [Wed, 27 Aug 2008 23:05:41 +0000 (01:05 +0200)]
Don't try to add a closed connection.
ircd-ratbox r25965 (jilles)
Jilles Tjoelker [Wed, 27 Aug 2008 22:49:04 +0000 (00:49 +0200)]
Fix ident for ssl connections.
Jilles Tjoelker [Mon, 25 Aug 2008 22:00:11 +0000 (00:00 +0200)]
Remove another remnant of server hostmasking.
Jilles Tjoelker [Mon, 25 Aug 2008 16:48:30 +0000 (18:48 +0200)]
ssld: un #if 0 the /dev/null stuff out
Jilles Tjoelker [Mon, 25 Aug 2008 16:24:24 +0000 (18:24 +0200)]
Clear privset on deoper.
Jilles Tjoelker [Sun, 17 Aug 2008 22:55:12 +0000 (00:55 +0200)]
Fix crash if there is no privset= in an operator{}.
Jilles Tjoelker [Sun, 17 Aug 2008 20:55:57 +0000 (22:55 +0200)]
Use C locale for the compilation date.
William Pitcock [Sun, 17 Aug 2008 14:30:31 +0000 (09:30 -0500)]
update TODO
William Pitcock [Sun, 17 Aug 2008 13:58:34 +0000 (08:58 -0500)]
privset example: Add a privset for local bots like BOPM and TCMs.
William Pitcock [Sun, 17 Aug 2008 13:56:40 +0000 (08:56 -0500)]
m_privs: Add stuff for privsets here too.
William Pitcock [Sun, 17 Aug 2008 13:52:04 +0000 (08:52 -0500)]
HasPrivilege(): check to make sure localClient and localClient.privset are non-NULL.
William Pitcock [Sun, 17 Aug 2008 13:40:10 +0000 (08:40 -0500)]
/stats o: display name of privset instead of privs
William Pitcock [Sun, 17 Aug 2008 13:36:17 +0000 (08:36 -0500)]
All modules converted to use privsets by porting the macro over.
New macro, HasPrivilege() does most of the work here, the old IsOper*() macros
are deprecated, and will likely be removed later.
William Pitcock [Sun, 17 Aug 2008 13:23:40 +0000 (08:23 -0500)]
Make a reference to privset in Client.localClient.
William Pitcock [Sun, 17 Aug 2008 13:22:56 +0000 (08:22 -0500)]
privilegeset_ref(): return the privilegeset
William Pitcock [Sun, 17 Aug 2008 13:08:23 +0000 (08:08 -0500)]
Make use of the new default privset!!
William Pitcock [Sun, 17 Aug 2008 13:06:28 +0000 (08:06 -0500)]
ircd initialization: add a "default" privset with no privs.
William Pitcock [Sun, 17 Aug 2008 12:53:32 +0000 (07:53 -0500)]
Automated merge with ssh://hg.atheme.org//hg/charybdis
William Pitcock [Sun, 17 Aug 2008 12:53:29 +0000 (07:53 -0500)]
update oper line
Jilles Tjoelker [Sun, 17 Aug 2008 12:49:01 +0000 (14:49 +0200)]
Add 328 numeric (ChanServ channel URL) to the header files.
William Pitcock [Sun, 17 Aug 2008 12:47:06 +0000 (07:47 -0500)]
same bug
Jilles Tjoelker [Sun, 17 Aug 2008 12:46:29 +0000 (14:46 +0200)]
Remove another servlink remnant.