项目作者: Vnet-as

项目描述 :
Simple script to dynamically fetch all Tor Exit Nodes and drop their communication
高级语言: Shell
项目地址: git://github.com/Vnet-as/tor-iptables-blocker.git
创建时间: 2018-05-02T06:34:19Z
项目社区:https://github.com/Vnet-as/tor-iptables-blocker

开源协议:

下载


Tor Iptables Blocker

This is simple bash script that creates set of IP addresses of Tor Exit Nodes and blocks them completely.

Dependencies

To run this script you need to have installed these utilities:

  • wget
  • ipset
  • iptables

This script must have root privileges to run!

Example Run

To block IP addresses that can access IP address 192.0.2.10, run tor-iptables-blocker.sh 192.0.2.10.

To dynamically update ip address set every day at 6:00 for IP address 192.0.2.10, you can add line as this to crontab:

  1. 0 6 * * * root /usr/local/bin/ipset-block-tor.sh 109.74.144.181