summaryrefslogtreecommitdiff
path: root/src/modules/m_dnsbl.cpp
AgeCommit message (Collapse)Author
2021-03-31Add support for per-DNSBL timeouts.Sadie Powell
This should fix the issue of some DNSBLs being slower than others.
2021-03-06Fix not always incrementing the DNSBL stats.Sadie Powell
2021-02-26Update copyright headers.InspIRCd Robot
2021-01-18Add a separate stats class for DNSBL errors.Sadie Powell
2021-01-18Improve the robustness of the DNSBL module.Sadie Powell
- 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.
2020-11-20Avoid doing "IP changed" event stuff on quitting users.Sadie Powell
2020-11-10Prioritise connectban and dnsbl after core_xline.Sadie Powell
2020-11-03Make connect class debug logging more complete and consistent.Sadie Powell
2020-10-30Update copyright headers.InspIRCd Robot
2020-09-29Use the normal method for applying a default config in dnsbl.Sadie Powell
2020-09-29Fix the dnsbl module config not being checked case insensitively.Sadie Powell
2020-07-03Fix DNSBL connect class matching.Matt Schatz
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.
2020-04-24Update copyright headers.InspIRCd Robot
2020-04-10Update the module descriptions using mkversion.Sadie Powell
2020-03-25Only send a local X-line SNOTICE.Matt Schatz
Spanningtree sends a local SNOTICE to 'X' when adding a line. No need to send a global SNOTICE from here.
2020-01-11Update copyright headers.InspIRCd Robot
2019-10-24Ignore DNSBL responses if the user's IP address has changed.Peter Powell
2019-10-13Convert a bunch of LocalUser* casts to IS_LOCAL.Peter Powell
This is a lot safer and handles users changing servers properly.
2019-08-08Fix DNSBL lookups for IPv6.Matt Schatz
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.
2019-02-18Start using DurationString() in X-line additions andMatt Schatz
a few other modules where it fits better than just showing seconds.
2019-01-11Allow wildcards in <connect:dnsbl>linuxdaemon
This makes it consistent with other <connect> class parameters like `webirc`
2019-01-09Improve X-line text consistency.Matt Schatz
- 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>
2018-12-19Make more modules rehash atomically (#1535)linuxdaemon
Have each module validate the values it loads before setting them, so any errors don't result in partial application of the configs
2018-11-16Fix sending DNSBL error snotices when a user isn't DNSBLed.Peter Powell
2018-09-25m_dnsbl: Add the IP address to the positive detection server notice.Robby
2018-09-25m_dnsbl: Use the blacklist name rather than the domain.Robby
2018-09-25Send a message to snomask 'd' when a DNSBL lookup fails.Peter Powell
Closes #1433.
2018-08-14Fix a bunch more conflicting/unnamed numerics.Peter Powell
2018-08-07Switch m_dnsbl to use its own snomask character.Peter Powell
2018-07-24Make more config stuff case insensitive.Peter Powell
2018-07-18Initial support for listening on UNIX socket endpoints.Peter Powell
2018-07-18Add the family() member to the sockaddrs union.Peter Powell
2018-04-16Add ConfigTag::getUInt for reading unsigned config values.Peter Powell
2018-04-16Convert ConfigTag::getDuration to return an unsigned long.Peter Powell
2018-04-11Change some usage of "gecos" to "real name"genius3000
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).
2018-04-08Move OnStats from the core to a cross-module event.Peter Powell
Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later.
2017-11-17Fix a ton of -Wsign-conversion warnings.Peter Powell
2017-08-06Purge code for Windows XP and MSVC pre-2015.Peter Powell
2017-07-12Merge pull request #677 from Robby-/master-dnsblzlinePeter Powell
[master] m_dnsbl: Correct the address in the Z-line snomask message.
2017-07-09Merge v2.0.23 and v2.0.24 into master.Peter Powell
2017-01-11m_dnsbl: check returned results are in 127.0.0.0/8Adam
2016-09-02m_dnsbl Use FindAnswerOfTypeAdam
2016-02-25Introduce Stats::Context, pass it to the OnStats hook and switch all code to itAttila Molnar
2016-02-25Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Attila Molnar
parameters
2015-04-07Add ipv6 dnsbl supportAdam
2015-01-18Specify which Extensible subclass an ExtensionItem is valid forAttila Molnar
2014-06-23m_dnsbl: Correct the address in the Z-line snomask message.Robby-
2014-01-25Omit the server name internally when building a /STATS reply and prepend it ↵Attila Molnar
later
2014-01-21Merge insp20Attila Molnar
2014-01-20m_dnsbl Don't send snotice when the {G|K|Z}line already existsAttila Molnar
Fixes issue #717 reported by @Robby-