From owner-freebsd-bugs@freebsd.org Sun Jun 11 20:06:02 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E547AD8DD55 for ; Sun, 11 Jun 2017 20:06:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D36E675242 for ; Sun, 11 Jun 2017 20:06:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5BK62Xr047116 for ; Sun, 11 Jun 2017 20:06:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 219930] blacklistd do not remove (unblock) ip from ipfw table Date: Sun, 11 Jun 2017 20:06:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: freebsd@ihead.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 20:06:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219930 Bug ID: 219930 Summary: blacklistd do not remove (unblock) ip from ipfw table Product: Base System Version: 11.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: freebsd@ihead.ru 1) cat /etc/blacklistd.conf | grep -v ^# [local] ftp stream * * * 3 1m [remote] 2) Run blacklistd in console for debug with 1 second checking interval: blacklistd -v -d -t 1 3) Connect to ftpd and make some invalid auths. 4) The output in console (blacklistd -v -d -t 1): [local] target type proto owner name nfail duration 21 6 * * * 3 60 [remote] source type proto owner name nfail duration Connected to blacklist server processing type=3D1 fd=3D5 remote=3D192.168.10.250:59383 msg=3DLogin incorr= ect uid=3D0 gid=3D0 listening socket: 192.168.10.22:21 look: target:192.168.10.22:21, proto:6, family:2, uid:0, name:=3D, nfail:= *, duration:* check: target:21, proto:6, family:*, uid:*, name:*, nfail:3, duration:60 found: target:21, proto:6, family:*, uid:*, name:*, nfail:3, duration:60 conf_apply: merge: target:21, proto:6, family:*, uid:*, name:*, nfail:= 3, duration:60 conf_apply: to: target:192.168.10.22:21, proto:6, family:2, uid:0, name:=3D, nfail:*, duration:* conf_apply: result: target:192.168.10.22:21, proto:6, family:2, uid:*, name:*, nfail:3, duration:60 Applied address 192.168.10.250:21 Applied address 192.168.10.250:21 process: db state info for 192.168.10.250:59383: count=3D0/3 last=3D1970/01= /01 03:00:00 now=3D2017/06/11 22:36:33 processing type=3D1 fd=3D5 remote=3D192.168.10.250:59415 msg=3DLogin incorr= ect uid=3D0 gid=3D0 listening socket: 192.168.10.22:21 look: target:192.168.10.22:21, proto:6, family:2, uid:0, name:=3D, nfail:= *, duration:* check: target:21, proto:6, family:*, uid:*, name:*, nfail:3, duration:60 found: target:21, proto:6, family:*, uid:*, name:*, nfail:3, duration:60 conf_apply: merge: target:21, proto:6, family:*, uid:*, name:*, nfail:= 3, duration:60 conf_apply: to: target:192.168.10.22:21, proto:6, family:2, uid:0, name:=3D, nfail:*, duration:* conf_apply: result: target:192.168.10.22:21, proto:6, family:2, uid:*, name:*, nfail:3, duration:60 Applied address 192.168.10.250:21 Applied address 192.168.10.250:21 process: db state info for 192.168.10.250:59415: count=3D1/3 last=3D2017/06= /11 22:36:33 now=3D2017/06/11 22:36:38 processing type=3D1 fd=3D5 remote=3D192.168.10.250:59437 msg=3DLogin incorr= ect uid=3D0 gid=3D0 listening socket: 192.168.10.22:21 look: target:192.168.10.22:21, proto:6, family:2, uid:0, name:=3D, nfail:= *, duration:* check: target:21, proto:6, family:*, uid:*, name:*, nfail:3, duration:60 found: target:21, proto:6, family:*, uid:*, name:*, nfail:3, duration:60 conf_apply: merge: target:21, proto:6, family:*, uid:*, name:*, nfail:= 3, duration:60 conf_apply: to: target:192.168.10.22:21, proto:6, family:2, uid:0, name:=3D, nfail:*, duration:* conf_apply: result: target:192.168.10.22:21, proto:6, family:2, uid:*, name:*, nfail:3, duration:60 Applied address 192.168.10.250:21 Applied address 192.168.10.250:21 process: db state info for 192.168.10.250:59437: count=3D2/3 last=3D2017/06= /11 22:36:38 now=3D2017/06/11 22:36:44 run /usr/libexec/blacklistd-helper [control add blacklistd tcp 192.168.10.2= 50 32 21 ] add returns (null) 5) ipfw table port21 list --- table(port21), set(0) --- 192.168.10.250/32 0 6) Blocked IP-address is not automatically removed from ipfw table port21. --=20 You are receiving this mail because: You are the assignee for the bug.=