Wikipedia:Bots/Requests for approval/ClueBot 2
From Wikipedia, the free encyclopedia
- The following discussion is an archived debate. Please do not modify it. Subsequent comments should be made in a new section. The result of the discussion was Approved.
[edit] ClueBot
tasks • contribs • count • sul • logs • page moves • block user • block log • flag log • flag bot
Automatic or Manually Assisted: Automatic, unsupervised.
Programming Language(s): PHP, my classes.
Function Summary: Post suspected open proxies on IP vandals to Wikipedia:WikiProject on open proxies.
Edit period(s) (e.g. Continuous, daily, one time run): Continuous.
Edit rate requested: maxlag = 10 (but in reality, not more than once or twice an hour.)
Already has a bot flag (Y/N): N
Function Details: ClueBot has found quite a few open proxy IP vandals. I would like to have ClueBot report them to Wikipedia:WikiProject on open proxies.
[edit] Discussion
- How does it find proxies? ~ Wikihermit 22:45, 2 September 2007 (UTC)
- Magically ;)
- Actually, it has a proxy scanner which checks several blacklists and actually tries to use the proxy on several ports when it finds anonymous/IP vandalism.
- The following are the DNSBLs the bot checks (only the open proxy parts):
dnsbl.njabl.orgvirbl.dnsbl.bit.nlircbl.ahbl.org- tor.dnsbl.sectoor.de
- tor.ahbl.org
no-more-funn.moensted.dkdnsbl.sorbs.netlist.dsbl.org
- The following are the protocols/ports it actually tries to use:
- HTTP: 80 8080 3128 6588 81 8000 8001 8081 808 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 1337 31337 1338 31338 7000
- SOCKS4: 1080 3128 4914 6826 7198 7366 9036 29992 38884 18844 17771 31121 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 1337 31337 1338 31338 7000
- SOCKS5: 1080 3128 4438 5104 5113 5262 5634 6552 6561 7464 7810 8130 8148 8520 8814 9100 9186 9447 9578 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 1337 31337 1338 31338 7000
- ROUTER: 23
- WINGATE: 23
- HTTPPOST: 80 81 808 6588 4480 8000 8001 8080 8081 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 1337 31337 1338 31338 7000
- -- Cobi(t|c|b|cn) 23:05, 2 September 2007 (UTC)
- As far as protocols go, is there a scoring system in place, or will you be listing if there are any of these ports at all open? If not simply checking for open, will you be looking for specific banners/responses on these ports? — xaosflux Talk 23:39, 2 September 2007 (UTC)
-
- From above: Actually, it has a proxy scanner which checks several blacklists and actually tries to use the proxy on several ports when it finds anonymous/IP vandalism. It will actually connect to my server via the proxy. If it is successful, then it found an open proxy. -- Cobi(t|c|b|cn) 23:45, 2 September 2007 (UTC)
- Right, by actually tries to use, where will the "it is open" occur, at say getting an edit token from us after relaying through them, or at simply connecting to their port? I've seen legitimate proxies that have these evil ports open on them, but end up not being open, or are normally in read only (restrict POST, etc commands) mode when accessed. Thanks, — xaosflux Talk 23:53, 2 September 2007 (UTC)
- It is actually going to negotiate a connection to, connect to, and recieve data from a daemon running on my server. That data will be in the form of a string which the bot will check for before it says it is an open proxy. Are you familiar with BOPM (the Blitzed Open Proxy Monitor)? The actual proxy checking code is theirs. ClueBot provides IPs to check and parses the response. -- Cobi(t|c|b|cn) 00:00, 3 September 2007 (UTC)
- Right, by actually tries to use, where will the "it is open" occur, at say getting an edit token from us after relaying through them, or at simply connecting to their port? I've seen legitimate proxies that have these evil ports open on them, but end up not being open, or are normally in read only (restrict POST, etc commands) mode when accessed. Thanks, — xaosflux Talk 23:53, 2 September 2007 (UTC)
- From above: Actually, it has a proxy scanner which checks several blacklists and actually tries to use the proxy on several ports when it finds anonymous/IP vandalism. It will actually connect to my server via the proxy. If it is successful, then it found an open proxy. -- Cobi(t|c|b|cn) 23:45, 2 September 2007 (UTC)
- Where will you get the list of IP's to check? (e.g. From WP:AIV reports, Recent Changes, or just the entire Internet? — xaosflux Talk 23:39, 2 September 2007 (UTC)
- I'm not in BAG, but I was wondering why not put this on a separate bot that runs with a flag instead of putting it on the AV bot? Just curious. Kwsn(Ni!) 00:55, 3 September 2007 (UTC)
-
- Good question. The main reason is that ClueBot hands the IP addresses straight to the proxy scanner, and the proxy scanner hands the results right back. It would be complicated to make the proxy scanner hand them to another bot, and it would be a waste of resources to have ClueBot hand the results off to yet another bot simply to upload them to Wikipedia. Furthermore, ClueBot already reports to AIV. This would be like that, except if it finds an open proxy, it will report to WP:OP instead. -- Cobi(t|c|b|cn) 00:58, 3 September 2007 (UTC)
- Sounds
like a clone ofsimilar to RonaldBot. I'd say do something similar, WP:OP isn't 'big' but it's pretty bulky, posting detected proxies to a User subpage might be more economical. Q T C 12:46, 3 September 2007 (UTC)
- Approved for trial (75 edits or 7 days).. Thanks for the swift answers, please run a trial and report back here any issues or changes needed. — xaosflux Talk 17:26, 3 September 2007 (UTC)
If this bot is making a large volume of queries to these DNSBLs, you should consider licensing/mirroring their zone files to reduce load on their servers. They are a public service and should be treated as nicely as possible. :) — madman bum and angel 14:40, 7 September 2007 (UTC)
- I have removed most of the dns black lists (as you can see above) because they had too many false positives/old positives. Besides, I know networks that use such services for each client that connects (more than one per second), ClueBot's query rate was about .4 a second, so I doubt ClueBot added much load to the servers. I have also added more ports it checks. -- Cobi(t|c|b|cn) 09:08, 8 September 2007 (UTC)
- I didn't say you were a big offender, I just said it'd be more courteous to those public services to attempt to reduce the load as much as possible. Those other networks should too. Just my two cents. — madman bum and angel 04:02, 9 September 2007 (UTC)
Trial is complete, only thing I changed during the trial is that I removed several blacklists generating false positives and added several more ports to scan. -- Cobi(t|c|b|cn) 20:34, 10 September 2007 (UTC)
- Looks fine. Approved.. As per IRC, it would be worth just having an up to date list kept somewhere with a link on the bot page. That isnt major, just something i think thats worth doing, so people know where its looking. Reedy Boy 21:00, 10 September 2007 (UTC)
- The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made in a new section.