Jilles Tjoelker
d9439a0eee
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
5067fe0e81
ip_cloaking: remove some unnecessary braces
2008-09-19 23:44:56 +02:00
Jilles Tjoelker
9d99a3096c
ip_cloaking: fix digits in hostnames
2008-09-19 23:42:28 +02:00
Jilles Tjoelker
e1c1f08d24
ip_cloaking: fix HOSTLEN buffer lengths,
...
could have truncated one char it shouldn't
2008-09-19 23:41:22 +02:00
Jilles Tjoelker
3213b626a4
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
14f12985df
Automated merge with http://hg.atheme.org/charybdis
2008-09-17 03:25:19 -05:00
Jacob Myers
4acae09f3d
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
0469849f16
Copy ip_cloaking.c to ip_cloaking_3.0.c
2008-09-17 03:23:06 -05:00
Jilles Tjoelker
fb47b36663
Make sno_globalkline work for servers without kline_reason, but only for temps.
2008-09-17 00:24:50 +02:00
Jilles Tjoelker
d61a1c7e13
Allow clearing general::kline_reason via a rehash.
2008-09-17 00:21:00 +02:00
Jilles Tjoelker
56023eb2e8
Add more detail in squit reason for certain invalid NICK/UID/EUID commands.
2008-09-16 22:53:44 +02:00
Jilles Tjoelker
65662fdff8
Enhance description of umode +S.
2008-09-13 19:10:57 +02:00
Jilles Tjoelker
842fdfb1c3
Note extra server wallops in recent versions.
2008-09-13 18:46:03 +02:00
Jilles Tjoelker
17f9c74a0a
Put oper privileges in alphabetical order in the sgml docs.
2008-09-13 00:46:20 +02:00
Jilles Tjoelker
3eae266ca3
Fix oper:remote in reference.conf.
2008-09-13 00:34:52 +02:00
Jilles Tjoelker
da77b103ef
Document privsets in the example confs.
2008-09-13 00:32:22 +02:00
Jilles Tjoelker
d7703c583e
Pick up remote to oper:routing change.
2008-09-13 00:29:15 +02:00
Jilles Tjoelker
5b5e9c89ea
Update SGML docs for need_ssl and new oper priv system.
2008-09-09 23:32:19 +02:00
Jilles Tjoelker
10847f65d3
Remove old oper privilege flags.
2008-09-09 21:51:26 +02:00
Jilles Tjoelker
3e664be375
Document need_ssl flags in example.conf.
2008-09-09 21:46:12 +02:00
Jilles Tjoelker
591342826a
Avoid hardcoding the number of shared{} flags another time.
2008-09-09 18:42:59 +02:00
Jilles Tjoelker
7d91f0da00
Fix indentation.
2008-09-09 18:40:57 +02:00
Jilles Tjoelker
b159441429
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
17b97f3024
Fix possible crash with m_mkpasswd extension.
2008-09-06 21:49:45 +02:00
Jilles Tjoelker
4a5655b20d
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
8c29ec4eeb
Remove check that cannot happen due to minparc in Message struct.
2008-09-06 01:33:18 +02:00
Jilles Tjoelker
8f7ca682ec
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
c2f73e5dbc
Use rb_snprintf() in various places.
2008-09-06 01:00:20 +02:00
Jilles Tjoelker
847ce0e98d
Remove comment referencing LazyLeaf.
2008-09-06 00:44:09 +02:00
Jilles Tjoelker
b1ace057a7
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
7d4287591f
Improve server notices for servers introducing existing servers.
2008-09-05 22:52:39 +02:00
Jilles Tjoelker
8e34ffc66e
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
b92d34adc1
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
477dc2e926
Correct spelling of oper:remoteban in example.conf.
2008-09-02 23:42:51 +02:00
Jilles Tjoelker
3fe1c72819
oper:adminwall priv seems meaningless, remove it.
2008-09-02 23:40:22 +02:00
Valeriy Yatsko
41d8802e84
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
5d47bdca0f
Make change_isupport() return the old value!!!
2008-08-29 15:36:41 -05:00
William Pitcock
474b0d3515
Add change_isupport() to change the value of an ISUPPORT token.
2008-08-29 15:27:34 -05:00
William Pitcock
86b6be08eb
Automated merge with ssh://hg.atheme.org//hg/charybdis
2008-08-29 14:48:06 -05:00
Stephen Bennett
9f1bde2683
don't set an empty password or auth_user
2008-08-29 14:47:51 -05:00
William Pitcock
4bb1bfdbc4
Automated branch merge.
2008-08-29 14:46:39 -05:00
William Pitcock
917e9b1ab4
Backed out changeset 7f24e5f3fb86
2008-08-29 14:46:19 -05:00
Stephen Bennett
12f4addbed
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
81c7f48295
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
d7dc7ae6c1
Remove some dead code.
...
found using llvm static analyzer
2008-08-29 02:53:52 +02:00
Jilles Tjoelker
ab2b9e23cc
Fix a memory leak.
...
found using llvm static analyzer
2008-08-29 01:58:10 +02:00
Jilles Tjoelker
03c1fe2153
Make genssl.sh work.
...
Submitted by jdhore.
2008-08-29 01:34:18 +02:00
Jilles Tjoelker
d60a42a27f
Fix comment, getsockname() can fail legitimately.
...
from ircd-ratbox r25967 (jilles)
2008-08-28 01:06:19 +02:00
Jilles Tjoelker
9692f954c6
Don't try to add a closed connection.
...
ircd-ratbox r25965 (jilles)
2008-08-28 01:05:41 +02:00
Jilles Tjoelker
3540120ad5
Fix ident for ssl connections.
2008-08-28 00:49:04 +02:00