Commit graph

218 commits

Author SHA1 Message Date
Nathan Phillip Brink
c74836dc4a Add explicit support for being installed into a system triggered with --enable-fhs-paths.
Add two mechanism for avoiding name-collisions in a system-wide
installation of charybdis. The ssld and bandb daemons, intended to be
directly used by ircd and not the user, install into libexec when
--enable-fhs-paths is set. For binaries which are meant to be in PATH
(bindir), such as ircd and viconf, there is now an option
--with-program-prefix=progprefix inspired by automake. If the user
specifies --with-program-prefix=charybdis, the ircd binary is named
charybdisircd when installed.

Add support for saving the pidfile to a rundir and storing the ban
database in localstatedir instead of in sysconfdir. This is, again,
conditional on --enable-fhs-paths.

Fix(?) genssl.sh to always write created SSL key/certificate/dh
parameters to the sysconfdir specified during ./configure. The
previous behavior was to assume that the user ran genssl.sh after
ensuring that his current working directory was either sysconfdir or a
sibling directory of sysconfdir.
2012-03-01 02:41:09 +00:00
Jilles Tjoelker
d42e6915cf Pace aways.
This becomes important because of away-notify sending aways to common
channels much like nick changes (which are also paced).

Marking as unaway is not limited (but obviously only does something if the
user was away before). To allow users to fix typos in away messages, two
aways are allowed in sequence if away has not been used recently.
2012-02-18 16:32:57 +01:00
Keith Buck
e88a1f1b15 Add ratelimit for high-bandwidth commands. 2012-02-18 03:54:44 +00:00
Keith Buck
c5bbc60375 Add away-notify client capability. 2012-02-14 14:15:44 +00:00
Jilles Tjoelker
adcec062ce 'monitor s' output does not end with RPL_ENDOFMONLIST. 2011-12-21 21:29:46 +01:00
Jilles Tjoelker
b225bf93b7 Change default --with-nicklen to 31, like atheme-services. 2011-11-29 23:32:10 +01:00
William Pitcock
b583faf970 Add support for customizing the usable nick length.
This adds a new ISUPPORT token, NICKLEN_USABLE which is strictly an informative value.
NICKLEN is always the maximum runtime NICKLEN supported by the IRCd, as other servers may
have their own usable NICKLEN settings.  As NICKLEN_USABLE is strictly informative, and
NICKLEN is always the maximum possible NICKLEN, any clients which depend on NICKLEN for
memory preallocation will be unaffected by runtime changes to NICKLEN_USABLE.

The default NICKLEN is 50; the default serverinfo::nicklen in the config file is set to
30, which is the NICKLEN presently used on StaticBox.
2011-11-29 16:10:21 -06:00
Jilles Tjoelker
92236e376a Remove an obsolete TS5 reference. 2011-11-01 22:07:32 +01:00
Jilles Tjoelker
2da6f6ebd7 Put back use_forward. 2011-09-25 16:22:29 +02:00
Elizabeth Jennifer Myers
765d839d3c Port ircd-seven banfowards to charybdis.
nenolod gave the thumbs-up to port ircd-seven banfowards to charybdis to spb
for a while, and people have asked about it. Might as well do it since it's a
slow weekend.

Note that as a side effect use_forward is removed from the config and
unconditionally enabled!
2011-08-12 20:33:10 -04:00
Keith Buck
da1b891f9f Pedantry: Make indentation consistent in example and reference confs. 2011-05-13 23:42:27 -07:00
Kiyoshi Aman
f8c9d8d9be doc/extended-join.txt: Document CAP extended-join. 2011-04-19 04:52:56 -04:00
Stephen Bennett
e6e54763d9 Make flood control settings configurable by those who know exactly what they're doing.
From ircd-seven git changeset 29aa4203150337925a4f5c6e7da47be5394c2125 .
2011-03-27 16:35:26 -04:00
Elizabeth Jennifer Myers
0a1e77c27c Support IPv6 blacklists. Also add a conf file option allowing the use of IPv4, IPv6, or both for a blacklist.
Although few blacklists currently support IPv6 lookups, they will likely begin to do so in the near future as more net trash begins using IPv6.
2011-02-27 16:38:05 -05:00
Stephen Bennett
341f971efa Bring across disable_local_channels config option from ircd-seven 2010-12-21 20:38:04 +00:00
William Pitcock
f56b4e3c07 account-notify spec: with the extended-join capability, doing a WHO on new users is not necessary. 2010-12-16 00:35:12 -06:00
William Pitcock
a8df2896bb Update specification. 2010-12-15 23:59:47 -06:00
William Pitcock
4f943f99e6 Add specification for the account-notify protocol extension. 2010-12-15 23:38:35 -06:00
William Pitcock
ff0cc1e616 Add support for linking using SSL certificate fingerprints as the link credential rather than the traditional server-password pair. 2010-12-13 23:14:00 -06:00
William Pitcock
429cf1b74f Add oper-override (modehacking only) as a module.
I think if you are going to kick someone from a channel.
2010-12-06 23:44:55 -06:00
Jilles Tjoelker
45a27bf8b9 Change max_bans in reference.conf from 25 to 100, like example.conf. 2010-12-05 16:51:48 +01:00
JD Horelick
486436a299 Do not install ban .conf files (like kline.conf, rsv.conf, etc) as they aren't used anymore. 2010-12-04 17:29:01 -05:00
JD Horelick
f1e5a31775 Change the filenames of the generated SSL key/cert to ssl.* instead of test.* so that they're a bit more descriptive. 2010-11-13 16:07:54 -05:00
William Pitcock
22ab2e2544 Add documentation for proposed JUPE TS6 command. 2010-10-28 13:24:22 -05:00
William Pitcock
f42c7be6a5 Example configuration: Set the default TLS port to 6697. 2010-09-17 10:48:56 -05:00
Jilles Tjoelker
717238d2a2 Add target change for channels.
This has a separate enabling option channel::channel_target_change.

It applies to PRIVMSG, NOTICE and TOPIC by unvoiced unopped non-opers.

The same slots are used for channels and users.
2010-08-29 01:26:00 +02:00
William Pitcock
3c30c7a2de Automated merge with ssh://hg.atheme.org//hg/charybdis 2010-05-14 08:49:31 -05:00
William Pitcock
40e92fca0e Recommend EFNet's RBL instead of DroneBL due to trustworthiness issues.
(StaticBox policy change as of May 14, 2010.)
2010-05-14 08:49:26 -05:00
Stephen Bennett
73d83e6db0 Update MLOCK protocol documentation to match changes in code 2010-05-02 22:18:13 +01:00
Jilles Tjoelker
a0ce140ed6 Improve technical documentation of BAN protocol. 2010-04-29 00:26:49 +02:00
JD Horelick
944b0584ea Change config option for ident_timeout to default_ident_timeout as jilles
recommended.
2010-04-05 16:29:11 -04:00
JD Horelick
0ffb810660 Add a configuration option for ident_timeout. 2010-04-05 15:28:44 -04:00
Jilles Tjoelker
dca9e55257 Add propagated resvs, like klines and xlines. 2010-03-27 16:13:57 +01:00
Jilles Tjoelker
3cbbfb2556 Add propagated xlines, like klines. 2010-03-16 23:05:50 +01:00
Jilles Tjoelker
1702b69419 Add option general::use_propagated_bans to allow disabling new KLINE.
If this option is yes (default), KLINE by itself sets global (propagated) bans.
If this option is no, KLINE by itself sets a local kline following cluster{},
compatible with 3.2 and older versions.
2010-03-14 17:21:20 +01:00
William Pitcock
d09bb8aeb0 Add syntax description of MLOCK message to ts6-protocol.txt. 2010-03-07 21:51:41 -06:00
Jilles Tjoelker
13d4255541 Document BAN message. 2010-03-07 14:06:28 +01:00
William Pitcock
a8560affce Documentation updates for the ip_cloaking_4.0 transition. 2010-02-18 07:34:40 -06:00
William Pitcock
ff31db8473 Add support for client certificate fingerprints in o:lines. 2010-02-17 06:41:41 -06:00
Jilles Tjoelker
5155c03c96 Update target change documentation. 2010-02-17 00:38:08 +01:00
Jilles Tjoelker
4b58bbb2da ts6-protocol.txt: mention meaning of capabs EX, IE, SERVICES, KNOCK. 2009-12-26 00:25:52 +01:00
Jilles Tjoelker
fa1a7bef02 Add two more reasons why ssld_count>1 can be useful: bugs and fd limits. 2009-11-18 00:00:07 +01:00
Jilles Tjoelker
b23244702a Note that blacklist{} only accepts host/reason pairs, no host+host+reason. 2009-10-18 21:08:37 +02:00
Jilles Tjoelker
c2c25552ca Force part local users (not resv_exempt) on channel resv.
A notice will be sent to any force parted users that the channel
is temporarily/permanently unavailable on the server.
A new config option channel::resv_forcepart can be used to disable this.

from ircd-ratbox (dubkat)
2009-09-19 21:24:35 +02:00
Jilles Tjoelker
cef0fc6693 Update copyright years in sgml docs. 2009-05-08 22:40:18 +02:00
Jilles Tjoelker
6c43f550b2 Remove notes about now fixed xline \s bugs from sgml docs. 2009-05-08 22:37:20 +02:00
Jilles Tjoelker
3e0bb80ad1 Add description for TB and TOPIC messages. 2009-03-29 22:05:59 +02:00
Jilles Tjoelker
623322e8d9 Update sgml documentation for +z enhancement. 2009-03-29 18:55:23 +02:00
Jilles Tjoelker
c4d2d01419 Apply +z to messages blocked by +b and +q as well.
This adds a new server capab EOPMOD which will be used
for an extended topic command also.
2009-03-29 15:48:07 +02:00
Jilles Tjoelker
1ba5ea0f06 Mention that @#chan/+#chan requires CHW capab. 2009-03-29 15:04:17 +02:00
Jilles Tjoelker
7e7004c4d7 Add GUNGLINE to protocol documentation (efnet only, not in charybdis). 2009-03-25 00:34:12 +01:00
Jilles Tjoelker
86aba27c2d Document efnet-style GLINE protocol. 2009-03-01 01:03:58 +01:00
Jilles Tjoelker
6865c0b099 Add channel::only_ascii_channels config option
to restrict channel names to printable ascii only.
Like disable_fake_channels this only applies to joins
by local users; unlike disable_fake_channels it applies
to opers as well.
2009-02-22 00:12:21 +01:00
Jilles Tjoelker
e9f64b98ac Do not create directories under PREFIX while building. 2009-02-08 21:18:26 +01:00
Jilles Tjoelker
0749b751fa Clarify some PRIVMSG/NOTICE restrictions. 2009-02-08 15:48:04 +01:00
Jilles Tjoelker
f8933d67e3 Numerics are also server-server messages. 2009-02-08 15:39:12 +01:00
Jilles Tjoelker
2d042188c7 Clarify propagation of JOIN and SJOIN. 2009-02-06 15:58:02 +01:00
Jilles Tjoelker
03204327ec Add more information about propagation. 2009-02-05 20:10:34 +01:00
Jilles Tjoelker
3cadd0c433 Add description for LOCOPS message. 2009-02-05 19:57:51 +01:00
Jilles Tjoelker
aa12f64bd6 Clarify connection setup. 2009-01-30 17:08:59 +01:00
Jilles Tjoelker
cdff8b707a First draft of a more complete TS6 server protocol description. 2009-01-25 21:11:28 +01:00
Jilles Tjoelker
235fd1cecf WHOIS 330 (services login name) does not need a remote whois. 2009-01-25 17:36:19 +01:00
Jilles Tjoelker
940c734752 Add umode +R to doc/services.txt. 2009-01-25 17:35:57 +01:00
Jilles Tjoelker
3a17735469 Change /stats O to show privset blocks (oper only).
To show operator blocks, only /stats o (lowercase) now works.
2009-01-18 01:35:24 +01:00
Jilles Tjoelker
5f29102170 Make SCAN UMODES GLOBAL NO-LIST MASK <mask> no longer an operspy command.
This agrees with allowing MODE <nick> as non-operspy.
2009-01-01 20:32:30 +01:00
Jilles Tjoelker
d9e7ca4960 BOPM/TCM do not need the ability to global kill, so remove it from server_bot
privset.
2008-12-28 23:24:43 +01:00
Jilles Tjoelker
7a618bd339 Update sgml docs for cidr_ipv4_bitlen/cidr_ipv6_bitlen split. 2008-12-11 21:53:36 +01:00
Jilles Tjoelker
c6c70358b3 Mention auto CPRIVMSG/CNOTICE in sgml docs. 2008-12-05 15:33:38 +01:00
Jilles Tjoelker
26348c8f9e Add /topic !#channel operspy to sgml docs. 2008-12-04 01:40:57 +01:00
Jilles Tjoelker
dffb83aa69 Put back example.conf limits to their old values,
increasing cidr limit somewhat more.
2008-11-30 13:35:01 +01:00
Jilles Tjoelker
bc7c44dc48 Update reference.conf for cidr change as well. 2008-11-30 13:33:43 +01:00
Jilles Tjoelker
e33e589cbf Split cidr_bitlen into cidr_ipv4_bitlen and cidr_ipv6_bitlen.
Taken from ircd-ratbox 3 via shadowircd.
2008-11-30 13:31:59 +01:00
Jilles Tjoelker
7e920161c8 Add sgml documentation for /quote set. 2008-11-28 15:48:41 +01:00
Jilles Tjoelker
7d14177747 Improve note about case sensitivity. 2008-11-26 00:07:12 +01:00
Jilles Tjoelker
db67ca336c Mention how to specify the default port in a remote connect. 2008-11-25 23:58:24 +01: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
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
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
William Pitcock
917e9b1ab4 Backed out changeset 7f24e5f3fb86 2008-08-29 14:46:19 -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
William Pitcock
b501097030 privset example: Add a privset for local bots like BOPM and TCMs. 2008-08-17 08:58:34 -05:00
William Pitcock
be52582805 Add some privsets for opers here. 2008-08-17 07:17:25 -05:00
Valery V Yatsko
33e65f0004 no more servlink - removed 'servlink_path' from reference.conf and source files 2008-08-16 22:23:56 +04:00
Valery V Yatsko
67e6f4df3b Updated reference.conf 2008-08-13 23:17:43 +04:00
Jilles Tjoelker
cc49daee1a Update example.conf for max_unknown_ip->throttle. 2008-08-01 02:54:36 +02:00
Jilles Tjoelker
43946961df Move to ratbox3 reject and throttle code.
Throttle replaces max_unknown_ip, reject is like before
(including the charybdis-specific unkline handling).
Both of these now apply before SSL negotiation.

This commit does not include the global_cidr and new dline code.

m_webirc is a bit nasty with throttling (unlike before
with max_unknown_ip), this may be fixed later (or
the webirc IP needs to be exempt{}ed).
2008-08-01 01:59:08 +02:00
Valery Yatsko
ea3ab4a938 Removed TS5 description as it is no longer supported 2008-07-30 02:25:21 +04:00
Valery Yatsko
f9d5f40a62 Removed some docs related to ratbox 2008-07-30 02:23:30 +04:00
Jilles Tjoelker
25c8119fc7 Add a DNS section to charybdis-oper-guide. 2008-07-10 23:31:46 +02:00
Jilles Tjoelker
6f7bcc24ef Add FINDFORWARDS and IDENTIFY commands to oper-guide (from extensions). 2008-05-22 00:46:02 +02:00
Jilles Tjoelker
5eeb71b78e Add +F and +W snomasks to oper-guide (from extensions). 2008-05-22 00:30:42 +02:00