aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_dnsbl.cpp
Commit message (Expand)AuthorAgeFilesLines
* Retain the "real" username properly like we do for hostnames.•••This introduces the concept of a real username. This value comes from either the initial USER message or from an ident lookup. Doing this allows us to use it for bans through vidents and cloaking web client users using their remote username. While changing this I also changed all of the uses of "ident" other than RFC 1413 lookups and some compatibility cases to refer to usernames as user(name) instead of ident. Our use of ident in these places was incorrect as that only refers to the RFC 1413 response and is not commonly used in the way we used it by any other IRC server implementations. Gravatar Sadie Powell2023-06-291-20/+20
* Fix an inverted condition in the DNSBL module.Gravatar Sadie Powell2023-06-031-1/+1
* Rename duration to timeutils and relocate InspIRCd::TimeString.Gravatar Sadie Powell2023-05-101-2/+2
* Remove the now-obsolete hostchange module.•••Closes #2025. Gravatar Sadie Powell2023-05-021-3/+0
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-04-281-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2023-04-281-1/+1
* | Allow modules to provide an error for when a class doesn't match.Gravatar Sadie Powell2023-03-241-1/+1
* | Replace getInt/getUInt/getFloat with type safe templated functions.Gravatar Sadie Powell2023-01-251-1/+1
* | Refactor the caching methods in User and rename to make more sense.Gravatar Sadie Powell2023-01-241-7/+7
* | Convert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings.Gravatar Sadie Powell2023-01-231-18/+18
* | Replace InspIRCd::Format with fmt::format.Gravatar Sadie Powell2023-01-231-2/+2
* | Move duration functions to their own header.Gravatar Sadie Powell2023-01-231-2/+3
* | Add a helper method for determining if a sockaddrs is an IP endpoint.Gravatar Sadie Powell2023-01-171-1/+1
* | Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-2/+2
* | Avoid copying shared_ptr<ConfigTag> when not necessary.Gravatar Sadie Powell2023-01-101-1/+1
* | Rework how users are assigned to connect classes.•••- Move core connect class checks and <performance:clonesonconnect> to the core_user module. - Add pre-change and post-change events for when a connect class changes. - Split explicit class changing out into its own method. - Remove the need to almost always call CheckClass after SetClass. - Add use counting to the connect class instead of relying on the shared_ptr use count. Gravatar Sadie Powell2023-01-081-7/+7
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-081-8/+55
|\|
| * Fix DNSBL user/host marks being overwritten by ident/host lookups.Gravatar Sadie Powell2023-01-071-10/+52
* | Add some overloads of Find{Nick,UUID,} for local/remote users.Gravatar Sadie Powell2023-01-071-2/+2
* | Add a helper class for creating a reference to a DNS manager.Gravatar Sadie Powell2023-01-051-2/+2
* | Misc DNSBL code cleanup.Gravatar Sadie Powell2023-01-041-41/+41
* | Move the shared data in the DNSBL module to its own class.Gravatar Sadie Powell2023-01-041-26/+40
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+1
* | Add the SimpleExtItem::GetRef method.Gravatar Sadie Powell2022-12-271-7/+1
* | Add the ListExtItem extension type.Gravatar Sadie Powell2022-12-271-4/+4
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-12-271-10/+20
|\|
| * Fix a C++11-ism in the dnsbl module.Gravatar Sadie Powell2022-12-261-1/+1
| * Fix overwriting marks from earlier DNSBLs.Gravatar Sadie Powell2022-12-261-10/+19
* | Move extension types to their own header to speed up build times.Gravatar Sadie Powell2022-12-191-0/+1
* | Fix the docs of markident and markhost being reversed in m_dnsbl.Gravatar Sadie Powell2022-12-121-2/+2
* | Avoid copying a shared_ptr where not actually necessary.Gravatar Sadie Powell2022-12-011-1/+1
* | Use a global typedef for representing a character set.Gravatar Sadie Powell2022-09-301-1/+1
* | Use auto instead of type names where the type is obvious.Gravatar Sadie Powell2022-09-291-1/+1
* | Fix various cases of the &* being next to the name instead of type.Gravatar Sadie Powell2022-09-291-5/+5
* | Fix some warnings noticed by the readability-* clang-tidy checkers.Gravatar Sadie Powell2022-09-031-5/+4
* | Rename OnSetUserIP to OnChangeRemoteAddress.Gravatar Sadie Powell2022-08-101-2/+2
* | Add a basic function for templating strings.Gravatar Sadie Powell2022-06-151-9/+6
* | Rewrite logging calls to use the new APIs.Gravatar Sadie Powell2022-05-011-4/+4
* | Slim down the globally included files.Gravatar Sadie Powell2022-04-301-0/+4
* | Format enums with an underlying type like classes.Gravatar Sadie Powell2022-04-301-2/+4
* | 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-4/+4
|\|
| * 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-9/+9
| * Include the module name in the setter for server-added xlines.Gravatar Sadie Powell2022-04-051-3/+3
* | Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-4/+4
* | Add ConnectClass::Ptr as an alias for std::shared_ptr<ConnectClass>.Gravatar Sadie Powell2022-01-161-1/+1
* | Always catch exceptions as a constant reference.Gravatar Sadie Powell2022-01-091-1/+1
* | Refactor CoreException and ModuleException.Gravatar Sadie Powell2022-01-071-6/+6