Skip to contentSkip to conversation

Argument -S (--list-rules) in ebtables

DISCUSSION Nicola Serafini 2 participants 3 messages Oct 9, 2024 netfilter

lore
Share & tools
lore
#0 lore raw

Hi list, I noticed that ebtables command line utility has not a "-S (--list-rules)" argument which is widely adopted by the other command line tools (arptables, iptables).

I think it can be useful for many reasons, so I'm here to ask whether it was deliberately omitted or not and why.

Thanks.
Regards,
--
Nicola

reviewer
#1 lore raw

Hi Nicola,

Quoted 3 lines · Nicola Serafini

Hi list, I noticed that ebtables command line utility has not a "-S (--list-rules)" argument which is widely adopted by the other command line tools (arptables, iptables).

I think it can be useful for many reasons, so I'm here to ask whether it was deliberately omitted or not and why.

Ebtables' UI is different in so many aspects, I find it rather interesting that there are shared options with iptables. ;)

In iptables.git, ebtables-nft already has support for -S option (although undocumented), so next release will enable this feature for you (unless you stick to ebtables-legacy).

Cheers, Phil

#2 lore raw

Hello Phil, many thanks for your answer.

I believe I will switch to ebtables-save.

Thanks!

--
Nicola

9 oct 2024, 13:08 por [email protected]:

Quoted 18 lines

Hi Nicola,

Quoted 4 lines · Nicola Serafini

Hi list, I noticed that ebtables command line utility has not a "-S (--list-rules)" argument which is widely adopted by the other command line tools (arptables, iptables).

I think it can be useful for many reasons, so I'm here to ask whether it was deliberately omitted or not and why.

Ebtables' UI is different in so many aspects, I find it rather interesting that there are shared options with iptables. ;)

In iptables.git, ebtables-nft already has support for -S option (although undocumented), so next release will enable this feature for you (unless you stick to ebtables-legacy).

Cheers, Phil