Skip to contentSkip to conversation

iptables-save dump option

DISCUSSION Herve Eychenne 2 participants 3 messages Aug 17, 2004 – Aug 19, 2004 netfilter

lore
Share & tools
lore
#0 lore raw

Hi,

Can someone tell me (Harald ?) what is the interest of the -d (--dump) option in iptables-save? I don't see it, as it does the same as iptables-save without any arguments... (and it is undocumented in the manpage)

Herve

Signature · 4 lines
 _
(°=  Hervé Eychenne
//)
v_/_ WallFire project:  http://www.wallfire.org/
#1 lore raw
Quoted 6 lines · Herve Eychenne

Hi,

Can someone tell me (Harald ?) what is the interest of the -d (--dump) option in iptables-save? I don't see it, as it does the same as iptables-save without any arguments... (and it is undocumented in the manpage)

The initial idea was to make a binary dump instead of the ASCII parsed save file format. This was never implemented though (and I don't think it's worth adding it anymore).

Quoted 1 line

Herve

Signature · 5 lines
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie
#2 lore raw
Quoted 11 lines · Harald Welte
Quoted 6 lines · Herve Eychenne

Hi,

Can someone tell me (Harald ?) what is the interest of the -d (--dump) option in iptables-save? I don't see it, as it does the same as iptables-save without any arguments... (and it is undocumented in the manpage)

The initial idea was to make a binary dump instead of the ASCII parsed save file format. This was never implemented though (and I don't think it's worth adding it anymore).

There is already a "--binary" option (not implemented, indeed) for that... So my question remains...

Herve

Signature · 4 lines
 _
(°=  Hervé Eychenne
//)
v_/_ WallFire project:  http://www.wallfire.org/