View Code? Open in Web Editor
NEW
Simple & efficient log file scanning and iptable filtering
License: GNU General Public License v3.0
C 95.38%
C++ 1.49%
Shell 1.32%
Makefile 1.82%
ban2fail's Introduction
- ๐ Hi, Iโm @jrbrtsn
- ๐ Iโm interested in C, C++, bash
- ๐ฑ Iโm currently learning javascript.
- ๐๏ธ Iโm looking to collaborate on projects written in C and C++.
- ๐ซ How to reach me [email protected]
ban2fail's People
Contributors
ban2fail's Issues
can u provide example for use with asterisk?
Hi;
I use ipset and fail2ban in debian and centos
most of my ipset come from iplists.firehol.org
their is a way to use these iplists directly with your ban2fail ?
root@alex-VirtualBox:/home/alex/ban2fail-0.14.3# make release
cntry.c:20:10: fatal error: GeoIP.h: No such file or directory
20 | #include <GeoIP.h>
| ^~~~~~~~~
compilation terminated.
cc -c -g0 -O3 -Wreturn-type -Wformat -Wchar-subscripts -Wparentheses -Wcast-qual -Wmissing-declarations -DNDEBUG -std=gnu99 cntry.c -o release/cntry.o
cntry.c:20:10: fatal error: GeoIP.h: No such file or directory
20 | #include <GeoIP.h>
| ^~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:249: release/cntry.o] Error 1
make: *** [Makefile:87: release] Error 2
root@alex-VirtualBox:/home/alex/ban2fail-0.14.3# ls
add-addrs.sh ban2fail.cfg cfgmap.h dynstack.h ez_libanl.h ez_libpthread.c install.sh logFile.c map.c msgqueue.h pdns.c release timestamp.c
addrRpt.c ban2fail.h cntry.c es.c ez_libc.c ez_libpthread.h iptables.c logFile.h map.h obsvTpl.c pdns.h str.c timestamp.h
addrRpt.h ban2fail.service cntry.h es.h ez_libc.h ez_libz.c iptables.h logType.c maxoff.c obsvTpl.h ptrvec.c str.h TODO.txt
b2f-grep.c ban2fail.sh cron-rpt.sh ez.h ez_libdb.c ez_libz.h Jmakefile logType.h maxoff.h offEntry.c ptrvec.h target.c util.c
ban2fail.c cfgmap.c dynstack.c ez_libanl.c ez_libdb.h fsckdns.c LICENSE Makefile msgqueue.c offEntry.h README.md target.h util.h