]> jfr.im git - irc/quakenet/newserv.git/commitdiff
PROXYSCAN: gline for 12h now by default [from live P]
authorPaul <redacted>
Sat, 17 Aug 2013 11:38:00 +0000 (12:38 +0100)
committerPaul <redacted>
Sat, 17 Aug 2013 11:38:00 +0000 (12:38 +0100)
proxyscan/proxyscan.c

index 37a2fcf271d91d848b2c75d36e6c580c5a72562d..33d6b8363492459fcde9b2d3a6808fcd4ffd9308 100644 (file)
@@ -584,7 +584,7 @@ void killsock(scan *sp, int outcome) {
       loggline(chp, sp->node);   
       ip = &(((patricia_node_t *)sp->node)->prefix->sin);
       snprintf(reason, sizeof(reason), "Open Proxy, see http://www.quakenet.org/openproxies.html - ID: %d", chp->glineid);
-      glinebyip("*", ip, 128, 1800, reason, GLINE_IGNORE_TRUST, "proxyscan");
+      glinebyip("*", ip, 128, 43200, reason, GLINE_IGNORE_TRUST, "proxyscan");
       Error("proxyscan",ERR_DEBUG,"Found open proxy on host %s",IPtostr(*ip));
 
       snprintf(buf, sizeof(buf), "proxy-gline %lu %s %s %hu %s", time(NULL), IPtostr(*ip), scantostr(sp->type), sp->port, "irc.quakenet.org");