702 Commits

Author SHA1 Message Date
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
ChrisTX
3b63bc840f m_regex_stdlib: A regex provider for the C++11 container std::regex
For it to work you need a standards compliant implementation as for
instance Visual C++ 2010 and 2012 deliver. GCC's libstdc++ does not
implement this class yet.
2012-09-22 15:52:18 +02:00
attilamolnar
1b03dfaeec m_knock Add support for sending a 710 numeric when a KNOCK succeeds, add a config option to choose between behaviors
Fixes #287 reported by @ElementalAlchemist
2012-09-13 18:12:38 +02:00
attilamolnar
7aacf73950 Add a config option to enable/disable the welcome notice sent to clients after successful registration
Fixes #284 reported by @hoggeh
2012-08-25 00:37:04 +02:00
attilamolnar
d6861984e8 Remove reference to m_ziplinks from modules.conf.unreal and modules.conf.charybdis
Fixes #285 reported by @hoggeh
2012-08-25 00:10:47 +02:00
attilamolnar
d43db424fe Change "allowmismatched" to "allowmismatch" in example config
Fixes issue #279 reported by @lethality
2012-08-20 16:47:24 +02:00
Robin Burchell
388e4ff409 Merge pull request #251 from Shawn-Smith/insp20+extbanU
[2.0] Add ExtBan U to match only unregistered users
2012-08-13 01:08:35 -07:00
attilamolnar
2f4c812e7c Update example configs
Document m_chanhistory settings
Note that m_censor adds usermode +G as well
Add geoip /STATS G to helpop
2012-07-26 23:00:30 +02:00
Shawn Smith
61429d9c68 Added ExtBan U to match only Unregistered users
Enhancement requested in Issue #247
2012-07-07 14:04:02 -04:00
Shawn Smith
ff8a01ff19 Backported usermode +L from insp21. Stops forced redirection given by cmode +L 2012-07-06 13:48:01 -04:00
Justin Crawford
c79475caa8 Added color codes to /rules, moved the parsing to ServerConfig and cleaned the code up a bit 2012-07-06 09:15:48 -07:00
Peter Powell
34058529b9 Update Doxyfile for the latest Doxygen. 2012-07-04 15:04:18 +01:00
Peter Powell
c8e9bbbe40 Move all example configuration files to their own directory. 2012-06-12 18:38:54 +01:00
Peter Powell
2967198299 README changes. 2012-06-12 22:49:28 -07:00
attilamolnar
00b67a612e m_spanningtree Disallow server passwords which contain a space char and those which begin with a colon
Update links.conf.example
2012-06-11 15:04:29 +02:00
Robin Burchell
a66b5a7b8f Merge pull request #173 from Robby-/insp20-moddesc
[2.0] Module description updates
2012-05-30 02:54:45 -07:00
Robby-
804c02174f Module description updates 2012-05-30 03:46:41 +02:00
Robby-
8c7aeaf595 Add more documentation about logging, aswell as make text, tab and space corrections to the configs 2012-05-30 00:29:06 +02:00