37 Commits

Author SHA1 Message Date
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
Peter Powell
e51ea66534 Improve error reporting for <security:runas{user,group}>. 2013-09-26 15:54:37 +01: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
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
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
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
c8e9bbbe40 Move all example configuration files to their own directory. 2012-06-12 18:38:54 +01:00