aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_connectban.cpp
Commit message (Expand)AuthorAgeFilesLines
* Expand IPv6 addresses in connectban to avoid breaking S2S.Gravatar Sadie Powell2024-09-191-2/+8
* Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2022-04-281-1/+1
* Use consistent xline messages locally•••For connectban these messages would have previously been duplicated to other servers until this was fixed earlier today. For dnsbl and rline they would have just differed on the local to a remote. As of the previous commit the module name is included in the setter so there is no need to vary the snotice. This makes things more consistent for server operators and allows scripts to parse the messages. Gravatar Sadie Powell2022-04-051-2/+3
* Notify opers about the connectban zline being added before applying it.•••This matches behaviour elsewhere. Gravatar Sadie Powell2022-04-051-1/+1
* Include the module name in the setter for server-added xlines.Gravatar Sadie Powell2022-04-051-1/+1
* Increase the default connectban ban duration from 10m to 6h.•••10m is borderline useless for preventing bot floods. Gravatar Sadie Powell2022-04-051-1/+1
* Default connectban cidr ranges to the values specified in <cidr>.Gravatar Sadie Powell2022-04-051-2/+2
* Fix the cban and connectban modules sending out duplicate snotices.Gravatar Sadie Powell2022-04-051-1/+1
* Rename <connectban:duration> to <connectban:banduration>.Gravatar Sadie Powell2022-03-221-1/+1
* Fix some inverted ignoreuntil values in the connectban module.Gravatar Sadie Powell2021-06-181-2/+2
* Add the bootwait and splitwait options to connectban.Gravatar Sadie Powell2021-06-181-3/+26
* Update copyright headers.Gravatar InspIRCd Robot2021-02-261-1/+1
* Allow disabling connectban for specific connect classes.•••Ref: #1841. Gravatar Sadie Powell2021-01-271-2/+12
* Update copyright headers.Gravatar InspIRCd Robot2020-11-201-1/+1
* Avoid doing "IP changed" event stuff on quitting users.Gravatar Sadie Powell2020-11-201-1/+1
* Prioritise connectban and dnsbl after core_xline.Gravatar Sadie Powell2020-11-101-0/+6
* Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-0/+7
* Add a workaround for connectban hitting gateway IP addresses.Gravatar Peter Powell2019-10-251-1/+23
* Extract connectban's range checking code to a function.Gravatar Peter Powell2019-10-251-13/+22
* Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-1/+1
* m_connectban and m_svshold: Use DurationString() in X-line messages.Gravatar Robby2019-04-281-3/+2
* Improve X-line text consistency.•••- Change any "-Line", ":Line", or "*line" to "-line" throughout the X-line code, comments, and documentation. - Add periods to the end of some notices. - Correct a typo in the Q-line code comments. - Update the filter module documentation (shun addition). Co-authored-by: Robby <robby@chatbelgie.be> Gravatar Matt Schatz2019-01-091-2/+2
* Add the family() member to the sockaddrs union.Gravatar Peter Powell2018-07-181-1/+1
* Add ConfigTag::getUInt for reading unsigned config values.Gravatar Peter Powell2018-04-161-3/+3
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-1/+1
* Add CXX11_OVERRIDE to overridden members that lack it.•••This fixes a ton of warnings when building on compilers that default to C++11 or newer. Gravatar Peter Powell2017-07-121-1/+1
* m_connectban Don't depend on the definition of clonemapGravatar Attila Molnar2014-03-171-3/+3
* Give m_connectban a configurable ban messageGravatar Googolplexed2014-02-271-1/+3
* Make various self contained methods static.•••- InspIRCd::IsValidMask - InspIRCd::TimeString Gravatar Peter Powell2013-12-151-1/+1
* Replace OnRehash() with ReadConfig() that is called on boot, on module load a...•••This eliminates the need for calling OnRehash() in init() Gravatar attilamolnar2013-08-301-6/+1
* Add ConfigTag::getDuration() with optional bounds checkingGravatar attilamolnar2013-08-121-3/+1
* Replace range() with min and max arguments on getInt().Gravatar Peter Powell2013-08-101-12/+3
* Automatically attach modules to eventsGravatar attilamolnar2013-08-041-2/+0
* Change modules to use the MODNAME constant when logging.•••The majority of modules were logging with their module name as the log type. There was a few places which were logging to a non-name type but, with the exception of CONFIG, those messages are so uncommon that it doesn't make sense to use a seperate type for them. Gravatar Peter Powell2013-08-041-1/+1
* Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
* Merge insp20Gravatar attilamolnar2013-06-061-4/+5
|\
| * Fix an extremely low risk crash bug in m_connectban.Gravatar Peter Powell2013-05-061-4/+5
* | Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-191-1/+1
* | Tidy up keywords on module methods.•••- Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it. Gravatar Peter Powell2013-05-151-5/+5
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-1/+1
* | Convert InspIRCd::Duration() to be staticGravatar attilamolnar2013-04-031-1/+1
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-5/+1
|/
* m_connectban Switch to OnSetUserIP hook to handle cgiirc users properly, igno...Gravatar attilamolnar2013-03-111-2/+5
* Dynamically determine the size of the eventlist[] passed to Attach()•••m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove Gravatar attilamolnar2012-12-021-1/+1
* Attach to events and register services in init()Gravatar attilamolnar2012-12-021-1/+2
* Remove usage of the deprecated ConfigReaderGravatar attilamolnar2012-11-121-12/+7
* Fix more undefined behavior caused by referencing the returned buffer by std:...•••See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88 Gravatar attilamolnar2012-09-301-3/+5
* Module description updatesGravatar Robby-2012-05-301-2/+2