Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Vladislav Kurz <vladislav.kurz@webstep.net>
To: netfilter@vger.kernel.org
Subject: Re: IP Tables and DNS
Date: Fri, 12 Sep 2008 09:42:11 +0200	[thread overview]
Message-ID: <200809120942.11190.vladislav.kurz@webstep.net> (raw)
In-Reply-To: <u1qic49dl8q0020pbblh2o4pdm3gi5nrfd@4ax.com>

On Thursday 11 of September 2008, Andrew Schulman wrote:
> >  If so, do I need any rules on the external interface other than the
> > rules to allow the outgoing query (tcp and udp) and an
> > "established,related" rule?
>
> Nope.  "Established" covers direct replies to UDP packets (i.e. DNS
> requests) that you've already sent out, so that's probably all you need in
> this case. "Related" covers new connections related to the first one, such
> as FTP data connections triggered by FTP control traffic.  I don't think
> there are any "related" criteria that apply to DNS.

What about some ICMP (port|host) unreachable packet when you try to query a 
broken DNS server? Isn't that a RELATED packet?

-- 
Regards
        Vladislav Kurz

  reply	other threads:[~2008-09-12  7:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-11 18:09 IP Tables and DNS David Doster
2008-09-11 18:53 ` Andrew Schulman
2008-09-12  7:42   ` Vladislav Kurz [this message]
2008-09-12 14:13     ` Andrew Schulman
  -- strict thread matches above, loose matches on Subject: below --
2008-09-11 22:02 David Doster

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=200809120942.11190.vladislav.kurz@webstep.net \
    --to=vladislav.kurz@webstep.net \
    --cc=netfilter@vger.kernel.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