aboutsummaryrefslogtreecommitdiff
path: root/contrib/torctl.in
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2010-10-04 13:31:58 +0200
committerNick Mathewson <nickm@torproject.org>2010-11-15 13:57:37 -0500
commitda3a6e724fc9b1aa780d1f0c13787f365d370bbe (patch)
tree5af6b662342bf4a2299963ce3a25d06ce3f1fcb7 /contrib/torctl.in
parentdbba84c917279c8c58b1bfdac37fbcdfd84b7bb7 (diff)
downloadtor-da3a6e724fc9b1aa780d1f0c13787f365d370bbe.tar.gz
tor-da3a6e724fc9b1aa780d1f0c13787f365d370bbe.zip
Rate-limit unsafe socks warning
Pick 5 seconds as the limit. 5 seconds is a compromise here between making sure the user notices that the bad behaviour is (still) happening and not spamming their log too much needlessly (the log message is pretty long). We also keep warning every time if safesocks is specified, because then the user presumably wants to hear about every blocked instance. (This is based on the original patch by Sebastian, then backported to 0.2.2 and with warnings split into their own function.)
Diffstat (limited to 'contrib/torctl.in')
0 files changed, 0 insertions, 0 deletions