1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-02 12:20:51 +00:00
freebsd/contrib
Kurt Lidl 2495a63064 Reset failed login count to zero when removing a blocked address
The blacklistd daemon keeps records of failed login attempts for
each address:port that is flagged as a failed login.  When a
successful login occurs for that address:port combination,
the record's last update time is set to zero, to indicate no current
failed login attempts.

Reset the failed login count to zero, so that at the next failed
login attempt, the counting will restart properly at zero.  Without
this reset to zero, the first failed login after a successful login
will cause the address to be blocked immediately.

When debugging is turned on, output more information about database
state before and after the database updates have occured.

A similar patch has already been upstreamed to NetBSD.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2017-02-23 05:40:59 +00:00
..
amd
apr
apr-util
atf
binutils Add rfdi opcode to binutils 2017-02-01 02:42:45 +00:00
blacklist Reset failed login count to zero when removing a blocked address 2017-02-23 05:40:59 +00:00
bmake
bsnmp Fix regression from r310655, which broke operation of bsnmpd if it is bound 2017-01-17 03:52:57 +00:00
byacc Apply r274475's to expr.oxout.tab.c to fix the test on FreeBSD 2017-02-07 18:37:46 +00:00
bzip2
com_err
compiler-rt Pull in r285478 from upstream compiler-rt trunk (by Saleem Abdulrasool): 2017-02-16 21:03:43 +00:00
cortex-strings
dialog
diff
dma Revert crap accidentally committed 2017-01-28 16:31:23 +00:00
dtc
ee
elftoolchain Add elf*-powerpc-freebsd targets to the elftoolchain target list 2017-02-08 03:21:29 +00:00
expat
file
flex
gcc add octeon+ as an alias for octeon in GCC & binutils 2017-01-27 21:31:32 +00:00
gcclibs
gdb
gdtoa
gperf
groff
hyperv/tools
ipfilter Use normal KNF cuddling of elses. 2017-01-26 04:51:48 +00:00
jemalloc
ldns
ldns-host
less
libarchive MFV r313781: 2017-02-15 20:17:55 +00:00
libbegemot
libc-pwcache
libc-vis
libc++
libcxxrt
libdivsufsort
libexecinfo
libgnuregex
libpcap MFV r313759: license change for a few headers (4 clause BSD to 3 clause BSD). 2017-02-15 07:22:47 +00:00
libreadline
libstdc++
libucl Import libucl 20170219 2017-02-19 17:37:16 +00:00
libxo
llvm lld: Allow arbitrary code alignment in .eh_frame 2017-02-08 20:31:54 +00:00
mdocml Import mandoc 1.4.1rc2 2017-02-19 17:46:37 +00:00
mknod
mtree Use type-independent formats for printing nlink_t and ino_t. 2017-01-06 16:59:33 +00:00
ncurses
netbsd-tests Oops... put the atf_tc_expect_fail in the testcase definition, not the 2017-02-07 19:02:59 +00:00
netcat Merge projects/ipsec into head/. 2017-02-06 08:49:57 +00:00
ngatm Fix the following clang 4.0.0 warning in ngatm's snmp_atm.c: 2017-01-07 15:57:12 +00:00
ntp
nvi
ofed
one-true-awk
openbsm
openpam Upgrade to OpenPAM Radula. 2017-02-20 00:56:46 +00:00
openresolv MFV r312970: 2017-01-30 16:32:53 +00:00
opie
pam_modules/pam_passwdqc
pf
pjdfstest
pnpinfo
sendmail
serf
smbfs
sqlite3
subversion
tcp_wrappers After r311459, some ports can break, because a few of the newly added 2017-01-06 21:40:30 +00:00
tcpdump MFhead@r313243 2017-02-04 18:06:09 +00:00
tcsh
telnet
tnftp
top
traceroute Capsicumize traceroute. 2017-02-20 23:48:50 +00:00
tzcode localtime: return NULL if time_t out of range of struct tm 2017-02-15 15:32:29 +00:00
tzdata
unbound
unvis
vis
wpa
xz MFV r311477: xz 5.2.3. 2017-01-06 07:54:53 +00:00
zlib MFV r312333: zlib 1.2.11. 2017-01-17 05:55:47 +00:00