summaryrefslogtreecommitdiff
path: root/src/modules/m_dnsbl.cpp
AgeCommit message (Collapse)Author
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.
2013-07-04Remove $Core and $Mod* comments apart from $ModDep.Peter Powell
2013-05-15Tidy up keywords on module methods.Peter Powell
- Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it.
2013-05-15Replace some C-isms with C++-isms.Peter Powell
* 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask.
2013-04-26Modularize DNSAdam
The DNS modules are temporarily in commands/ so they're loaded automatically Thanks to Attila for helping with much of this.
2013-04-12Add LOG_ prefix to the log level enum values.Peter Powell
2013-04-03Convert InspIRCd::Duration() to be staticattilamolnar
2013-04-01Whitespace and empty destructor removal, minor coding style changesattilamolnar
2013-04-01Change User::GetIPString() to return const std::string&attilamolnar
2013-03-11m_dnsbl Fix connecting users timeouting when a dnsbl result is in the dns cacheattilamolnar
Fixes #431 reported by @killerrabbit
2012-12-02Dynamically determine the size of the eventlist[] passed to Attach()attilamolnar
m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
2012-11-29m_dnsbl Add usednsbl option to connect classesattilamolnar
Don't touch users in classes where it's off