aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_dnsbl.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* | 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
* m_dnsbl: Change ident marking to a generic "MARK" that allows ident and/or vh...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11645 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-9/+20
* Add ident change action to m_dnsbl [patch by cytrix]•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11644 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-1/+10
* ModResult conversion: Change return type of all module functions•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11634 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-6/+6
* Roll back mysterious DNS change from 2007 which broke multiple-answer•••DNS requests (CNAME, A). It looks like this was to be related to bitmask dnsbl support, but it would never have worked anyway (resultnum was always 0..). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11419 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-06-301-5/+1
* OnRehash changes: split to multiple hooks to clarify use and prevent explosio...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-241-1/+1
* m_dnsbl: Add default duration and error message on invalid duration•••Before, this caused DNSBL hits to take no action, as the zlines expired before being applied. The default duration of 60 seconds exists only to make the bans work; a longer duration is recommended to reduce log noise. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11387 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-231-1/+5
* Send snotices when m_dnsbl adds an xline; fixes bug #837•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11318 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-191-0/+6
* Convert m_dnsbl to send globally routed snomasks. Fixes bug #836•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11315 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-181-6/+6