Skip to content

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

License

Notifications You must be signed in to change notification settings

aletheia7/banip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages