593 Commits

Author SHA1 Message Date
Attila Molnar
f71e6bf9cb Merge insp20 2014-04-07 13:40:51 +02:00
Attila Molnar
dcff388202 Fix typo in helpop-full that prevented it from loading and other minor helpop issues 2014-04-06 16:21:04 +02:00
Attila Molnar
883f6db55b Major example configuration and helpop update
Big thanks to @m4z (#621) and @Robby- (#630) who contributed a lot to this
2014-04-04 18:05:06 +02:00
Peter Powell
f2db4b743f Make the maximum hostname length configurable in the config. 2014-03-08 13:01:09 +01:00
Peter Powell
9ccb36800a Fix m_permchannels not prepending the path when reading the config. 2014-03-07 18:28:01 +01:00
Googolplexed
dcd07e3892 Give m_connectban a configurable ban message 2014-02-27 16:17:46 +01:00
Daniel Vassdal
8af4a2795b Simplify /SAJOIN syntax and add permission for joining other users. 2014-02-26 14:00:01 +01:00
Attila Molnar
4e0fd52057 m_svshold Hide server notices by default
Issue #742
2014-02-25 16:48:38 +01:00
Googolplexed
3c9e626d3f Moving CGIIRC to a new snomask (w) 2014-02-23 12:10:17 +01:00
Thiago Crepaldi
4ed0292914 m_ldapauth.cpp: Allow multiple patterns for users to bypass LDAP auth 2014-02-07 18:10:20 +01:00
Attila Molnar
2e8c2a6a5f Document new delayed join feature of m_conn_join 2014-01-30 22:18:40 +01:00
Attila Molnar
7acb4ced20 Add m_clearchan which removes users from a channel without sending n*(n+1)/2 QUIT messages 2014-01-26 13:39:10 +01:00
Attila Molnar
e244cb2c63 Merge insp20 2014-01-21 18:44:08 +01:00
Adam
ec1e85cb3d Add m_starttls and remove it from m_ssl_gnutls, which allows it to work with both openssl and gnutls 2014-01-21 18:04:08 +01:00
Attila Molnar
b8f0e349ce m_svshold Add config option to hide snotices 2014-01-20 17:05:01 +01:00
Attila Molnar
ef264e2dca m_httpd Add timeout option; remove timed out connections 2014-01-20 16:57:30 +01:00
Attila Molnar
659530cbab Update example configs/helpop 2014-01-20 16:48:20 +01:00
Mantas Mikulėnas
b43e157a14 Use standard example addresses in configs
`2001:db8::/32` is the [standard][1] IPv6 example address range, using
it also makes it clear when the user has just copy-pasted the example
config and didn't actually whitelist 6BONE for some strange reason.

Similarly, there are example addresses for [IPv4][2] and [DNS][3].

[1]: http://tools.ietf.org/html/rfc3849
[2]: http://tools.ietf.org/html/rfc5737
[3]: http://tools.ietf.org/html/rfc2606
2014-01-20 16:44:10 +01:00
Attila Molnar
57d02ca02e m_showwhois Update settings on rehash 2013-12-19 17:02:41 +01:00
Adam
dbbd333956 Add m_ldap, and convert m_ldapoper and m_ldapauth to use it. 2013-12-19 16:40:11 +01:00
Attila Molnar
a1d46b8bff Add m_showfile, remove cmd_rules 2013-12-18 18:01:19 +01:00
Daniel Vassdal
96d96c48bf Add a Flash Policy Daemon module 2013-12-18 15:45:29 +01:00
Peter Powell
7fea7c24c5 Purge docs/rfc from the repository.
These are of no use to 99% of users and anyone who actually wants
to read them should be capable of using Google to find them.
2013-12-15 06:46:44 +00:00
attilamolnar
b7d84270bc Fix a few issues
- Rehash notices
- Modes in CAPAB
- GetTargetAndAction() not being static in m_callerid
- Loading custom configuration files using --config. (@SaberUK)
- ServerConfig::Read not using std::endl. (@SaberUK)
- Out of date comments in opers.conf.example, issue #624
2013-11-21 22:07:30 +01:00
Adam
cc01e2144c Allow multiple allowmasks in link blocks, #679 2013-11-21 15:52:38 -05:00
Peter Powell
e51ea66534 Improve error reporting for <security:runas{user,group}>. 2013-09-26 15:54:37 +01:00
attilamolnar
1f6ba902a6 Convert cmd_modenotice into an optional module 2013-09-11 12:11:16 +02:00
attilamolnar
1031f33333 Merge insp20 2013-08-30 13:01:10 +02:00
Christopher 'm4z' Holm
81a616cd9f Update COPYING file with new FSF address.
This should make rpmlint stop complaining about the incorrect FSF
address. All changes taken from:
    http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
2013-08-28 14:35:10 +02:00
attilamolnar
261d5bb566 m_permchannels Add the ability to save listmodes 2013-08-27 18:32:32 +02:00
attilamolnar
00cd97160a Update example configs, README.md and more
- Fix typos, remove misleading information, rephrase a few sentences
- Add info about hmac-<hash> hash types
- Remove <performance:maxwho> (the code which used this was removed in 96e4434 - @SaberUK)
- Change inspircd.github.org to inspircd.org
2013-08-27 18:30:59 +02:00
Daniel Vassdal
71b9af776e Option to select if chanhistory is on for bots 2013-08-24 07:45:34 -07:00
attilamolnar
6d39615998 Add ConfigTag::getDuration() with optional bounds checking 2013-08-12 19:20:18 +02:00
Peter Powell
29822a263b Add <path> keys for all of the compile-time paths.
Also, make all paths in the config relative to their associated
directory. This reverts a change in 2.0 which turned out to be a
terrible idea, especially for system-wide installations.
2013-08-12 16:53:33 +01:00
Peter Powell
3d019b14ec Require privs given on initial join to be in <options:defaultmodes>. 2013-08-10 14:04:09 +01:00
Peter Powell
4509cbcc0b Rename <options:moronbanner> to <options:xlinemessage>.
This name is more descriptive of what is actually is used for.
2013-08-10 14:04:09 +01:00
Peter Powell
28190fc82a Change the default for <security:customversion> to an empty string.
RFC 1459 says this field is for comments about the version. If the
operator has no comments then we should not show any.
2013-08-10 14:04:09 +01:00
Peter Powell
03a623a284 Rename <connect:nouserdns> to <connect:resolvehostnames>.
This name is more descriptive and avoids a double negative which
could make the name of this setting unclear to non-native speakers.
2013-08-10 14:04:09 +01:00
attilamolnar
e4b76e6502 Move host cycle logic into m_hostcycle 2013-08-09 18:10:48 +02:00
Daniel Vassdal
3ae91bafe7 Allow for skipping clone checking before DNS is complete. 2013-07-02 10:55:51 -07:00
attilamolnar
b81cfe3171 Remove limitsomaxconn and remains of m_halfop/allowhalfop 2013-06-18 21:34:10 +02:00
Peter Powell
55dc6fe9e5 Add RE2 regex module. 2013-06-16 21:48:51 +02:00
Daniel Vassdal
9a470c5863 Added m_repeat - Allows for blocking of similiar messages
Changes to the original module:
- Parse settings using a sepstream, accept remote mode changes regardless of our config
- Refuse to link when config settings differ
- Style changes

All ideas and features are the brainchild and work of Daniel Vassdal
2013-06-10 23:20:31 +02:00
Daniel Vassdal
263c2efd96 Added option for using TCP_DEFER_ACCEPT. Prevents the connection from being handed over to the daemon before data is ready from the client. 2013-06-03 18:45:46 +02:00
attilamolnar
8790551dc1 Merge insp20 2013-04-28 00:32:14 +02:00
Daniel Vassdal
021c09faff Added RMODE command per suggestion #479 2013-04-27 23:49:53 +02:00
Peter Powell
f2566ff550 Move <performance:nouserdns> to <connect:nouserdns>. 2013-04-27 05:59:54 +01:00
attilamolnar
b742311a70 Add config option to disable somaxconn range() check 2013-04-23 15:01:15 +02:00
attilamolnar
4b81b4004d m_kicknorejoin Limit time to 30m by default
In the current implementation we only expire entries when someone joins, without a limit it was possible to make us practically never remove entries and consume (a tiny amount of) memory for each entry until the mode was removed/parameter was changed

The default limit of 30m is chosen to not surprise people when they upgrade. If you need to prevent rejoins for more than a minute then you should set a (timed)ban instead

Config option is available to change the limit (2.0 only)
2013-04-16 13:18:40 +02:00
Peter Powell
b331d0549b Add <security:allowcoreunload>.
When enabled (the default) this setting prevents the unloading of
core modules such as cmd_privmsg.
2013-04-13 16:01:42 +01:00