Linux Netfilter development
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: "Pablo Sebastián Greco" <pablo@fliagreco.com.ar>
Cc: Netfilter Development Mailinglist <netfilter-devel@vger.kernel.org>
Subject: Re: Netfilter bugzilla
Date: Mon, 29 Sep 2008 08:54:59 +0200	[thread overview]
Message-ID: <48E07BC3.9020107@netfilter.org> (raw)
In-Reply-To: <09095012B8574F16A942F01268EA7D3D@pgreco>

[-- Attachment #1: Type: text/plain, Size: 621 bytes --]

Hi Pablo,

Pablo Sebastián Greco wrote:
> Pablo, a few days ago, i filed bug
> http://bugzilla.netfilter.org/show_bug.cgi?id=556 , but I had a problem
> creating the attachment patch, and a message appeared saying that I
> should contact you about this.

Hm, without the specific error there's nothing I can do, I'll check this
anyway to try to guess what's wrong.

> OTOH, do you know what should I do to make this bug fixed?

I have applied the following  patch to the iptables git tree.

http://git.netfilter.org/cgi-bin/gitweb.cgi?p=iptables.git;a=summary

-- 
"Los honestos son inadaptados sociales" -- Les Luthiers

[-- Attachment #2: x --]
[-- Type: text/plain, Size: 994 bytes --]

commit 8c8c1c8096570d94d13539c4928ddb3650642763
Author: Pablo Sebastian Greco <pablo@fliagreco.com.ar>
Date:   Mon Sep 29 08:47:39 2008 +0200

    mark: fix invalid iptables-save output
    
    When a neg mark is saved via iptables-save it is saved as !--mark,
    but this is not recognized by iptables-restore, just adding a space
    to the saved file to make it look like "! --mark" makes
    iptables-restore accept the file.
    
    Signed-off-by: Pablo Sebastian Greco <pablo@fliagreco.com.ar>
    Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
diff --git a/extensions/libxt_mark.c b/extensions/libxt_mark.c
index 811cc77..4ee29e7 100644
--- a/extensions/libxt_mark.c
+++ b/extensions/libxt_mark.c
@@ -125,7 +125,7 @@ static void mark_mt_save(const void *ip, const struct xt_entry_match *match)
 	const struct xt_mark_mtinfo1 *info = (const void *)match->data;
 
 	if (info->invert)
-		printf("! ");
+		printf("!");
 
 	printf("--mark ");
 	print_mark(info->mark, info->mask);

           reply	other threads:[~2008-09-29  6:55 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <09095012B8574F16A942F01268EA7D3D@pgreco>]

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=48E07BC3.9020107@netfilter.org \
    --to=pablo@netfilter.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@fliagreco.com.ar \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox