Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joemcmahon/go-blocktor
Simple application to block requests from TOR network.
https://github.com/joemcmahon/go-blocktor
Last synced: 11 days ago
JSON representation
Simple application to block requests from TOR network.
- Host: GitHub
- URL: https://github.com/joemcmahon/go-blocktor
- Owner: joemcmahon
- License: gpl-2.0
- Created: 2019-01-02T18:14:53.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-02T19:14:24.000Z (almost 6 years ago)
- Last Synced: 2024-10-28T15:48:16.571Z (about 2 months ago)
- Language: Go
- Size: 146 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Blocktor
Simple application to block requests from TOR network, based from https://check.torproject.org/ and iptables rules.## Compile
```bash
$ git clone https://github.com/paulopinda/blocktor.git
$ cd blocktor
$ go build *.go```
## How to use
Load list of all Tor exit nodes from the past 16 hours that can contact xxx.xxx.xxx.xxx on port 80 and 443 and block.
```
$ sudo ./blocktor -address xxx.xxx.xxx.xxx
```Load script with initials rules.
``` bash
$ sudo ./blocktor -address xxx.xxx.xxx.xxx -initial-rules ./init.sh # default is ./rules.sh```