Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "John Arthur" <lists@davey.net.au>
To: 'Dominic Caputo' <jec6jec6@gmail.com>, netfilter@lists.netfilter.org
Subject: RE: Accept DNS Suffix
Date: Wed, 21 Mar 2007 10:35:31 +1030	[thread overview]
Message-ID: <000001c76b4c$a41fea30$f6801eac@tau> (raw)
In-Reply-To: <000f01c76a83$f8563dd0$6f05b00a@au.schpac.local>

Dominic

> I currently have an ISP that has multiple address ranges that 
> I wish to 
> accept in my iptables ruleset. Is it possible for me to use 
> the DNS Suffix 
> instead of the actual ip as they are currently dynamically 
> assigned. e.g. 
> iptables -s nsw.bigpond.net.au   (current assigned address is 
> cpe-203-45-103-100.nsw.bigpond.net.au).

 
 dig -t ptr 254.127.45.203.in-addr.arpa

2 minutes with dig.. Tells me that Bigponds block for nsw is
203.45.64.0/18

CPE-203-45-64-0.nsw.bigpond.net.au.
CPE-203-45-127-255.nsw.bigpond.net.au.


Which is what you want but I'm not sure I'd want to let all the bots
through my firewall

John





  parent reply	other threads:[~2007-03-21  0:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-20  0:08 Accept DNS Suffix Dominic Caputo
2007-03-20 16:42 ` Jan Engelhardt
2007-03-20 18:13 ` Rob Sterenborg
2007-03-21  0:05 ` John Arthur [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-03-20  0:02 Dominic Caputo
2007-03-20 14:44 ` Cedric Blancher

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='000001c76b4c$a41fea30$f6801eac@tau' \
    --to=lists@davey.net.au \
    --cc=jec6jec6@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