From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Laurino Subject: Re: help me (nfcan: addressed to exclusive sender for this address) Date: Tue, 28 Mar 2006 23:22:26 -0500 Message-ID: <20060329042226.GK7855@salty> References: <20060329041937.7d7f5bbb.0x62ash@gmail.com> <1143597051.12219.91.camel@localhost> <20060329072933.26ba1e7a.0x62ash@gmail.com> Reply-To: nfcan.x.jimlaur@dfgh.net Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline In-Reply-To: <20060329072933.26ba1e7a.0x62ash@gmail.com> (from +nfcan+jimlaur+4b8c9b5766.0x62ash#gmail.com@spamgourmet.com on Tue, Mar 28, 2006 at 22:29:33 -0500) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; format="Flowed"; delsp="Yes"; charset="us-ascii" To: netfilter@lists.netfilter.org On 2006.03.28 22:29, bash - 0x62ash@gmail.com wrote: > On Tue, 28 Mar 2006 20:50:51 -0500 > "John A. Sullivan III" wrote: > > > 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 > > The problem is that I don't know IP of this machine.... And anyone in > my net can run NetLook program... So i want that - if some-one in my net > exceed limit then iptables will block this ip dynamically.... I am not an expert on this, but for what it is worth: Perhaps the rules used to detect and limit brute force ssh attacks could be adapted to your need. Does NetLook have a predictable pattern? You can find out about the ssh blocking rules if you search the archives for 'brute force'. Hope that helps. -- Jim Laurino nfcan.x.jimlaur@dfgh.net Please reply to the list. Only mail from the listserver reaches this address.