From: Tom Eastep <teastep@shorewall.net>
To: netfilter-devel@lists.netfilter.org
Subject: [PATCH] Another save/restore buglet
Date: Wed, 18 May 2005 16:10:38 -0700 [thread overview]
Message-ID: <428BCB6E.1020709@shorewall.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 579 bytes --]
This time, it's the CONNMARK extention that is producing saved output
that won't restore.
gateway:/etc/test# iptables-save > save
gateway:/etc/test# iptables-restore < save
iptables-restore v1.3.1: Bad MASK value `ff'
Error occurred at line: 24
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
gateway:/etc/test#
Patch attached.
-Tom
--
Tom Eastep \ Nothing is foolproof to a sufficiently talented fool
Shoreline, \ http://shorewall.net
Washington USA \ teastep@shorewall.net
PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
[-- Attachment #2: CONNMARK.diff --]
[-- Type: text/x-patch, Size: 289 bytes --]
--- libipt_CONNMARK.c~ 2005-05-04 13:44:08.000000000 -0700
+++ libipt_CONNMARK.c 2005-05-18 16:01:07.000000000 -0700
@@ -165,7 +165,7 @@
print_mask(const char *text, unsigned long mask)
{
if (mask != ~0UL)
- printf("%s%lx", text, mask);
+ printf("%s0x%lx", text, mask);
}
#endif
next reply other threads:[~2005-05-18 23:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-18 23:10 Tom Eastep [this message]
2005-05-20 10:40 ` [PATCH] Another save/restore buglet Pawel Sikora
2005-06-11 16:06 ` Patrick McHardy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=428BCB6E.1020709@shorewall.net \
--to=teastep@shorewall.net \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.