User:TorNodeBot
{{Infobox bot
|Bot name=TorNodeBot
|image=File:Blooming_onion.jpg
|caption=A tor exit node sliced up by TorNodeBot
|approval=yes
|flag=+Bot +Sysop ([http://en.wikipedia.org/w/index.php?title=Special:ListUsers&username=TorNodeBot&group=&limit=1 verify])
|tasks=Block tor exit nodes that are not blocked by mw:Extension:TorBlock
|period=Continuous
|process=Automatic
|language=PHP with Lua backend
|source=[http://www.shiibot.com/torbot.php.txt PHP] and [http://www.shiibot.com/blockcheck.lua.txt Lua]
|shutoff=Yes
|lang_cat=PHP
}}
{{bot|Shirik|status=inactive|brfa=TorNodeBot 2}}
{{ambox|text=Note: This bot may appear to be inactive when it is running passively. This is because the bot effectively offers a backup service, which triggers when it is necessary. When everything is running smoothly, the bot will perform read-only actions.}}
{{Emergency-bot-shutoff}}
TorNodeBot is a bot that monitors the Tor network and ensures that Wikipedia exit nodes (those nodes in the Tor network that can be the last "hop" and route data to its final destination) can not edit, in accordance with our policy on Open proxies. The TorBlock extension is supposed to handle this automatically, but tends to miss several exit nodes and goes down on occasion. TorNodeBot fills in the gaps left open by the extension.
This bot runs continuously and applies blocks when all of the following 3 conditions are met:
:# The node is present in the Tor directory service as an exit node router
:# The node is responding to requests and can route to Wikipedia's sandbox
:# The node is not blocked already by the TorBlock extension
When all three of these conditions are met, a temporary block is placed on the node.
{{Adminstats/default|edits=18|ed=18|blocked=32123}}