Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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

```