aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_dnsbl.cpp
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2023-04-281-1/+1
* Fix DNSBL user/host marks being overwritten by ident/host lookups.Gravatar Sadie Powell2023-01-071-10/+52
* Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+1
* 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
* 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-9/+9
* Include the module name in the setter for server-added xlines.Gravatar Sadie Powell2022-04-051-3/+3
* If a user has a unique username then include it in bans.Gravatar Sadie Powell2021-12-141-6/+6
* Add support for per-DNSBL timeouts.•••This should fix the issue of some DNSBLs being slower than others. Gravatar Sadie Powell2021-03-311-1/+4
* Fix not always incrementing the DNSBL stats.Gravatar Sadie Powell2021-03-061-5/+18
* Update copyright headers.Gravatar InspIRCd Robot2021-02-261-1/+1
* Add a separate stats class for DNSBL errors.Gravatar Sadie Powell2021-01-181-10/+21
* Improve the robustness of the DNSBL module.•••- Handle DNSBLs that return invalid lookup results. - Fix DNSBLs that return non-local addresses blocking connections. - Fix silently failing when a DNSBL returns no IPv4 results. - General code cleanup. Gravatar Sadie Powell2021-01-181-21/+35
* Avoid doing "IP changed" event stuff on quitting users.Gravatar Sadie Powell2020-11-201-1/+4
* Prioritise connectban and dnsbl after core_xline.Gravatar Sadie Powell2020-11-101-0/+6
* Make connect class debug logging more complete and consistent.Gravatar Sadie Powell2020-11-031-3/+11
* Update copyright headers.Gravatar InspIRCd Robot2020-10-301-1/+1
* Use the normal method for applying a default config in dnsbl.Gravatar Sadie Powell2020-09-291-8/+1
* Fix the dnsbl module config not being checked case insensitively.Gravatar Sadie Powell2020-09-291-6/+5
* Fix DNSBL connect class matching.•••A user that is not marked by a DNSBL should never match a class that requires a DNSBL marking. Thanks to @kylef for reporting this on IRC. Gravatar Matt Schatz2020-07-031-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2020-04-241-1/+1
* Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
* Only send a local X-line SNOTICE.•••Spanningtree sends a local SNOTICE to 'X' when adding a line. No need to send a global SNOTICE from here. Gravatar Matt Schatz2020-03-251-3/+3
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-4/+9
* Ignore DNSBL responses if the user's IP address has changed.Gravatar Peter Powell2019-10-241-4/+10
* Convert a bunch of LocalUser* casts to IS_LOCAL.•••This is a lot safer and handles users changing servers properly. Gravatar Peter Powell2019-10-131-2/+2
* Fix DNSBL lookups for IPv6.•••A '.' gets added to the end of `reversedip` when creating the DNSBL hostname for the resolver. We need to remove the trailing '.' on the IPv6 form of `reversedip` or the resolver will fail. Gravatar Matt Schatz2019-08-081-0/+1
* Start using DurationString() in X-line additions and•••a few other modules where it fits better than just showing seconds. Gravatar Matt Schatz2019-02-181-9/+9
* Allow wildcards in <connect:dnsbl>•••This makes it consistent with other <connect> class parameters like `webirc` Gravatar linuxdaemon2019-01-111-2/+6
* 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-3/+3
* Make more modules rehash atomically (#1535)•••Have each module validate the values it loads before setting them, so any errors don't result in partial application of the configs Gravatar linuxdaemon2018-12-191-11/+11
* Fix sending DNSBL error snotices when a user isn't DNSBLed.Gravatar Peter Powell2018-11-161-0/+3
* m_dnsbl: Add the IP address to the positive detection server notice.Gravatar Robby2018-09-251-2/+2
* m_dnsbl: Use the blacklist name rather than the domain.Gravatar Robby2018-09-251-2/+2
* Send a message to snomask 'd' when a DNSBL lookup fails.•••Closes #1433. Gravatar Peter Powell2018-09-251-1/+5
* Fix a bunch more conflicting/unnamed numerics.Gravatar Peter Powell2018-08-141-2/+2
* Switch m_dnsbl to use its own snomask character.Gravatar Peter Powell2018-08-071-7/+12
* Make more config stuff case insensitive.Gravatar Peter Powell2018-07-241-1/+1
* Initial support for listening on UNIX socket endpoints.Gravatar Peter Powell2018-07-181-0/+4
* Add the family() member to the sockaddrs union.Gravatar Peter Powell2018-07-181-2/+2
* Add ConfigTag::getUInt for reading unsigned config values.Gravatar Peter Powell2018-04-161-1/+1
* Convert ConfigTag::getDuration to return an unsigned long.Gravatar Peter Powell2018-04-161-1/+1
* Change some usage of "gecos" to "real name"•••Within the example configs, helpops, some server sent messages, and simple code comments: change the primary usage of "gecos" to "real name" (or "realname" where fitting). Gravatar genius30002018-04-111-1/+1
* Move OnStats from the core to a cross-module event.•••Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later. Gravatar Peter Powell2018-04-081-2/+4
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-2/+2
* Purge code for Windows XP and MSVC pre-2015.Gravatar Peter Powell2017-08-061-1/+1
* Merge pull request #677 from Robby-/master-dnsblzline•••[master] m_dnsbl: Correct the address in the Z-line snomask message.Gravatar Peter Powell2017-07-121-1/+1
|\
| * m_dnsbl: Correct the address in the Z-line snomask message.Gravatar Robby-2014-06-231-1/+1
* | Merge v2.0.23 and v2.0.24 into master.Gravatar Peter Powell2017-07-091-0/+8
|\ \