From: "Leonardo Rodrigues ( listas )" <leolistas@solucoesip.net>
To: netfilter ML <netfilter@lists.samba.org>, sfrost@snowman.net
Subject: Re: question on recent module
Date: Sat, 25 Jan 2003 18:43:52 -0300 [thread overview]
Message-ID: <000f01c2c4ba$da76b8d0$3201a8c0@leonardo> (raw)
In-Reply-To: 20030125192149.GP484@ns.snowman.net
tried: iptables -A OUTPUT -m recent --seconds 60 --name
bullshit --rdest -j DROP
iptables v1.2.7a: recent: you must specify one of `--set', `--check'
`--update' or `--remove'
tried adding --check according to error I received, because I want just
checking and not including/updating/excluding:
iptables -A OUTPUT -m recent --seconds 60 --name bullshit --rdest --check -j
DROP
iptables v1.2.7a: Unknown arg `--check'
OK, seems recent module doesnt have the --check option despite the 1st
rule error message :) Watching 'iptables -m recent --help' i think I should
be using --rcheck .... let's try ....
iptables -A OUTPUT -m recent --seconds 60 --name
bullshit --rdest --rcheck -j DROP
And it works !! :))
Stephen, thanks very much for your help and, just in case, please
correct the error message ( --check to --rcheck stuff ).
Sincerily,
Leonardo Rodrigues
----- Original Message -----
From: "Stephen Frost" <sfrost@snowman.net>
To: "Leonardo Rodrigues ( listas )" <leolistas@solucoesip.net>
Cc: "netfilter ML" <netfilter@lists.samba.org>
Sent: Saturday, January 25, 2003 4:21 PM
Subject: Re: question on recent module
> * Leonardo Rodrigues ( listas ) (leolistas@solucoesip.net) wrote:
> >
> > It's really not clear for me :) Could you give an example rule of
how an
> > destination address could be checked with recent module in an OUTPUT
rule
> > for example ? This is my situation ..... i want ALL packets whose
> > destination was matched for the last 60 seconds in a recent list called
> > 'bullshit'.
> >
> > iptables -A OUTPUT -m recent --seconds 60 --name bullshit
??????????????? -j
> > DROP
>
> --rdest for the rule above, that's it. Note that something else needs
> to actually populate that table, but I think you've got that figured out
> already...
next prev parent reply other threads:[~2003-01-25 21:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-24 14:17 question on recent module Leonardo Rodrigues ( listas )
2003-01-25 1:33 ` Stephen Frost
2003-01-25 19:43 ` Leonardo Rodrigues ( listas )
2003-01-25 19:21 ` Stephen Frost
2003-01-25 21:43 ` Leonardo Rodrigues ( listas ) [this message]
2003-01-25 23:55 ` Stephen Frost
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='000f01c2c4ba$da76b8d0$3201a8c0@leonardo' \
--to=leolistas@solucoesip.net \
--cc=netfilter@lists.samba.org \
--cc=sfrost@snowman.net \
/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