Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 13971] New: ip6tables-nft build does not include MASQUERADE target options
@ 2021-11-02 20:13 bugzilla
  2021-11-02 20:13 ` [Buildroot] [Bug 13971] " bugzilla
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: bugzilla @ 2021-11-02 20:13 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13971

            Bug ID: 13971
           Summary: ip6tables-nft build does not include MASQUERADE target
                    options
           Product: buildroot
           Version: 2021.02.3
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned@buildroot.uclibc.org
          Reporter: mbuil@suse.com
                CC: buildroot@uclibc.org
  Target Milestone: ---

I added the bug into the attached file because I was having trouble to explain
the bug in the Description field

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@bootlin.com> ---
*** Bug 13936 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 13971] ip6tables-nft build does not include MASQUERADE target options
  2021-11-02 20:13 [Buildroot] [Bug 13971] New: ip6tables-nft build does not include MASQUERADE target options bugzilla
@ 2021-11-02 20:13 ` bugzilla
  2021-11-02 20:13 ` bugzilla
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla @ 2021-11-02 20:13 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13971

--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@bootlin.com> ---
*** Bug 13941 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 13971] ip6tables-nft build does not include MASQUERADE target options
  2021-11-02 20:13 [Buildroot] [Bug 13971] New: ip6tables-nft build does not include MASQUERADE target options bugzilla
  2021-11-02 20:13 ` [Buildroot] [Bug 13971] " bugzilla
@ 2021-11-02 20:13 ` bugzilla
  2021-11-02 20:13 ` bugzilla
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla @ 2021-11-02 20:13 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13971

--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@bootlin.com> ---
*** Bug 13946 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 13971] ip6tables-nft build does not include MASQUERADE target options
  2021-11-02 20:13 [Buildroot] [Bug 13971] New: ip6tables-nft build does not include MASQUERADE target options bugzilla
  2021-11-02 20:13 ` [Buildroot] [Bug 13971] " bugzilla
  2021-11-02 20:13 ` bugzilla
@ 2021-11-02 20:13 ` bugzilla
  2021-11-02 20:13 ` bugzilla
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla @ 2021-11-02 20:13 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13971

--- Comment #4 from Thomas Petazzoni <thomas.petazzoni@bootlin.com> ---
*** Bug 13951 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 13971] ip6tables-nft build does not include MASQUERADE target options
  2021-11-02 20:13 [Buildroot] [Bug 13971] New: ip6tables-nft build does not include MASQUERADE target options bugzilla
                   ` (2 preceding siblings ...)
  2021-11-02 20:13 ` bugzilla
@ 2021-11-02 20:13 ` bugzilla
  2021-11-02 20:13 ` bugzilla
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla @ 2021-11-02 20:13 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13971

--- Comment #5 from Thomas Petazzoni <thomas.petazzoni@bootlin.com> ---
*** Bug 13956 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 13971] ip6tables-nft build does not include MASQUERADE target options
  2021-11-02 20:13 [Buildroot] [Bug 13971] New: ip6tables-nft build does not include MASQUERADE target options bugzilla
                   ` (3 preceding siblings ...)
  2021-11-02 20:13 ` bugzilla
@ 2021-11-02 20:13 ` bugzilla
  2021-11-02 20:13 ` bugzilla
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla @ 2021-11-02 20:13 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13971

--- Comment #6 from Thomas Petazzoni <thomas.petazzoni@bootlin.com> ---
*** Bug 13961 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 13971] ip6tables-nft build does not include MASQUERADE target options
  2021-11-02 20:13 [Buildroot] [Bug 13971] New: ip6tables-nft build does not include MASQUERADE target options bugzilla
                   ` (4 preceding siblings ...)
  2021-11-02 20:13 ` bugzilla
@ 2021-11-02 20:13 ` bugzilla
  2022-03-15 11:50 ` bugzilla
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla @ 2021-11-02 20:13 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13971

--- Comment #7 from Thomas Petazzoni <thomas.petazzoni@bootlin.com> ---
*** Bug 13966 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 13971] ip6tables-nft build does not include MASQUERADE target options
  2021-11-02 20:13 [Buildroot] [Bug 13971] New: ip6tables-nft build does not include MASQUERADE target options bugzilla
                   ` (5 preceding siblings ...)
  2021-11-02 20:13 ` bugzilla
@ 2022-03-15 11:50 ` bugzilla
  2022-03-15 20:59 ` bugzilla
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla @ 2022-03-15 11:50 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13971

--- Comment #8 from Andrei Gherghescu <andrei.gherghescu@protonmail.com> ---
(In reply to mbuil from comment #0)

Can you provide the linux kernel config and a board config you used for this? I
could try to reproduce, but I don't know what exactly your configuration was.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 13971] ip6tables-nft build does not include MASQUERADE target options
  2021-11-02 20:13 [Buildroot] [Bug 13971] New: ip6tables-nft build does not include MASQUERADE target options bugzilla
                   ` (6 preceding siblings ...)
  2022-03-15 11:50 ` bugzilla
@ 2022-03-15 20:59 ` bugzilla
  2022-03-15 21:03 ` bugzilla
  2022-03-17  8:08 ` bugzilla
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla @ 2022-03-15 20:59 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13971

--- Comment #9 from Peter Seiderer <ps.report@gmx.net> ---
Re-add bug description from one of the duplicates:

> From mbuil@suse.com 2021-07-08 15:27:37 UTC
>
> Since 1.6, iptables supports the MASQUERADE target options:
>
> MASQUERADE target options:
>  --to-ports <port>[-<port>]
>                               Port (range) to map to.
>  --random
>                               Randomize source port.
>  --random-fully
>                               Fully randomize source port.
>
> When building iptables-nft, the MASQUERADE target options are included in the iptables-nft binary, however, they are not in the ip6tables-nft:
>
> $> sudo ./output/target/usr/sbin/iptables-nft -A POSTROUTING -s 10.244.0.0/16 ! -d 224.0.0.0/4 -j MASQUERADE --help | grep random
>  --random
>  --random-fully
>                               Fully randomize source port.
> $> sudo ./output/target/usr/sbin/ip6tables-nft -A POSTROUTING -s 10.244.0.0/16 ! -d 224.0.0.0/4 -j MASQUERADE --help | grep random
> $>
>
> Those targets come from the files libipt_MASQUERADE.c and libip6t_MASQUERADE.c in https://git.netfilter.org/iptables/tree/extensions but for some reason the ip6 one does not get included in the binary

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 13971] ip6tables-nft build does not include MASQUERADE target options
  2021-11-02 20:13 [Buildroot] [Bug 13971] New: ip6tables-nft build does not include MASQUERADE target options bugzilla
                   ` (7 preceding siblings ...)
  2022-03-15 20:59 ` bugzilla
@ 2022-03-15 21:03 ` bugzilla
  2022-03-17  8:08 ` bugzilla
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla @ 2022-03-15 21:03 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13971

--- Comment #10 from Peter Seiderer <ps.report@gmx.net> ---
(In reply to Peter Seiderer from comment #9)

Not reproducible here (raspberrypi0w_defconfig with glibc, gcc-11.x, eudev):

$ ip6tables-nft  -A POSTROUTING -s 10.244.0.0/16 ! -d 224.0.0.0/4 -j MASQUERADE 
--help
ip6tables v1.8.7
[...]
MASQUERADE target options:
 --to-ports <port>[-<port>]
                                Port (range) to map to.
 --random
                                Randomize source port.
 --random-fully
                                Fully randomize source port.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [Bug 13971] ip6tables-nft build does not include MASQUERADE target options
  2021-11-02 20:13 [Buildroot] [Bug 13971] New: ip6tables-nft build does not include MASQUERADE target options bugzilla
                   ` (8 preceding siblings ...)
  2022-03-15 21:03 ` bugzilla
@ 2022-03-17  8:08 ` bugzilla
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla @ 2022-03-17  8:08 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13971

mbuil@suse.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #11 from mbuil@suse.com ---
Hey, thanks! A colleague of mine fixed this some months ago.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-03-17  8:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-02 20:13 [Buildroot] [Bug 13971] New: ip6tables-nft build does not include MASQUERADE target options bugzilla
2021-11-02 20:13 ` [Buildroot] [Bug 13971] " bugzilla
2021-11-02 20:13 ` bugzilla
2021-11-02 20:13 ` bugzilla
2021-11-02 20:13 ` bugzilla
2021-11-02 20:13 ` bugzilla
2021-11-02 20:13 ` bugzilla
2022-03-15 11:50 ` bugzilla
2022-03-15 20:59 ` bugzilla
2022-03-15 21:03 ` bugzilla
2022-03-17  8:08 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox