Message ID | 20241115213640.899223-7-adolf.belka@ipfire.org |
---|---|
State | New |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4Xqr2R4NLYz3wpd for <patchwork@web04.haj.ipfire.org>; Fri, 15 Nov 2024 21:37:03 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "E6" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4Xqr2L03LHz4fx; Fri, 15 Nov 2024 21:36:58 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Xqr2K6d3vz3469; Fri, 15 Nov 2024 21:36:57 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Xqr2F18sWz33wB for <development@lists.ipfire.org>; Fri, 15 Nov 2024 21:36:53 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (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) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4Xqr2D6crvz13c; Fri, 15 Nov 2024 21:36:52 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1731706613; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HV8pMpJ6673zUZdYL6wia1lm5hLMbnobUOUD4QAU9/E=; b=SqA6kkxMCfk5dvWTBjQ9NkEOZWabgxGPm6LL7HW8OxPSSle+SCjylp14fBIEQG7iJjLMQG 97kueIzylDHM9JBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1731706613; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HV8pMpJ6673zUZdYL6wia1lm5hLMbnobUOUD4QAU9/E=; b=Y815r582jXv7xPBk+7iz41bfF9vzFWFDA0x4qCw9cyOdQXb2gbTMF+5BM72LNkbfLw4dBG zmqr6bBiletzt42dJTwhJtDv/tWyskSWhqGTr4Tr9KumARWkssuk8E03TvcAiUR48sisgC +bbceQv0bnJFvRlYDiN0vlzk+DIe3Fu/2g0D9H4IBJMHCq8559AtVOTE+6qPhrm+lVJa6O dax0tR9VTwinX/8RJl+gM43UCtYXLzwE61Tqca5+/G0UAWfSPZv8yAvzbhMBAPqCJVYvMU paeLNlYWd/Bet6IWRdwO3PzhmsuyT3Vvyd2tlR3HYi5lOvW0TErh/NxW/VqKBw== From: Adolf Belka <adolf.belka@ipfire.org> To: development@lists.ipfire.org Subject: [PATCH] iptables: Update to version 1.8.11 Date: Fri, 15 Nov 2024 22:36:38 +0100 Message-ID: <20241115213640.899223-7-adolf.belka@ipfire.org> In-Reply-To: <20241115213640.899223-1-adolf.belka@ipfire.org> References: <20241115213640.899223-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: XPC6UDTHH7BGEHK66JYOAPTSNQ2TTPCT X-Message-ID-Hash: XPC6UDTHH7BGEHK66JYOAPTSNQ2TTPCT X-MailFrom: adolf.belka@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> Archived-At: <https://lists.ipfire.org/hyperkitty/list/development@lists.ipfire.org/message/XPC6UDTHH7BGEHK66JYOAPTSNQ2TTPCT/> List-Archive: <https://lists.ipfire.org/hyperkitty/list/development@lists.ipfire.org/> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Owner: <mailto:development-owner@lists.ipfire.org> List-Post: <mailto:development@lists.ipfire.org> List-Subscribe: <mailto:development-join@lists.ipfire.org> List-Unsubscribe: <mailto:development-leave@lists.ipfire.org> |
Series |
iptables: Update to version 1.8.11
|
|
Commit Message
Adolf Belka
Nov. 15, 2024, 9:36 p.m. UTC
- Update from version 1.8.10 to 1.8.11
- Update of rootfile not required
- Changelog
1.8.11
new features:
- New arptables-translate tool
- ebtables-nft:
- Support for --change-counters command, albeit not atomic
- Specify rule counters using iptables' '-c N,M' syntax
- Support --replace and --list-rules commands
- Support zeroing individual rules
- Print negations (exclamation marks) extrapositioned (i.e., before
the match they invert) for consistency with iptables
- iptables-translate:
- Align protocol name lookups with iptables
- iptables-translate: Support socket match and TPROXY target
- iptables-translate: Slightly improved avoidance of redundant 'ip
protocol'/'meta l4proto' matches
- iptables:
- Undo numeric protocol printing of v1.8.9 for well-known protocols
for consistency with iptables-save
- Enable implicit extension lookup for dccp and ipcomp protocols (so
no extra '-m <proto>' is needed after '-p <proto>')
- iptables-save: Avoid calls to getprotobynumber() for consistency and
improved performance with huge rule sets
- libxtables: Support use of both xtables_ipaddr_to_numeric() and
xtables_ipmask_to_numeric() as parameters to the same function call
- configure: Support disabling use of libnfnetlink
- Prefix xtables-monitor rule events by a typical command (iptables,
ip6tables) instead of -4/-6 flags for consistency with ebtables and
arptables events
fixes:
- arptables-nft:
- Ineffective masks when specified in --h-type, --opcode and
--proto-type matches
- Wrong formatting of --h-type values and --proto-type masks causing
misinterpretation by arptables-restore
- iptables-nft:
- Wrong error messages in corner-case error conditions
- Zeroing single rule counters broken (again!)
- Incorrect combination of inverted payload matches
- Spurious error when zeroing a specific builtin chain which doesn't
exist - Calling -Z command with bogus rule number must fail
- libiptc: Corner-case segfault upon renaming a chain
- ebtables-restore:
- Corner-case bug with --noflush
- Spurious failures when deleting multiple rules with among matches
- ebtables-nft:
- Different line number (--Ln) formatting than ebtables-legacy
- Off-by-one rule number when using -S command with rule number
- iptables-legacy: Broken --wait without timeout
- libxtables: Leak of matches' udata buffer
- Some matches stripped full value ranges from output even if inverted
- Illegal memory access when parsing '-c ""' (i.e., empty string
argument)
- Inverted full interface wildcards (e.g. '! -i +') stripped from
iptables-save output
- xtables-monitor:
- Incorrect output when not called with -4 or -6 options
- Flush stdout after each line to prevent buffers and help with
scripting
- Align output for builtin chains with that of tables
- Capture arptables chain events, too
- Empty 'EVENT:' lines printed for ebtables rule changes
- Fix for compiling against musl libc
- xtables-translate: Fix translation of TPROXY target
documentation updates:
- Extensions: string: Starting with linux-6.7, pattern matching no
longer extends past 'to' offset - update the man page accordingly
- Extensions: recent: Clarify ip_list_hash_size default value and
obsoleted state of ip_pkt_list_tot
- ebtables-nft.8: Note that --concurrent is a NOP
- Misc. typesetting, spelling and grammar fixes in man pages
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
lfs/iptables | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Comments
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org> > On 15 Nov 2024, at 21:36, Adolf Belka <adolf.belka@ipfire.org> wrote: > > - Update from version 1.8.10 to 1.8.11 > - Update of rootfile not required > - Changelog > 1.8.11 > new features: > - New arptables-translate tool > - ebtables-nft: > - Support for --change-counters command, albeit not atomic > - Specify rule counters using iptables' '-c N,M' syntax > - Support --replace and --list-rules commands > - Support zeroing individual rules > - Print negations (exclamation marks) extrapositioned (i.e., before > the match they invert) for consistency with iptables > - iptables-translate: > - Align protocol name lookups with iptables > - iptables-translate: Support socket match and TPROXY target > - iptables-translate: Slightly improved avoidance of redundant 'ip > protocol'/'meta l4proto' matches > - iptables: > - Undo numeric protocol printing of v1.8.9 for well-known protocols > for consistency with iptables-save > - Enable implicit extension lookup for dccp and ipcomp protocols (so > no extra '-m <proto>' is needed after '-p <proto>') > - iptables-save: Avoid calls to getprotobynumber() for consistency and > improved performance with huge rule sets > - libxtables: Support use of both xtables_ipaddr_to_numeric() and > xtables_ipmask_to_numeric() as parameters to the same function call > - configure: Support disabling use of libnfnetlink > - Prefix xtables-monitor rule events by a typical command (iptables, > ip6tables) instead of -4/-6 flags for consistency with ebtables and > arptables events > fixes: > - arptables-nft: > - Ineffective masks when specified in --h-type, --opcode and > --proto-type matches > - Wrong formatting of --h-type values and --proto-type masks causing > misinterpretation by arptables-restore > - iptables-nft: > - Wrong error messages in corner-case error conditions > - Zeroing single rule counters broken (again!) > - Incorrect combination of inverted payload matches > - Spurious error when zeroing a specific builtin chain which doesn't > exist - Calling -Z command with bogus rule number must fail > - libiptc: Corner-case segfault upon renaming a chain > - ebtables-restore: > - Corner-case bug with --noflush > - Spurious failures when deleting multiple rules with among matches > - ebtables-nft: > - Different line number (--Ln) formatting than ebtables-legacy > - Off-by-one rule number when using -S command with rule number > - iptables-legacy: Broken --wait without timeout > - libxtables: Leak of matches' udata buffer > - Some matches stripped full value ranges from output even if inverted > - Illegal memory access when parsing '-c ""' (i.e., empty string > argument) > - Inverted full interface wildcards (e.g. '! -i +') stripped from > iptables-save output > - xtables-monitor: > - Incorrect output when not called with -4 or -6 options > - Flush stdout after each line to prevent buffers and help with > scripting > - Align output for builtin chains with that of tables > - Capture arptables chain events, too > - Empty 'EVENT:' lines printed for ebtables rule changes > - Fix for compiling against musl libc > - xtables-translate: Fix translation of TPROXY target > documentation updates: > - Extensions: string: Starting with linux-6.7, pattern matching no > longer extends past 'to' offset - update the man page accordingly > - Extensions: recent: Clarify ip_list_hash_size default value and > obsoleted state of ip_pkt_list_tot > - ebtables-nft.8: Note that --concurrent is a NOP > - Misc. typesetting, spelling and grammar fixes in man pages > > Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> > --- > lfs/iptables | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/lfs/iptables b/lfs/iptables > index 572d9f212..e8c4069d6 100644 > --- a/lfs/iptables > +++ b/lfs/iptables > @@ -1,7 +1,7 @@ > ############################################################################### > # # > # IPFire.org - A linux based firewall # > -# Copyright (C) 2007-2023 IPFire Team <info@ipfire.org> # > +# Copyright (C) 2007-2024 IPFire Team <info@ipfire.org> # > # # > # This program is free software: you can redistribute it and/or modify # > # it under the terms of the GNU General Public License as published by # > @@ -24,7 +24,7 @@ > > include Config > > -VER = 1.8.10 > +VER = 1.8.11 > > THISAPP = iptables-$(VER) > DL_FILE = $(THISAPP).tar.xz > @@ -41,7 +41,7 @@ objects = $(DL_FILE) \ > $(DL_FILE) = $(DL_FROM)/$(DL_FILE) > netfilter-layer7-v2.23.tar.gz = $(URL_IPFIRE)/netfilter-layer7-v2.23.tar.gz > > -$(DL_FILE)_BLAKE2 = 417b33fcfc7edeba169caef26ed0322798f6b82500840509f6c10b97b4ef3f11932c0393fc8dcc5946264442bf8ee959a594b6fbd5dc92012cfad30edf130520 > +$(DL_FILE)_BLAKE2 = 82daca3940e253f6fda7cf5b3332488c31391ff66c0112c0cae2645ab61918f81e6028ea2b1e1385f21e4c5ff8cd64cba31072a2417a2ab696fe1c6b5464cea1 > netfilter-layer7-v2.23.tar.gz_BLAKE2 = 5c8ab722f6fbc126f2f65ecf401de5fc40560c20e3be52f783db34410446185dcb6781b3148e4a174e8b2d2c290bec0342dea95e8cefc35c39345617fa7a8fdc > > install : $(TARGET) > -- > 2.47.0 >
diff --git a/lfs/iptables b/lfs/iptables index 572d9f212..e8c4069d6 100644 --- a/lfs/iptables +++ b/lfs/iptables @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2023 IPFire Team <info@ipfire.org> # +# Copyright (C) 2007-2024 IPFire Team <info@ipfire.org> # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,7 @@ include Config -VER = 1.8.10 +VER = 1.8.11 THISAPP = iptables-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -41,7 +41,7 @@ objects = $(DL_FILE) \ $(DL_FILE) = $(DL_FROM)/$(DL_FILE) netfilter-layer7-v2.23.tar.gz = $(URL_IPFIRE)/netfilter-layer7-v2.23.tar.gz -$(DL_FILE)_BLAKE2 = 417b33fcfc7edeba169caef26ed0322798f6b82500840509f6c10b97b4ef3f11932c0393fc8dcc5946264442bf8ee959a594b6fbd5dc92012cfad30edf130520 +$(DL_FILE)_BLAKE2 = 82daca3940e253f6fda7cf5b3332488c31391ff66c0112c0cae2645ab61918f81e6028ea2b1e1385f21e4c5ff8cd64cba31072a2417a2ab696fe1c6b5464cea1 netfilter-layer7-v2.23.tar.gz_BLAKE2 = 5c8ab722f6fbc126f2f65ecf401de5fc40560c20e3be52f783db34410446185dcb6781b3148e4a174e8b2d2c290bec0342dea95e8cefc35c39345617fa7a8fdc install : $(TARGET)