aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_dnsbl.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* Add -Wshadow to cflags, and fix a bunch of warnings that come with it. Add a ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8892 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-111-3/+2
* Fix.. snomask O is already taken (ffs) so use A instead•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8729 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-171-6/+6
* Remove InspIRCd::WriteOpers in favour of snomask O•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8728 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-171-6/+6
* Header update: 2007 -> 2008•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-101-1/+1
* Remove Implements() method from every module. booya.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8536 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-041-4/+0
* Convert all to new Attach() system. The Implements() method needs removing fr...•••WARNING: there are segfaults here! HERE BE DRAGONS, i am not finished! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8510 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-041-0/+2
* Make it all compile.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8443 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-6/+3
* This one too, grr•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8434 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-2/+2
* Bloody hell, just how many modules use this shit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8433 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-12/+25
* PERL PIE FOR ALL: Rename a fuckload of XLineManager's methods•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8399 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-281-6/+6
* - Tear out a useless load of XLine clutters that did nothing much except conf...•••- Revert back to early 1.0 design of using a single list for line storage. We'll make this work more efficiently than 1.0 though of course. This simplifies the code for expiry, checking, etc. - Merge a bunch of sort callbacks into a single sort callback for class XLine. - Horribly break apply_lines() for the time being. .. and that's probably it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8398 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-281-3/+3
* In the grand tradition of huge fucking commits:••• - chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-6/+6