summaryrefslogtreecommitdiff
path: root/src/modules/m_dnsbl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Consider your crackpipes confiscated, there was some right dailywtf-worthy ↵Gravatar brain2007-02-071-4/+3
| | | | | | stuff in here. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6547 e03df62e-2008-0410-955e-edbf42e46eb7
* A quick unit test shows this is broken -- fix quickGravatar brain2007-02-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6545 e03df62e-2008-0410-955e-edbf42e46eb7
* satmd tell me if this works, if ive got the wrong octet i need to change a ↵Gravatar brain2007-02-071-23/+8
| | | | | | bit of logic ops git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6544 e03df62e-2008-0410-955e-edbf42e46eb7
* We already have the numeric durations, why the fuck was I trying to get them ↵Gravatar w00t2007-02-041-3/+3
| | | | | | again git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6490 e03df62e-2008-0410-955e-edbf42e46eb7
* Call events properly on KLINE, GLINE and ZLINE for DNSBL module. This fixes ↵Gravatar w00t2007-02-041-0/+3
| | | | | | bans not propegating. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6488 e03df62e-2008-0410-955e-edbf42e46eb7
* Make this work on ancient gcc'sGravatar brain2007-02-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6485 e03df62e-2008-0410-955e-edbf42e46eb7
* On ipv6 servers, if a user connects with 4in6 (0::ffff:...) then attempt a ↵Gravatar brain2007-02-031-3/+20
| | | | | | 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
* Fix endless loop on dns hit.Gravatar peavey2007-01-241-10/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6433 e03df62e-2008-0410-955e-edbf42e46eb7
* Mass comment removal.Gravatar brain2007-01-171-15/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6367 e03df62e-2008-0410-955e-edbf42e46eb7
* Document dns caching, add a "bool cached" to OnLookupComplete method in ↵Gravatar brain2007-01-071-1/+1
| | | | | | 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
* DNS caching stuff (almost done)Gravatar brain2007-01-071-4/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6252 e03df62e-2008-0410-955e-edbf42e46eb7
* DNS Stuff - this wont work right yet, it will soon (tm)Gravatar brain2007-01-071-4/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6250 e03df62e-2008-0410-955e-edbf42e46eb7
* Add TTL stuff to dns system (pass it to inherited objects)Gravatar brain2007-01-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6247 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix to allow for OnRehash to know what user initiated the rehashGravatar brain2007-01-011-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6207 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed search and replace, code pilfered from m_alias (i think someone ↵Gravatar brain2006-12-291-4/+5
| | | | | | misread the help for std::string::replace...) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6162 e03df62e-2008-0410-955e-edbf42e46eb7
* A few fixes, but i cant see why the reverse check doesnt workGravatar brain2006-12-291-2/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6161 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidyup and is now a vendor module.Gravatar peavey2006-12-281-33/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6134 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops unused variable.Gravatar peavey2006-12-281-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6133 e03df62e-2008-0410-955e-edbf42e46eb7
* Add cleanup of objects on readconf and in destructor.Gravatar peavey2006-12-281-1/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6132 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove an extra delete that caused a segfault.Gravatar peavey2006-12-281-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6131 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug in m_dnsbl, a condition is always matched because someone was using ↵Gravatar brain2006-12-231-1/+2
| | | | | | | | | 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
* Fix bug in m_dnsbl: Only the first <dnsbl> tag would be processed.Gravatar w00t2006-12-181-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6041 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove global namespacing, makes modules compile FASTAH. Also massive update ↵Gravatar w00t2006-12-151-3/+12
| | | | | | 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
* Initial commit of m_dnsbl, v2.0 - based on satmd's 1.0 m_dnsbl, modified to ↵Gravatar w00t2006-12-111-0/+347
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