From owner-freebsd-questions@FreeBSD.ORG Wed Nov 26 01:45:11 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF78316A4CE for ; Wed, 26 Nov 2003 01:45:11 -0800 (PST) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08E5D43FD7 for ; Wed, 26 Nov 2003 01:45:09 -0800 (PST) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (localhost [127.0.0.1]) by fw.farid-hajji.net (8.12.10/8.12.10) with ESMTP id hAQ9iH93052579; Wed, 26 Nov 2003 10:44:23 +0100 (CET) (envelope-from cpghost@cordula.ws) Date: Wed, 26 Nov 2003 10:44:22 +0100 (CET) Message-Id: <200311260944.hAQ9iH93052579@fw.farid-hajji.net> From: "Cordula's Web" To: dirkx@webweaving.org In-reply-to: <20031125232021.T66019@skutsje.san.webweaving.org> (message from Dirk-Willem van Gulik on Tue, 25 Nov 2003 23:23:11 -0800 (PST)) X-Mailer: Emacs-21.3.1/FreeBSD-4.9-STABLE References: <00c001c3b3a9$9d7fa8e0$6401a8c0@grant> <20031125232021.T66019@skutsje.san.webweaving.org> cc: freebsd-questions@freebsd.org cc: grant@thenetnow.com Subject: Re: Block IP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: cpghost@cordula.ws List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Nov 2003 09:45:12 -0000 > > Can I block a certain IP address at the machine or interface level using > > freebsd? (No at the Apache or Sendmail level). > > > > CyberLaert monioting one of my hosts at the rate of 1.2 GB oer day! > > Easiest and quickest is to install the firewall - if it is not already in > your kernel, simply load it as a dynamic module. In a pinch (and if the > person causing problem is doing this by accident) you can try something > like "route add 12.34.56.78/32 127.0.0.1" which will make the tcp > handshake break. Which may cause the other end to realize somethign is > amiss. But it does not really stop the traffic. See ipfw(8). -- Cordula's Web. http://www.cordula.ws/