From: "John A. Sullivan III" <jsullivan@opensourcedevel.com>
To: bash <0x62ash@gmail.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: help me
Date: Tue, 28 Mar 2006 20:50:51 -0500 [thread overview]
Message-ID: <1143597051.12219.91.camel@localhost> (raw)
In-Reply-To: <20060329041937.7d7f5bbb.0x62ash@gmail.com>
On Wed, 2006-03-29 at 04:19 +0400, bash wrote:
> Hello All,
>
> I wanna dynamically block some ip's that load my router with --state NEW
> packets (usually it's generated by very aggressive NetLook win
> program). But there is a problem -m limit will block all my router's
> user, and I wanna block just one ip :/
I'm not entirely sure of what you want to do. Why can you not match
source? If you want, match the one IP and send all traffic for that IP
to a user defined chain, e.g., :
iptables -A FORWARD -s 10.1.1.100 -j SpecialChain
iptables -A SpecialChain -j DOWHATEVERYOUWANT
If it is that you want to exempt certain addresses, send all the packets
to a user defined chain and return the exemptions, e.g.,
iptables -A FORWARD -j LimitChain
iptables -A LimitChain -m iprange --src-range 10.1.1.70-10.1.1.223 -j
RETURN
iptables -A LimitChain -j LOG, DROP, LIMIT, WHATEVERYOUWANTTODO
--
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
jsullivan@opensourcedevel.com
If you would like to participate in the development of an open source
enterprise class network security management system, please visit
http://iscs.sourceforge.net
next prev parent reply other threads:[~2006-03-29 1:50 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-29 0:19 help me bash
2006-03-29 1:50 ` John A. Sullivan III [this message]
2006-03-29 3:29 ` bash
2006-03-29 4:22 ` help me (nfcan: addressed to exclusive sender for this address) Jim Laurino
2006-03-29 17:54 ` bash
2006-03-29 18:28 ` Rob Sterenborg
2006-03-29 19:14 ` bash
2006-03-30 5:45 ` Rob Sterenborg
2006-03-30 15:58 ` bash
-- strict thread matches above, loose matches on Subject: below --
2005-07-04 10:39 help me umar draz
2005-07-04 10:47 ` Christoph Georgi
2005-07-04 13:45 ` /dev/rob0
2003-06-10 22:20 Help Me George Vieira
2003-06-10 6:31 Pham Dinh Hieu
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=1143597051.12219.91.camel@localhost \
--to=jsullivan@opensourcedevel.com \
--cc=0x62ash@gmail.com \
--cc=netfilter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox