aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_connectban.cpp
Commit message (Expand)AuthorAgeFilesLines
* Rewrite logging calls to use the new APIs.Gravatar Sadie Powell2022-05-011-2/+2
* Merge branch 'insp3' into master.Gravatar Sadie Powell2022-04-291-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-04-281-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-04-051-7/+8
|\|
| * 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
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-03-271-1/+1
|\|
| * Rename <connectban:duration> to <connectban:banduration>.Gravatar Sadie Powell2022-03-221-1/+1
* | Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-2/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-06-181-2/+25
|\|
| * 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
* | Added -Wshorten-64-to-32 and fixed all warnings.Gravatar Dominic Hamon2021-05-301-5/+5
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-02-281-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-02-261-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-01-291-2/+12
|\|
| * Allow disabling connectban for specific connect classes.•••Ref: #1841. Gravatar Sadie Powell2021-01-271-2/+12
* | Merge tag 'v3.8.1' into master.Gravatar Sadie Powell2020-11-201-2/+8
|\|
| * 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
* | Convert ConfigTag from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-111-1/+1
|\|
| * Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
* | Improve storage of module description, flags, and link data.Gravatar Sadie Powell2020-04-111-6/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-0/+7
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-0/+7
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-11-131-14/+45
|\|
| * 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
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-05-151-4/+3
|\|
| * 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
* | SnomaskManager: remove fakederef.Gravatar Sadie Powell2019-02-071-2/+2
* | LogManager: remove fakederef.Gravatar Sadie Powell2019-02-071-1/+1
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-4/+4
|/
* 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