From: "Wennie V. Lagmay" Subject: Re: Host blocking Date: Tue, 17 May 2005 16:50:58 +0300 Message-ID: <002b01c55ae7$744ebe70$f00aa9c0@winxp> References: <003b01c55acb$841114a0$f00aa9c0@winxp><20050517131415.GA844@bender.817west.com><001701c55ae5$d1042e90$f00aa9c0@winxp> <20050517134440.GA1022@bender.817west.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: 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"; charset="us-ascii"; reply-type="original" To: Jason Opperisano , netfilter@lists.netfilter.org Ok so this configuration will block the ISP proxy both ip address and domain name on the subscribers perspective. thank you very much Jason Ragrds, Wennie ----- Original Message ----- From: "Jason Opperisano" To: Sent: Tuesday, May 17, 2005 4:44 PM Subject: Re: Host blocking > On Tue, May 17, 2005 at 04:39:14PM +0300, Wennie V. Lagmay wrote: >> What if they define the ip address instead of domain name? How can I >> block/accept both domain name and ip address? > > iptables rules only contain IP addresses, not host names. in my example > rules, proxy.ourcompany.net and proxy.ISP.net represent the IP addresses > for those hosts. you can use an FQDN in an iptables rule, but the FQDN is > resolved to an IP address (or addresses) at the time the rule is loaded, > and the rule will only use that IP address (or addresses) going forward. > > -j > > -- > "Chris: Dad, what's the blowhole for? > Peter: I'll tell you what it's not for. And when I do, you'll understand > why I can never go back to Sea World." > --Family Guy >