From nobody Thu Aug 25 09:26:49 2022 X-Original-To: freebsd-pf@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 4MCyKM3z4pz4bJht; Thu, 25 Aug 2022 09:27:03 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from plan-b.pwste.edu.pl (plan-b.pwste.edu.pl [IPv6:2001:678:618::40]) (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 (2048 bits) client-digest SHA256) (Client CN "plan-b.pwste.edu.pl", Issuer "GEANT OV RSA CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MCyKL2DdMz3gvt; Thu, 25 Aug 2022 09:27:02 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from [IPV6:2a02:22e0:cf00:1ff:a4cc:8dd9:9ea2:dad0] (mzar@[IPv6:2a02:22e0:cf00:1ff:a4cc:8dd9:9ea2:dad0]) (authenticated bits=0) by plan-b.pwste.edu.pl (8.17.1/8.17.1) with ESMTPSA id 27P9Qphi054393 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Thu, 25 Aug 2022 11:26:52 +0200 (CEST) (envelope-from zarychtam@plan-b.pwste.edu.pl) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=plan-b.pwste.edu.pl; s=plan-b-mailer; t=1661419612; bh=eyrW82YES24f/gJt4HpeDXaG4QieKgICbbhUc+cIQ70=; h=Date:To:References:From:Subject:In-Reply-To; b=SYeTVbAhNDQi+zAxTY++BKBFtMeToFLzXR5xwu1WsIacvhCc0wqMvPPwGUslXMU9z RoS6QMzS8ARA4wAEzk7mdoNbpxnJ3cT+XeJFLwjgY9uYSYJuyGyQCFd8xv3lQVlVIH sbKUftI4EM9piE0U/VOnTKJ24wPDDPY6Xkr6UEF+CSGGjSOc3USfYKGvnYA5J8seji GiAA0BjjRok17zXE3EEBSDRvpab51Hwl6O7HL6xXpNc23VcYSwGE1VKFR2hcliDRhc 4PkK7nwMFhDzbUlNPBiMYAD5akRlP4o3NjADPjbBJAgFSlf5mvUyfGO41SXSGay1oe eYrc0w7xOT4Lg== Message-ID: <80c07d5f-0fe3-03b5-28ed-b714ffa9438a@plan-b.pwste.edu.pl> Date: Thu, 25 Aug 2022 11:26:49 +0200 List-Id: Technical discussion and general questions about packet filter (pf) List-Archive: https://lists.freebsd.org/archives/freebsd-pf List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pf@freebsd.org X-BeenThere: freebsd-pf@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Content-Language: en-US To: =?UTF-8?Q?Carlos_L=c3=b3pez_Mart=c3=adnez?= , freebsd-net@FreeBSD.org, freebsd-pf@freebsd.org References: From: Marek Zarychta Subject: Re: How to apply brute force rate limitings with rdr and pass rules under FreeBSD 13? In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------0h32qINcVxI2WqR0IbKv0XMl" X-Rspamd-Queue-Id: 4MCyKL2DdMz3gvt X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=plan-b.pwste.edu.pl header.s=plan-b-mailer header.b=SYeTVbAh; dmarc=pass (policy=none) header.from=plan-b.pwste.edu.pl; spf=none (mx1.freebsd.org: domain of zarychtam@plan-b.pwste.edu.pl has no SPF policy when checking 2001:678:618::40) smtp.mailfrom=zarychtam@plan-b.pwste.edu.pl X-Spamd-Result: default: False [-4.79 / 15.00]; SIGNED_PGP(-2.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.997]; NEURAL_HAM_MEDIUM(-0.99)[-0.990]; DMARC_POLICY_ALLOW(-0.50)[plan-b.pwste.edu.pl,none]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; R_DKIM_ALLOW(-0.20)[plan-b.pwste.edu.pl:s=plan-b-mailer]; MIME_BASE64_TEXT(0.10)[]; FROM_HAS_DN(0.00)[]; R_SPF_NA(0.00)[no SPF record]; MLMMJ_DEST(0.00)[freebsd-pf@freebsd.org,freebsd-net@FreeBSD.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:206006, ipnet:2001:678:618::/48, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[plan-b.pwste.edu.pl:+]; HAS_ATTACHMENT(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_TO(0.00)[outlook.com,FreeBSD.org,freebsd.org]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------0h32qINcVxI2WqR0IbKv0XMl Content-Type: multipart/mixed; boundary="------------goXdTVzda565V5DT3zUwfVOy"; protected-headers="v1" From: Marek Zarychta To: =?UTF-8?Q?Carlos_L=c3=b3pez_Mart=c3=adnez?= , freebsd-net@FreeBSD.org, freebsd-pf@freebsd.org Message-ID: <80c07d5f-0fe3-03b5-28ed-b714ffa9438a@plan-b.pwste.edu.pl> Subject: Re: How to apply brute force rate limitings with rdr and pass rules under FreeBSD 13? References: In-Reply-To: --------------goXdTVzda565V5DT3zUwfVOy Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 VyBkbml1IDI1LjA4LjIwMjIgb8KgMTA6NDgsIENhcmx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lcy4NCg0KSXQncyBhbHNvIHdvcnRoIG1lbnRpb25pbmcgaGVyZSB0aGF0IFBG LXNwZWNpZmljIEZyZWVCU0QgbWFpbGluZyBsaXN0IA0KZXhpc3RzOiBmcmVlYnNkLXBmQGZy ZWVic2Qub3JnDQoNClJlZ2FyZHMsDQotLSANCk1hcmVrIFphcnljaHRhDQo= --------------goXdTVzda565V5DT3zUwfVOy-- --------------0h32qINcVxI2WqR0IbKv0XMl Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEnjwyTmqn2oNX6C8qHZW8vIFppoIFAmMHQFkFAwAAAAAACgkQHZW8vIFppoJI 7ggAswTNPh8WBf1fEs1/27Mlz3Whi3+5CR+U2dFFKG4GyJCUle55Wc5UA9KlYJFgt8iAk+Q44y0M iw+by6Z3sMvZEqvKeYyBwgCPwJmZrTDhDg4hSpvQUngkzOzdBeo2Ks3ACGNWLQz6/R1AgB0HhAN+ 6xZMqwtxfk+suBfEjlBxaLpCyRxSbpILtZbpbdewt16Z+f8RlktkU1H4gvvBv6GiYJmTnXhXr0Ni XjRlyLYVVKktdmk0nWJGrKkuJsBdVpGsQyO78pl6hm44kzoN4lcYRWzqscssDJnpe3tGY76QiHmc z36wSpE6TA+aB+pi45bSvwmelkowMqeqM4V0PsUo8w== =OXZ8 -----END PGP SIGNATURE----- --------------0h32qINcVxI2WqR0IbKv0XMl--