summaryrefslogtreecommitdiff
path: root/src/modules/m_dnsbl.cpp
AgeCommit message (Collapse)Author
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
2012-11-19ServerConfig::ServerName is a std::string, don't call .c_str() on it when ↵attilamolnar
passing it to Channel::WriteChannelWithServ, etc.
2012-10-12Fix broken buildattilamolnar
2012-10-12m_cgiirc, m_dnsbl Remove unnecessary includesattilamolnar
2012-10-12Remove superfluous std::string()sattilamolnar
2012-09-30Fix more undefined behavior caused by referencing the returned buffer by ↵attilamolnar
std::string::c_str() when the object is temporary See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88
2012-09-13m_dnsbl Display <unknown> as the user's nick when annoucing the dnsbl result ↵attilamolnar
and the user has an empty nick
2012-09-13m_dnsbl Switch to OnUserSetIP hookattilamolnar
2012-07-01Revert "m_dnsbl: switch to OnSetClientIP hook which may be refired."Robin Burchell
This reverts commit fbf14cb9ff28ae1b8a6c4b90a18470381afbcc53.
2012-06-12m_dnsbl: switch to OnSetClientIP hook which may be refired.William Pitcock
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2010-03-31Remove unneeded inet_aton callDaniel De Graaf
2010-03-31Allow E:lines to make users exempt from DNSBL checksDaniel De Graaf
2010-02-16Incrementing the counter in a loop is useful to prevent it being an infinite ↵danieldg
loop git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12474 e03df62e-2008-0410-955e-edbf42e46eb7