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

https://github.com/aletheia7/banip

Watches journal and drops IP packets using regexp, dnsrbl, nftables, and sqlite. Similar to fail2ban.
https://github.com/aletheia7/banip

fail2ban go journal nft nftables rbl sqlite systemd

Last synced: 24 days ago
JSON representation

Watches journal and drops IP packets using regexp, dnsrbl, nftables, and sqlite. Similar to fail2ban.

Awesome Lists containing this project

README

        

[![](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/aletheia7/banip)

### Installation
- Rapid development is happening and docs are on the way.

```
apt-get install libmnl-dev libnfnetlink-dev
git clone --recursive https://github.com/aletheia7/banip.git
go generate vendor/github.com/aletheia7/nfqueue/nfqueue.go
```
- add a line in nftables:
```
ct state new tcp dport { ? } queue num 77 bypass
```

#### License

Use of this source code is governed by a BSD-2-Clause license that can be found
in the LICENSE file.