1 |
shawn wilson <ag4ve.us@×××××.com> wrote: |
2 |
> On Fri, Oct 4, 2013 at 5:58 PM, Michael Orlitzky <michael@××××××××.com> wrote: |
3 |
> |
4 |
>> |
5 |
>> 1. The iptables-restore syntax is uglier and harder to read. |
6 |
> |
7 |
> I don't get this - the syntax is [...] |
8 |
> What am I missing or how is this uglier? |
9 |
|
10 |
Argument separation (e.g. if you have arguments with spaces); |
11 |
it seems to work most of the time if you quote into "..." |
12 |
and escape backslash and doublequote signs inside with |
13 |
backslash (this is what the mentioned script of firewall-mv |
14 |
does), but there are cases where this is not accepted; |
15 |
e.g. quoting every word was not accepted. |
16 |
Since the format is undocumented, this is all ugly |
17 |
trial-and-error, and only the iptable maintainers know |
18 |
whether it remains the same in the next iptables release. |