aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_dnsbl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* m_dnsbl Use FindAnswerOfTypeGravatar Adam2016-09-021-2/+4
|
* Introduce Stats::Context, pass it to the OnStats hook and switch all code to itGravatar Attila Molnar2016-02-251-5/+5
|
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-2/+2
| | | | parameters
* Add ipv6 dnsbl supportGravatar Adam2015-04-071-7/+26
|
* Specify which Extensible subclass an ExtensionItem is valid forGravatar Attila Molnar2015-01-181-1/+6
|
* Omit the server name internally when building a /STATS reply and prepend it ↵Gravatar Attila Molnar2014-01-251-3/+3
| | | | later
* Merge insp20Gravatar Attila Molnar2014-01-211-0/+9
|\
| * m_dnsbl Don't send snotice when the {G|K|Z}line already existsGravatar Attila Molnar2014-01-201-0/+9
| | | | | | | | Fixes issue #717 reported by @Robby-
* | Clean up CoreExceptionGravatar Attila Molnar2013-12-181-1/+1
| | | | | | | | | | - Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs
* | Make various self contained methods static.Gravatar Peter Powell2013-12-151-3/+3
| | | | | | | | | | - InspIRCd::IsValidMask - InspIRCd::TimeString
* | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Gravatar Adam2013-11-121-2/+2
| | | | | | | | automatically
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-6/+0
| |
* | Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵Gravatar attilamolnar2013-08-301-7/+1
| | | | | | | | | | | | and on rehash This eliminates the need for calling OnRehash() in init()
* | Merge insp20Gravatar attilamolnar2013-08-301-25/+7
|\|
| * m_dnsbl Fix possible use-after-free after a rehashGravatar attilamolnar2013-08-211-25/+7
| |
* | Add ConfigTag::getDuration() with optional bounds checkingGravatar attilamolnar2013-08-121-6/+1
| |
* | Accept std::string as parameter in User::ChangeHost(), ChangeIdent() and ↵Gravatar attilamolnar2013-08-091-2/+2
| | | | | | | | | | | | ChangeName() Pass the string itself to IsIdent() instead of string.c_str()
* | Issue #604, fix m_dnsbl, broken in accccc212cd4f08a3c5532b1ae7a17e76bac8718Gravatar Adam2013-08-061-5/+5
| |
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-2/+0
| |
* | Change modules to use the MODNAME constant when logging.Gravatar Peter Powell2013-08-041-2/+2
| | | | | | | | | | | | | | | | 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.
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
| |
* | Tidy up keywords on module methods.Gravatar Peter Powell2013-05-151-10/+10
| | | | | | | | | | - 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.
* | Replace some C-isms with C++-isms.Gravatar Peter Powell2013-05-151-5/+1
| | | | | | | | | | | | * 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask.
* | Modularize DNSGravatar Adam2013-04-261-126/+134
| | | | | | | | | | | | The DNS modules are temporarily in commands/ so they're loaded automatically Thanks to Attila for helping with much of this.
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-1/+1
| |
* | Convert InspIRCd::Duration() to be staticGravatar attilamolnar2013-04-031-1/+1
| |
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-5/+0
| |
* | Change User::GetIPString() to return const std::string&Gravatar attilamolnar2013-04-011-4/+4
|/
* m_dnsbl Fix connecting users timeouting when a dnsbl result is in the dns cacheGravatar attilamolnar2013-03-111-1/+4
| | | | Fixes #431 reported by @killerrabbit
* Dynamically determine the size of the eventlist[] passed to Attach()Gravatar attilamolnar2012-12-021-1/+1
| | | | m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
* m_dnsbl Add usednsbl option to connect classesGravatar attilamolnar2012-11-291-4/+9
| | | | Don't touch users in classes where it's off
* ServerConfig::ServerName is a std::string, don't call .c_str() on it when ↵Gravatar attilamolnar2012-11-191-3/+3
| | | | passing it to Channel::WriteChannelWithServ, etc.
* Fix broken buildGravatar attilamolnar2012-10-121-0/+1
|
* m_cgiirc, m_dnsbl Remove unnecessary includesGravatar attilamolnar2012-10-121-8/+0
|
* Remove superfluous std::string()sGravatar attilamolnar2012-10-121-1/+1
|
* Fix more undefined behavior caused by referencing the returned buffer by ↵Gravatar attilamolnar2012-09-301-12/+21
| | | | | | std::string::c_str() when the object is temporary See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88
* m_dnsbl Display <unknown> as the user's nick when annoucing the dnsbl result ↵Gravatar attilamolnar2012-09-131-1/+1
| | | | and the user has an empty nick
* m_dnsbl Switch to OnUserSetIP hookGravatar attilamolnar2012-09-131-2/+2
|
* Revert "m_dnsbl: switch to OnSetClientIP hook which may be refired."Gravatar Robin Burchell2012-07-011-12/+10
| | | | This reverts commit fbf14cb9ff28ae1b8a6c4b90a18470381afbcc53.
* m_dnsbl: switch to OnSetClientIP hook which may be refired.Gravatar William Pitcock2012-06-121-10/+12
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+18
|
* Remove unneeded inet_aton callGravatar Daniel De Graaf2010-03-311-10/+5
|
* Allow E:lines to make users exempt from DNSBL checksGravatar Daniel De Graaf2010-03-311-0/+3
|
* Incrementing the counter in a loop is useful to prevent it being an infinite ↵Gravatar danieldg2010-02-161-0/+1
| | | | | | loop git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12474 e03df62e-2008-0410-955e-edbf42e46eb7
* m_dnsbl updatesGravatar danieldg2010-02-141-38/+73
| | | | | | | Prevent user registration until dnsbl lookups are complete Allow DNSBLs to be checked using <connect:dnsbl> (MARK type) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12454 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove possible references to deleted User objects due to DNS lookupsGravatar danieldg2010-02-121-7/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12445 e03df62e-2008-0410-955e-edbf42e46eb7
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Move StreamSocket inheritance off of UserGravatar danieldg2009-11-061-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12047 e03df62e-2008-0410-955e-edbf42e46eb7
* Change module API to use LocalUser* where correctGravatar danieldg2009-10-211-31/+27
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11943 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove VF_SERVICEPROVIDER, prevent heap allocation of ConfigReaderGravatar danieldg2009-10-181-15/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11904 e03df62e-2008-0410-955e-edbf42e46eb7