All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Wartak <vnulllists@pcnet.com.pl>
To: Harald Welte <laforge@netfilter.org>,
	Imre Gergely <imre.gergely@astral.ro>,
	Netfilter Development Mailinglist
	<netfilter-devel@lists.netfilter.org>
Subject: Re: hashlimit module parameters
Date: Sun, 25 Sep 2005 09:19:31 +0200	[thread overview]
Message-ID: <200509250919.32532.vnulllists@pcnet.com.pl> (raw)
In-Reply-To: <20050922215104.GU26520@sunbeam.de.gnumonks.org>

Dnia czwartek, 22 września 2005 23:51, Harald Welte napisał:
> On Thu, Sep 22, 2005 at 02:14:17PM +0300, Imre Gergely wrote:
> > hi
> >
> > i was wondering about something. i want to use this hashlimit module,
> > and the doc says the --hashlimit parameter is just like the one in the
> > limit match, but when i want to do
> >
> > /usr/local/iptables-1.3.3-20050921/sbin/iptables -A INPUT -s 1.1.1.1 -m
> > hashlimit --hashlimit ! 5/sec --hashlimit-mode srcip --hashlimit-name
> > test -j ACCEPT
> >
> > it gives me an error:
> >
> > iptables v1.3.3-20050921: hashlimit does not support invert
> > Try `iptables -h' or 'iptables --help' for more information.
> >
> > is there a way to specify an invert to this ?
>
> I don't think so, sorry :(  Seems like I forgot to take care of limit
> inversion.  Patches welcome.

I resolved it using RETURN target, examples here:
http://vnull.pcnet.com.pl/nf/pomysly_netfilter3.pdf

It is written in polish, but I think that the examples are easy to 
understand :)

-- 
Jakub Wartak
-vnull
FreeBSD/OpenBSD/Linux/Solaris/Network Administrator
http://vnull.pcnet.com.pl/

  reply	other threads:[~2005-09-25  7:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <43329209.8040607@astral.ro>
2005-09-22 21:51 ` hashlimit module parameters Harald Welte
2005-09-25  7:19   ` Jakub Wartak [this message]
2005-09-27 15:06   ` Imre Gergely

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=200509250919.32532.vnulllists@pcnet.com.pl \
    --to=vnulllists@pcnet.com.pl \
    --cc=imre.gergely@astral.ro \
    --cc=laforge@netfilter.org \
    --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.