Commit Graph

1427 Commits

Author SHA1 Message Date
Jilles Tjoelker e6a0717d15 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.
2008-09-24 23:13:10 +02:00
Jilles Tjoelker 8e28bf2936 ip_cloaking: clarify logic
This also slightly changes mangled IPs but the
mangling is on the same level.
2008-09-20 00:30:35 +02:00
Jilles Tjoelker 00b7ddcc53 ip_cloaking: remove some unnecessary braces 2008-09-19 23:44:56 +02:00
Jilles Tjoelker 9b9c8484ed ip_cloaking: fix digits in hostnames 2008-09-19 23:42:28 +02:00
Jilles Tjoelker 8109e8e320 ip_cloaking: fix HOSTLEN buffer lengths,
could have truncated one char it shouldn't
2008-09-19 23:41:22 +02:00
Jilles Tjoelker 799483e7ea More ip_cloaking improvements from Spaz.
The mangling function now creates more variation,
and more of numeric IPs is mangled.
2008-09-19 23:35:43 +02:00
William Pitcock d7cff1d11b Automated merge with http://hg.atheme.org/charybdis 2008-09-17 03:25:19 -05:00
Jacob Myers 18395f4fa8 Improved cloaking. It now uses an FNV hash, which makes IP's much more
difficult to predict.
2008-09-17 04:15:51 -04:00
William Pitcock 1596c1242e Copy ip_cloaking.c to ip_cloaking_3.0.c 2008-09-17 03:23:06 -05:00
Jilles Tjoelker 1f24b3b1c2 Make sno_globalkline work for servers without kline_reason, but only for temps. 2008-09-17 00:24:50 +02:00
Jilles Tjoelker 4f2b6c0b38 Allow clearing general::kline_reason via a rehash. 2008-09-17 00:21:00 +02:00
Jilles Tjoelker 18c12212b7 Add more detail in squit reason for certain invalid NICK/UID/EUID commands. 2008-09-16 22:53:44 +02:00
Jilles Tjoelker 72bb40038d Enhance description of umode +S. 2008-09-13 19:10:57 +02:00
Jilles Tjoelker 5ee5c31c51 Note extra server wallops in recent versions. 2008-09-13 18:46:03 +02:00
Jilles Tjoelker 637b590f9e Put oper privileges in alphabetical order in the sgml docs. 2008-09-13 00:46:20 +02:00
Jilles Tjoelker 88d08e8496 Fix oper:remote in reference.conf. 2008-09-13 00:34:52 +02:00
Jilles Tjoelker ebe5601796 Document privsets in the example confs. 2008-09-13 00:32:22 +02:00
Jilles Tjoelker d2e3bb4a19 Pick up remote to oper:routing change. 2008-09-13 00:29:15 +02:00
Jilles Tjoelker 1a745bf1a5 Update SGML docs for need_ssl and new oper priv system. 2008-09-09 23:32:19 +02:00
Jilles Tjoelker 850b23f3a9 Remove old oper privilege flags. 2008-09-09 21:51:26 +02:00
Jilles Tjoelker 92ee45c4b8 Document need_ssl flags in example.conf. 2008-09-09 21:46:12 +02:00
Jilles Tjoelker 3c80e9d634 Avoid hardcoding the number of shared{} flags another time. 2008-09-09 18:42:59 +02:00
Jilles Tjoelker 90b9ef6c6d Fix indentation. 2008-09-09 18:40:57 +02:00
Jilles Tjoelker 663bbb2836 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
2008-09-07 01:18:58 +02:00
Jilles Tjoelker 73f50e08ea Fix possible crash with m_mkpasswd extension. 2008-09-06 21:49:45 +02:00
Jilles Tjoelker 4137c21c96 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.
2008-09-06 15:13:28 +02:00
Jilles Tjoelker 77a742c11c Remove check that cannot happen due to minparc in Message struct. 2008-09-06 01:33:18 +02:00
Jilles Tjoelker c71ae7f0dc 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.
2008-09-06 01:21:16 +02:00
Jilles Tjoelker 5b0a527927 Use rb_snprintf() in various places. 2008-09-06 01:00:20 +02:00
Jilles Tjoelker 341504a702 Remove comment referencing LazyLeaf. 2008-09-06 00:44:09 +02:00
Jilles Tjoelker bdfc9ce626 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.
2008-09-05 22:56:59 +02:00
Jilles Tjoelker deb7449471 Improve server notices for servers introducing existing servers. 2008-09-05 22:52:39 +02:00
Jilles Tjoelker 9649981ba7 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.
2008-09-04 01:41:49 +02:00
Jilles Tjoelker 64973a71e6 Do not use get_oper_name() for a netwide server notice, it may be confusing. 2008-09-02 23:44:06 +02:00
Jilles Tjoelker 44d450f242 Correct spelling of oper:remoteban in example.conf. 2008-09-02 23:42:51 +02:00
Jilles Tjoelker 0d499ee5f9 oper:adminwall priv seems meaningless, remove it. 2008-09-02 23:40:22 +02:00
Valeriy Yatsko d05e3e3a7b We don't want to leave the isupport name in the extension memory space on changing it - fixed a bug (tnx Artem@IrcNet(RU)) 2008-08-31 03:57:27 +04:00
William Pitcock 508c7c41fe Make change_isupport() return the old value!!! 2008-08-29 15:36:41 -05:00
William Pitcock 17ad49a96a Add change_isupport() to change the value of an ISUPPORT token. 2008-08-29 15:27:34 -05:00
William Pitcock 9ac19244c0 Automated merge with ssh://hg.atheme.org//hg/charybdis 2008-08-29 14:48:06 -05:00
Stephen Bennett 1d53b4283b don't set an empty password or auth_user 2008-08-29 14:47:51 -05:00
William Pitcock 978daf7118 Automated branch merge. 2008-08-29 14:46:39 -05:00
William Pitcock 016746cfc2 Backed out changeset 7f24e5f3fb86 2008-08-29 14:46:19 -05:00
Stephen Bennett 645103ac52 If auth_user and server password were given and not used, use auth_user as an account name in the nickserv identify command 2008-08-29 14:45:30 -05:00
Stephen Bennett 299ad32f98 If auth_user and server password were given and not used, use auth_user as an account name in the nickserv identify command 2008-08-29 14:45:22 -05:00
Jilles Tjoelker 628eee0041 Remove some dead code.
found using llvm static analyzer
2008-08-29 02:53:52 +02:00
Jilles Tjoelker ef8e4220ec Fix a memory leak.
found using llvm static analyzer
2008-08-29 01:58:10 +02:00
Jilles Tjoelker d3b22631c1 Make genssl.sh work.
Submitted by jdhore.
2008-08-29 01:34:18 +02:00
Jilles Tjoelker 0cdd90ce79 Fix comment, getsockname() can fail legitimately.
from ircd-ratbox r25967 (jilles)
2008-08-28 01:06:19 +02:00
Jilles Tjoelker c80be1ec80 Don't try to add a closed connection.
ircd-ratbox r25965 (jilles)
2008-08-28 01:05:41 +02:00