Re: [CentOS] IPTABLES don't solve name HOST - CENTOS 4.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, 2006-07-08 at 09:06 -0500, Jason Bradley Nance wrote:
> > iptables -A FORWARD -d chatenabled.mail.google.com -j DROP
> 
> IPTABLES doesn't filter based on hostname.  You would need some special 
> module (assuming it exists) and it for sure isn't part of RHEL/CentOS.

I know nothing about this, always looking to learn and have no qualms
about appearing stupid of foolish. So I went to "the book". "Man
iptables":

 -d, --destination [!] address[/mask]
     Destination  specification.   See  the  description  of  the -s
     (source) flag for a detailed description
...
-s, --source [!] address[/mask]
     Source  specification.  Address can be either a network name, a
     hostname (please note that specifying any name to  be  resolved
     with  a  remote query such as DNS is a really bad idea), a net-
     work IP address (with /mask), or a plain IP address.

Question: what am I missing here, since the man page seems to my
ignorant eye to support filters using net and/or host names.

> 
> j
> <snip sig stuff>

TIA
-- 
Bill

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux