From: Paul Date: Sat, 17 Aug 2013 11:38:00 +0000 (+0100) Subject: PROXYSCAN: gline for 12h now by default [from live P] X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/commitdiff_plain/7d3749b22ad5d81cd9d592b9f3d32413ee2ba7c4 PROXYSCAN: gline for 12h now by default [from live P] --- diff --git a/proxyscan/proxyscan.c b/proxyscan/proxyscan.c index 37a2fcf2..33d6b836 100644 --- a/proxyscan/proxyscan.c +++ b/proxyscan/proxyscan.c @@ -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");