freebsd-skq/contrib/blacklist/bin
lidl ce5ee08751 Extend libblacklist support with new action types
The original blacklist library supported two notification types:
 - failed auth attempt, which incremented the failed login count
   by one for the remote address
 - successful auth attempt, which reset the failed login count
   to zero for that remote address

When the failed login count reached the limit in the configuration
file, the remote address would be blocked by a packet filter.

This patch implements a new notification type, "abusive behavior",
and accepts, but does not act on an additional type, "bad username".
It is envisioned that a system administrator will configure a small
list of "known bad usernames" that should be blocked immediately.

Reviewed by:	emaste
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D10604
2017-05-23 19:03:07 +00:00
..
blacklistctl.8 Merge latest version of blacklist sources from NetBSD (@ 20170503) 2017-05-04 19:07:37 +00:00
blacklistctl.c Merge latest version of blacklist sources from NetBSD (@ 20170503) 2017-05-04 19:07:37 +00:00
blacklistd.8 Update blacklistd.8 with changes from NetBSD 2016-09-30 16:31:12 +00:00
blacklistd.c Extend libblacklist support with new action types 2017-05-23 19:03:07 +00:00
blacklistd.conf.5 Merge latest version of blacklist sources from NetBSD (@ 20170503) 2017-05-04 19:07:37 +00:00
conf.c
conf.h
internal.c
internal.h
Makefile
run.c
run.h
state.c Fix blacklistd's state restoral at startup 2016-09-30 16:35:30 +00:00
state.h
support.c
support.h