summaryrefslogtreecommitdiff
path: root/src/modules/m_dnsbl.cpp
AgeCommit message (Collapse)Author
2007-06-09A ton more clear() and empty() stuff thats been lingering on the long term ↵brain
todo for too long a term :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7264 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05Sexeger!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7241 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-05Stdint being included when we dont even use it, without checking HAS_STDINT, ↵brain
thanks djGrrr git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7235 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-22Someone forgot the blindingly obvious - APPLY the glines/zlines you add! ↵brain
they dont apply themselves :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7112 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-19SPACE INDENTING ACTION RANGERS -- ATTACK!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7048 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-19Windows support. Tested and working to compile on freebsd and linux. Next ↵w00t
step is to make sure it actually works in windows too. ;p. Add Burlex to contributors. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-11Fix a slightly out of date comment (from before the days of the self ↵w00t
commenting IS_LOCAL :p) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6971 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-04Fix for bug #268, repeated messages on users who are already glinedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6880 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-27m_dnsbl stats should count no result as a missspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6847 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-26Fixed bug #266 (m_dnsbl stats), patch by satmdspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6846 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-07Consider your crackpipes confiscated, there was some right dailywtf-worthy ↵brain
stuff in here. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6547 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-07A quick unit test shows this is broken -- fix quickbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6545 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-07satmd tell me if this works, if ive got the wrong octet i need to change a ↵brain
bit of logic ops git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6544 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-04We already have the numeric durations, why the fuck was I trying to get them ↵w00t
again git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6490 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-04Call events properly on KLINE, GLINE and ZLINE for DNSBL module. This fixes ↵w00t
bans not propegating. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6488 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-03Make this work on ancient gcc'sbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6485 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-03On ipv6 servers, if a user connects with 4in6 (0::ffff:...) then attempt a ↵brain
dnsbl lookup of their ip (the bit after the 0::ffff:) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6484 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-24Fix endless loop on dns hit.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6433 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-17Mass comment removal.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6367 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07Document dns caching, add a "bool cached" to OnLookupComplete method in ↵brain
Resolver, and and add " -- cached" to end of 'looking up your host' string if their result is a cached result git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6254 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07DNS caching stuff (almost done)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6252 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07DNS Stuff - this wont work right yet, it will soon (tm)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6250 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07Add TTL stuff to dns system (pass it to inherited objects)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6247 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-01Fix to allow for OnRehash to know what user initiated the rehashbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6207 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29Fixed search and replace, code pilfered from m_alias (i think someone ↵brain
misread the help for std::string::replace...) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6162 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29A few fixes, but i cant see why the reverse check doesnt workbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6161 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28Tidyup and is now a vendor module.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6134 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28Whoops unused variable.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6133 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28Add cleanup of objects on readconf and in destructor.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6132 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28Remove an extra delete that caused a segfault.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6131 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-23Fix bug in m_dnsbl, a condition is always matched because someone was using ↵brain
unsigned int to check a return val that can be -1 *slap w00t* Change around the way exit codes are formed so that we can return a sensible exit code that reflects why inspircd exited git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6076 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-18Fix bug in m_dnsbl: Only the first <dnsbl> tag would be processed.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6041 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-15Remove global namespacing, makes modules compile FASTAH. Also massive update ↵w00t
on headers (change to InspIRCd Development Team, extend copyright to 2007). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5995 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11Initial commit of m_dnsbl, v2.0 - based on satmd's 1.0 m_dnsbl, modified to ↵w00t
work with 1.1 (and hopefully work a bit faster. Removed tag option, as it doesn't broadcast to multiple servers, leaks memory, and is largely useless. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5944 e03df62e-2008-0410-955e-edbf42e46eb7