From nobody Wed Nov 09 04:52:18 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N6XdH493Bz4dJcX for ; Wed, 9 Nov 2022 04:52:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N6XdH1ktGz4L55 for ; Wed, 9 Nov 2022 04:52:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667969539; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rEzPLMSMg6PjOx/bM84r7fTmxmtMnK1LRLUMGJN8aUU=; b=nZqD/xc8ZiGbyTpavMKCEZ1Xnf7H1ZX45zTOaGEHSUZiltxBwN0VfY+W1S6188exp6YK1C zgqE91FICccXGRwR5C+TBpv/1+WA+f9WqseZBUwtWn4VQsmAP+vyOth2pgBXj55eXswaOM EyDPTGMxTpUyjeQTZ+QpfY8BE2I5S3+Vu6GJx+4NeBcXSCQSU5R2X+dWvr1lKb3G5FL8Ud Spijg2En8ZeWDDcWIUmGCWJLa4TEmwwCfL1kycOh7Ro6h5FoOhOaicSDIAJn71b39dpnay hRzBGN2QE/MqQ4FNPIL43ASvdfuImMHi+icczibJ6nFXZRDIYc3Vu2bximazsA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667969539; a=rsa-sha256; cv=none; b=SJ1FGVVfE5ESIxqzvrhEFXVqGr3h+INdY9MkDyWLGeKqRqYwRzYW0OgfizSCZTwbreJxxx 5P7c37ppNM+p/XCE3VNsRzTdKYKW3l1GgWz90/RtuesQmOXKwFS5DwXJJX/xnLvT++9lJ0 i2zzvrNQy1PslVL5/dB+AS3vKW2o2+yF+FZYBdKbMtKUAJGNJSJgqt2XXWCqpepz3Vk7h3 NsAWovbuvOXoDeRZ/MC26B+Gdo8JCFm/w+QrIXTWo6yWAh7u8nq1cCOa2YqR5PbcZVMPWF 0R4WH8VeCCyKbpnXkxKO2O93SSssntqeYCJ4UxzbVtaHihZO2X09SYsIIT/koA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N6XdH0qdWz1892 for ; Wed, 9 Nov 2022 04:52:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2A94qJav091031 for ; Wed, 9 Nov 2022 04:52:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2A94qJ6V091029 for ports-bugs@FreeBSD.org; Wed, 9 Nov 2022 04:52:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 267658] security/py-fail2ban: Fix PF failing to be able to ban stuff using for example UDP Date: Wed, 09 Nov 2022 04:52:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: vvelox@vvelox.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cy@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created 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 List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267658 Bug ID: 267658 Summary: security/py-fail2ban: Fix PF failing to be able to ban stuff using for example UDP Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: cy@FreeBSD.org Reporter: vvelox@vvelox.net Assignee: cy@FreeBSD.org Flags: maintainer-feedback?(cy@FreeBSD.org) Created attachment 237962 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D237962&action= =3Dedit git diff for adding the new patch file pfctl -k never gets called, meaning the abusing IP can keep it up fast= as long as the state is active. UDP, this is basically indefinitely as long as= the keep the active. For TCP protocols such as HTTPS2 this means as long as the connection is up, they can continue launching attacks against the server as= it is a multiplexed connection, meaning more than a single request can be made= for a single TCP session. As it currently stands the current implementation relies on luck or the assumption that most people are not using it for UDP and for when it comes = to TCP it is largely not being used for services with multiplexed connections. The patch allows the old insecure behaviour to be kept, but makes it secure= by default. Old behavior can be kept via adding no_kick=3Dtrue. This is docume= nted in the config as well as explanation of what the choice means for either. Also while there, document how to set multiple protocols for the protocol setting. --=20 You are receiving this mail because: You are the assignee for the bug.=