aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_dnsbl.cpp
Commit message (Expand)AuthorAgeFilesLines
* Omit the server name internally when building a /STATS reply and prepend it l...Gravatar Attila Molnar2014-01-251-3/+3
* Merge insp20Gravatar Attila Molnar2014-01-211-0/+9
|\
| * m_dnsbl Don't send snotice when the {G|K|Z}line already exists•••Fixes issue #717 reported by @Robby- Gravatar Attila Molnar2014-01-201-0/+9
* | Clean up CoreException•••- Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs Gravatar Attila Molnar2013-12-181-1/+1
* | Make various self contained methods static.•••- InspIRCd::IsValidMask - InspIRCd::TimeString Gravatar Peter Powell2013-12-151-3/+3
* | Use WriteNumeric() everywhere we send numerics and include the user's nick au...Gravatar Adam2013-11-121-2/+2
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-6/+0
* | Replace OnRehash() with ReadConfig() that is called on boot, on module load a...•••This eliminates the need for calling OnRehash() in init() Gravatar attilamolnar2013-08-301-7/+1
* | 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 Chan...•••Pass the string itself to IsIdent() instead of string.c_str() Gravatar attilamolnar2013-08-091-2/+2
* | 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.•••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. Gravatar Peter Powell2013-08-041-2/+2
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
* | Tidy up keywords on module methods.•••- 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. Gravatar Peter Powell2013-05-151-10/+10
* | Replace some C-isms with C++-isms.•••* 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask. Gravatar Peter Powell2013-05-151-5/+1
* | Modularize DNS•••The DNS modules are temporarily in commands/ so they're loaded automatically Thanks to Attila for helping with much of this. Gravatar Adam2013-04-261-126/+134
* | 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 cache•••Fixes #431 reported by @killerrabbit Gravatar attilamolnar2013-03-111-1/+4
* Dynamically determine the size of the eventlist[] passed to Attach()•••m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove Gravatar attilamolnar2012-12-021-1/+1
* m_dnsbl Add usednsbl option to connect classes•••Don't touch users in classes where it's off Gravatar attilamolnar2012-11-291-4/+9
* ServerConfig::ServerName is a std::string, don't call .c_str() on it when pas...Gravatar attilamolnar2012-11-191-3/+3
* 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 std:...•••See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88 Gravatar attilamolnar2012-09-301-12/+21
* m_dnsbl Display <unknown> as the user's nick when annoucing the dnsbl result ...Gravatar attilamolnar2012-09-131-1/+1
* m_dnsbl Switch to OnUserSetIP hookGravatar attilamolnar2012-09-131-2/+2
* Revert "m_dnsbl: switch to OnSetClientIP hook which may be refired."•••This reverts commit fbf14cb9ff28ae1b8a6c4b90a18470381afbcc53. Gravatar Robin Burchell2012-07-011-12/+10
* 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 ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12474 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-161-0/+1
* m_dnsbl updates•••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 Gravatar danieldg2010-02-141-38/+73
* Remove possible references to deleted User objects due to DNS lookups•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12445 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-121-7/+6
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Move StreamSocket inheritance off of User•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12047 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-061-1/+1
* Change module API to use LocalUser* where correct•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11943 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-211-31/+27
* Remove VF_SERVICEPROVIDER, prevent heap allocation of ConfigReader•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11904 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-181-15/+13
* Remove dummy API_VERSION from Version constructor•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11887 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-171-1/+1
* Get rid of a bunch of memory-wasting C-style strings•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11796 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-031-6/+6
* Remove InspIRCd* parameters and fields•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-261-9/+8
* Describe module purpose in /MODULES output•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11757 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-221-1/+1
* Introduce "X" snomask for remote *:line messages [patch by jackmcbarn]•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11721 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-141-3/+3