]> jfr.im git - irc/quakenet/newserv.git/commitdiff
PROXYSCAN: disable scanning of host/port list as it's 6 months out of date.
authorChris Porter <redacted>
Sun, 21 Feb 2010 01:58:56 +0000 (02:58 +0100)
committerChris Porter <redacted>
Sun, 21 Feb 2010 01:58:56 +0000 (02:58 +0100)
proxyscan/proxyscanhandlers.c

index 7b83021e8007ea4115479a204780fda178faad3b..012ce4ad478984024086fa3165577bd5c3f4b28e 100644 (file)
@@ -16,15 +16,19 @@ void proxyscan_newnick(int hooknum, void *arg) {
     return;
 
   /* slug: why is this here? why isn't it with the other queuing stuff? */
-  /* before we look at a normal host, see if we think we have an open proxy */
-  if ((esp=findextrascan(np->ipnode))) {
-    Error("proxyextra", ERR_ERROR, "connection from possible proxy %s", IPtostr(np->p_ipaddr)); 
-    for (espp=esp;espp;espp=espp->nextbynode) { 
-      /* we force a scan on any hosts that may be an open proxy, even if they are:
-       * a) already in the queue, b) we've been running < 120 seconds */
-      queuescan(np->ipnode, espp->type, espp->port, SCLASS_NORMAL, time(NULL));
-    }
-  }
+  /* we're given a list of ip/subnets and port pairs which someone else has
+     seen a proxy on in the past, so we scan these very aggressively
+     (even ignoring the cache)
+   */
+  /* disabled as the list is hopelessly out of date */
+//  if ((esp=findextrascan(np->ipnode))) {
+//    Error("proxyextra", ERR_ERROR, "connection from possible proxy %s", IPtostr(np->p_ipaddr)); 
+//    for (espp=esp;espp;espp=espp->nextbynode) { 
+//      /* we force a scan on any hosts that may be an open proxy, even if they are:
+//       * a) already in the queue, b) we've been running < 120 seconds */
+//      queuescan(np->ipnode, espp->type, espp->port, SCLASS_NORMAL, time(NULL));
+//    }
+//  }
 
 /* slug: this BREAKS all of P's design assumptions, do NOT REENABLE THIS UNDER ANY CIRCUMSTANCES */
 /* ignore newnick until initial burst complete */