Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Peter Volkov <pva@gentoo.org>
To: netfilter@vger.kernel.org
Subject: [patch] iptables fix for bug 568
Date: Thu, 22 Jan 2009 10:53:06 +0300	[thread overview]
Message-ID: <1232610786.7782.16.camel@localhost> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 249 bytes --]

Hello, guys. Please, review attached patch. It should fix:

http://bugzilla.netfilter.org/show_bug.cgi?id=568

At least it did for me with testcase user provided in our bugzilla:

https://bugs.gentoo.org/show_bug.cgi?id=254496

-- 
Peter.

[-- Attachment #1.2: iptables-1.4.2-hashlimit.patch --]
[-- Type: text/x-patch, Size: 674 bytes --]

Author: pva@gentoo.org
Fixes bug http://bugs.gentoo.org/show_bug.cgi?id=254496

=== modified file 'extensions/libxt_hashlimit.c'
--- extensions/libxt_hashlimit.c	2009-01-21 18:23:22 +0000
+++ extensions/libxt_hashlimit.c	2009-01-21 18:23:32 +0000
@@ -636,7 +636,7 @@
 	if (info->cfg.max != 0)
 		printf("--hashlimit-htable-max %u ", info->cfg.max);
 	if (info->cfg.gc_interval != XT_HASHLIMIT_GCINTERVAL)
-		printf("--hashlimit-htable-gcinterval %u", info->cfg.gc_interval);
+		printf("--hashlimit-htable-gcinterval %u ", info->cfg.gc_interval);
 	if (info->cfg.expire != XT_HASHLIMIT_EXPIRE)
 		printf("--hashlimit-htable-expire %u ", info->cfg.expire);
 


[-- Attachment #2: Эта часть сообщения подписана цифровой подписью --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

                 reply	other threads:[~2009-01-22  7:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1232610786.7782.16.camel@localhost \
    --to=pva@gentoo.org \
    --cc=netfilter@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox