summaryrefslogtreecommitdiff
path: root/src/modules/m_dnsbl.cpp
AgeCommit message (Collapse)Author
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-
2013-12-18Clean up CoreExceptionAttila Molnar
- Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs
2013-12-15Make various self contained methods static.Peter Powell
- InspIRCd::IsValidMask - InspIRCd::TimeString
2013-11-12Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Adam
automatically
2013-09-08Automatically register ServiceProviders created by modulesattilamolnar
2013-08-30Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵attilamolnar
and on rehash This eliminates the need for calling OnRehash() in init()
2013-08-30Merge insp20attilamolnar
2013-08-21m_dnsbl Fix possible use-after-free after a rehashattilamolnar
2013-08-12Add ConfigTag::getDuration() with optional bounds checkingattilamolnar
2013-08-09Accept std::string as parameter in User::ChangeHost(), ChangeIdent() and ↵attilamolnar
ChangeName() Pass the string itself to IsIdent() instead of string.c_str()
2013-08-06Issue #604, fix m_dnsbl, broken in accccc212cd4f08a3c5532b1ae7a17e76bac8718Adam
2013-08-04Automatically attach modules to eventsattilamolnar
2013-08-04Change modules to use the MODNAME constant when logging.Peter Powell
The majority of modules were logging with their module name as the log type. There was a few places which were logging to a non-name type but, with the exception of CONFIG, those messages are so uncommon that it doesn't make sense to use a seperate type for them.