569 Commits

Author SHA1 Message Date
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
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
Peter Powell
2ae42bbb1f Default to the XML config format. 2013-04-06 11:47:56 +01:00
Peter Powell
d877be98d1 Purge the deprecated chanprotect module. 2013-04-01 10:43:12 +01:00
attilamolnar
d1a88f0957 m_samode Require an oper privilege to change the user modes of other users
Issue #417
2013-04-01 01:13:24 +02:00
attilamolnar
be9358c43f Change the default value of <options:cyclehosts> to no
Issue #402
2013-04-01 00:58:44 +02:00
attilamolnar
56cae0f3a4 Remove legacy code, mostly related to 1.2 compatibility 2013-04-01 00:54:58 +02:00
attilamolnar
8de053ee38 Minor update to example configs 2013-03-31 19:52:43 +02:00
attilamolnar
3eeb85d3c5 Update doc and fix the description of m_allowinvite 2013-03-29 01:09:55 +01:00
Peter Powell
6da7562f94 Update Doxyfile for the latest version of Doxygen. 2013-03-08 16:50:04 +00:00
Peter Powell
5f6372b2f0 Reorganise configuration files:
- Example config files now end with .conf.example.
- Example text files now end with .txt.example.
- Removed 'inspircd' from the name of multiple example files.
- Added missing oper motd example file.
2013-03-02 15:50:09 +00:00
attilamolnar
a0f92dd232 cmd_invite Send invite announcements to halfops and higher when <security:announceinvites> is 'dynamic' regardless of the channel being +i or not
Clarify what the various options mean in the doc

Fixes #418 reported by @RawrDragon
2013-02-11 17:52:21 +01:00
attilamolnar
f1a122b4ee m_dnsbl Add usednsbl option to connect classes
Don't touch users in classes where it's off
2012-11-29 20:26:00 +01:00
Robin Burchell
e031d19418 ldapauth: Allow setting virtual hosts on identification with m_ldapauth.
<ldapauth:host>, when set, will be applied to users identifying with ldapauth.
The host can also take formatters from fields set on the DN of the user.
2012-11-29 10:07:01 +01:00
attilamolnar
66267bab3e Remove TAXONOMY from opers.conf.example, it doesn't exist in 2.0
Fixes #369 reported by @DjGolia
2012-11-23 19:52:24 +01:00
attilamolnar
3366ace0a3 m_opermotd Add support for replacing \u \b etc. with color codes
Fixes #322 reported by @MistrX
2012-10-29 18:28:44 +01:00
attilamolnar
59cafb70e6 m_operlog Add tosnomask config option, to log all oper actions to snomask 'r'
If enabled, the commands can be logged to channels with m_chanlog and also other +s +r opers can see them
Fixes #325 reported by @SeLEct-
2012-10-28 15:23:38 +01:00
Adrien Bustany
9451b734ff m_ldapauth Allow filtering on arbitrary LDAP attributes
This commit implements filtering on LDAP attributes, in a similar way
to what Apache Httpd does with "Require ldap-attribute".
2012-10-19 20:40:16 +02:00
Peter Powell
3479532178 Fix for #268.
- Move color stripping code to helperfuncs.
- Strip color codes before matching filters.
2012-10-19 17:50:08 +02:00
attilamolnar
d77540142f Update modules.conf.example with m_ircv3 2012-10-08 16:47:12 +02:00
Boleslaw Tokarski
428a5e3d0f Allows to use user->ident string instead of user->nick for NickServ. 2012-10-08 15:09:09 +02:00
attilamolnar
ed21362c47 Update modules.conf.example with m_topiclock 2012-10-07 00:24:59 +02:00
ChrisTX
c2f7fc047c Replace hardcoded paths with configurable ones
This patchset aims to ease the packaging of InspIRCd for a system-wide installation scenario.

Changes in detail:
configure: Add the options --log-path and --data-path
m_ssl_gnutls, openssl: Change the hardcoded "conf/" to the existent CONFIG_PATH macro
m_xline_db: Make the location of xline.db configurable. It will use --data-path as default value, but this can be
changed using the configuration files.
2012-10-04 15:14:04 +02:00
Attila Molnar
cff57f7ba7 Merge pull request #308 from SaberUK/insp20-fingerprint
[2.0] Remove references to removed FINGERPRINT command.
2012-09-22 17:43:08 -07:00
Peter Powell
657636d1ea Remove references to removed FINGERPRINT command. 2012-09-22 22:26:30 +01:00
attilamolnar
ab0b3d0137 Instruct users to verify that std::regex is supported on their setup before using m_regex_stdlib 2012-09-22 16:04:45 +02:00