aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_dnsbl.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* m_dnsbl Fix possible use-after-free after a rehashGravatar attilamolnar2013-08-211-25/+7
* 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
* Addendum to r11303, fix for bug #833: use correct result for the type (bitmas...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11305 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-04-161-1/+1
* Convert snomask 'A' into snomask 'a' for local announcements, add snomask 'A'...•••Make SAMODE send a snotice to 'a' and remote to 'A' - fixes bug #822, reported by Taros We really need a wrapper to use these, but, for now it's usable. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11304 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-04-161-6/+6
* Correctly announce dnsbl hits, fixes bug #833 reported by Milliways.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11303 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-04-161-5/+2
* Update all wiki links to point to the new wiki. This was done automatically w...•••for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar psychon2009-03-151-1/+1
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Remove now-unneeded 4in6 hacks [danieldg]•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10781 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-11-011-19/+2
* Fix bug #630, reported by Jorijn, fix by dz. Bitmask dnsbl records not workin...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10777 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-11-011-1/+1
* Change module versions to use a string instead of fixed digits, and use props...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10291 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-251-1/+1
* Fixes to some stuff that writes on memory it shouldn't (thanks psychon).•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10047 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-201-1/+1
* fixed some indentation and spacing in modules•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9888 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar pippijn2008-06-111-7/+7
* And these•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9753 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-191-1/+1
* Move QuitUser into UserManager class, and unstaticize it. This prepares for s...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9442 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-04-091-1/+1
* A load of classes dont inherit from classbase, and they should. fix.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9191 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-241-1/+1