* [iptables PATCH 1/3] gitignore: Ignore utils/nfsynproxy
@ 2022-12-22 16:25 Phil Sutter
2022-12-22 16:25 ` [iptables PATCH 2/3] gitignore: Ignore generated ip6tables man pages Phil Sutter
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Phil Sutter @ 2022-12-22 16:25 UTC (permalink / raw)
To: netfilter-devel
Fixes: 9e6928f037823 ("utils: add nfsynproxy tool")
Signed-off-by: Phil Sutter <phil@nwl.cc>
---
utils/.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/utils/.gitignore b/utils/.gitignore
index 6300812b1701b..e508bb3270c4f 100644
--- a/utils/.gitignore
+++ b/utils/.gitignore
@@ -2,3 +2,4 @@
/nfnl_osf.8
/nfbpf_compile
/nfbpf_compile.8
+/nfsynproxy
--
2.38.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [iptables PATCH 2/3] gitignore: Ignore generated ip6tables man pages
2022-12-22 16:25 [iptables PATCH 1/3] gitignore: Ignore utils/nfsynproxy Phil Sutter
@ 2022-12-22 16:25 ` Phil Sutter
2022-12-22 16:25 ` [iptables PATCH 3/3] ebtables-translate: Install symlink Phil Sutter
2022-12-22 17:42 ` [iptables PATCH 1/3] gitignore: Ignore utils/nfsynproxy Phil Sutter
2 siblings, 0 replies; 4+ messages in thread
From: Phil Sutter @ 2022-12-22 16:25 UTC (permalink / raw)
To: netfilter-devel
Fixes: 127eadee563e4 ("Makefile: Generate ip6tables man pages on the fly")
Signed-off-by: Phil Sutter <phil@nwl.cc>
---
iptables/.gitignore | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/iptables/.gitignore b/iptables/.gitignore
index cd7d87b127ae6..245e1245727bd 100644
--- a/iptables/.gitignore
+++ b/iptables/.gitignore
@@ -1,6 +1,10 @@
/ip6tables
+/ip6tables.8
+/ip6tables-apply.8
/ip6tables-save
+/ip6tables-save.8
/ip6tables-restore
+/ip6tables-restore.8
/ip6tables-static
/ip6tables-translate.8
/ip6tables-restore-translate.8
--
2.38.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [iptables PATCH 3/3] ebtables-translate: Install symlink
2022-12-22 16:25 [iptables PATCH 1/3] gitignore: Ignore utils/nfsynproxy Phil Sutter
2022-12-22 16:25 ` [iptables PATCH 2/3] gitignore: Ignore generated ip6tables man pages Phil Sutter
@ 2022-12-22 16:25 ` Phil Sutter
2022-12-22 17:42 ` [iptables PATCH 1/3] gitignore: Ignore utils/nfsynproxy Phil Sutter
2 siblings, 0 replies; 4+ messages in thread
From: Phil Sutter @ 2022-12-22 16:25 UTC (permalink / raw)
To: netfilter-devel
Make this officially a tool, we have enough test coverage in place. Also
update xtables-translate.8 to mention it at least and generate
ebtables-translate.8 which points to it.
Signed-off-by: Phil Sutter <phil@nwl.cc>
---
iptables/.gitignore | 1 +
iptables/Makefile.am | 6 +++---
iptables/xtables-translate.8 | 13 +++++++++----
3 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/iptables/.gitignore b/iptables/.gitignore
index 245e1245727bd..8141e34d8b629 100644
--- a/iptables/.gitignore
+++ b/iptables/.gitignore
@@ -1,3 +1,4 @@
+/ebtables-translate.8
/ip6tables
/ip6tables.8
/ip6tables-apply.8
diff --git a/iptables/Makefile.am b/iptables/Makefile.am
index 4353dd0094c9e..1f37640f263c9 100644
--- a/iptables/Makefile.am
+++ b/iptables/Makefile.am
@@ -69,7 +69,7 @@ dist_pkgdata_DATA = iptables.xslt
if ENABLE_NFTABLES
man_MANS += iptables-translate.8 ip6tables-translate.8 \
iptables-restore-translate.8 ip6tables-restore-translate.8 \
- xtables-monitor.8
+ xtables-monitor.8 ebtables-translate.8
dist_man_MANS = xtables-nft.8 xtables-translate.8 xtables-legacy.8 \
arptables-nft.8 arptables-nft-restore.8 arptables-nft-save.8 \
@@ -89,7 +89,7 @@ endif
if ENABLE_NFTABLES
x_sbin_links = iptables-nft iptables-nft-restore iptables-nft-save \
ip6tables-nft ip6tables-nft-restore ip6tables-nft-save \
- iptables-translate ip6tables-translate \
+ iptables-translate ip6tables-translate ebtables-translate \
iptables-restore-translate ip6tables-restore-translate \
arptables-nft arptables \
arptables-nft-restore arptables-restore \
@@ -105,7 +105,7 @@ iptables-extensions.8: iptables-extensions.8.tmpl ../extensions/matches.man ../e
-e '/@MATCH@/ r ../extensions/matches.man' \
-e '/@TARGET@/ r ../extensions/targets.man' $< >$@;
-iptables-translate.8 ip6tables-translate.8 iptables-restore-translate.8 ip6tables-restore-translate.8:
+iptables-translate.8 ip6tables-translate.8 iptables-restore-translate.8 ip6tables-restore-translate.8 ebtables-translate.8:
${AM_VERBOSE_GEN} echo '.so man8/xtables-translate.8' >$@
ip6tables.8 ip6tables-apply.8 ip6tables-restore.8 ip6tables-save.8:
diff --git a/iptables/xtables-translate.8 b/iptables/xtables-translate.8
index 3dc72760e8636..a048e8c9ced77 100644
--- a/iptables/xtables-translate.8
+++ b/iptables/xtables-translate.8
@@ -28,9 +28,12 @@
iptables-translate \(em translation tool to migrate from iptables to nftables
.P
ip6tables-translate \(em translation tool to migrate from ip6tables to nftables
+.P
+ebtables-translate \(em translation tool to migrate from ebtables to nftables
.SH DESCRIPTION
There is a set of tools to help the system administrator translate a given
-ruleset from \fBiptables(8)\fP and \fBip6tables(8)\fP to \fBnftables(8)\fP.
+ruleset from \fBiptables(8)\fP, \fBip6tables(8)\fP and \fBebtables(8)\fP to
+\fBnftables(8)\fP.
The available commands are:
@@ -42,9 +45,12 @@ iptables-restore-translate
ip6tables-translate
.IP \[bu]
ip6tables-restore-translate
+.IP \[bu] 2
+ebtables-translate
.SH USAGE
-They take as input the original \fBiptables(8)\fP/\fBip6tables(8)\fP syntax and
+They take as input the original
+\fBiptables(8)\fP/\fBip6tables(8)\fP/\fBebtables(8)\fP syntax and
output the native \fBnftables(8)\fP syntax.
The \fBiptables-restore-translate\fP tool reads a ruleset in the syntax
@@ -117,8 +123,7 @@ Some (few) extensions may be not supported (or fully-supported) for whatever
reason (for example, they were considered obsolete, or we didn't have the time
to work on them).
-There are no translations available for \fBebtables(8)\fP and
-\fBarptables(8)\fP.
+There is no translation available for \fBarptables(8)\fP.
To get up-to-date information about this, please head to
\fBhttps://wiki.nftables.org/\fP.
--
2.38.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [iptables PATCH 1/3] gitignore: Ignore utils/nfsynproxy
2022-12-22 16:25 [iptables PATCH 1/3] gitignore: Ignore utils/nfsynproxy Phil Sutter
2022-12-22 16:25 ` [iptables PATCH 2/3] gitignore: Ignore generated ip6tables man pages Phil Sutter
2022-12-22 16:25 ` [iptables PATCH 3/3] ebtables-translate: Install symlink Phil Sutter
@ 2022-12-22 17:42 ` Phil Sutter
2 siblings, 0 replies; 4+ messages in thread
From: Phil Sutter @ 2022-12-22 17:42 UTC (permalink / raw)
To: netfilter-devel
On Thu, Dec 22, 2022 at 05:25:39PM +0100, Phil Sutter wrote:
> Fixes: 9e6928f037823 ("utils: add nfsynproxy tool")
> Signed-off-by: Phil Sutter <phil@nwl.cc>
Series applied.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-12-22 17:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-22 16:25 [iptables PATCH 1/3] gitignore: Ignore utils/nfsynproxy Phil Sutter
2022-12-22 16:25 ` [iptables PATCH 2/3] gitignore: Ignore generated ip6tables man pages Phil Sutter
2022-12-22 16:25 ` [iptables PATCH 3/3] ebtables-translate: Install symlink Phil Sutter
2022-12-22 17:42 ` [iptables PATCH 1/3] gitignore: Ignore utils/nfsynproxy Phil Sutter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.