aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_connectban.cpp
Commit message (Expand)AuthorAgeFilesLines
* Convert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings.Gravatar Sadie Powell2023-01-231-4/+4
* Move duration functions to their own header.Gravatar Sadie Powell2023-01-231-2/+3
* Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-1/+1
* Avoid copying shared_ptr<ConfigTag> when not necessary.Gravatar Sadie Powell2023-01-101-1/+1
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+1
* | Add a typedef for sa_family_t on Windows.Gravatar Sadie Powell2022-11-161-2/+2
* | Use auto in places where it is really obvious what the type is.Gravatar Sadie Powell2022-09-041-1/+1
* | Fix some warnings noticed by the readability-* clang-tidy checkers.Gravatar Sadie Powell2022-09-031-1/+1
* | Rename OnSetUserIP to OnChangeRemoteAddress.Gravatar Sadie Powell2022-08-101-3/+3
* | Modernize various minor legacy C++isms.Gravatar Sadie Powell2022-07-301-2/+1
* | Switch from NULL to nullptr.Gravatar Sadie Powell2022-07-221-1/+1
* | 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