All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Kierdelewicz <marek@piasta.pl>
To: Leonardo Carneiro <lscarneiro@veltrac.com.br>
Cc: "netfilter@vger.kernel.org" <netfilter@vger.kernel.org>
Subject: Re: blocking only https access
Date: Mon, 8 Jun 2009 19:17:42 +0200	[thread overview]
Message-ID: <20090608191742.58ddfe8a@catlap> (raw)
In-Reply-To: <4A2D43F6.3000309@veltrac.com.br>

>Hi everyone,

Hi,

>I have readed a lot here in the list and in other places that i SHOULD 
>NOT use domain names in iptables, cause it will result in a dns
>request to every packet that reachs that rule.

Not really. Domainname is resolved at the time of rule addition to a
ruleset. Netfilter stores the destination address in numerical form.

You can use CRON to restart firewall every night or even every hour.
This would allow you to have the current server addresses in a
ruleset.

Cheers,
Marek Kierdelewicz

  reply	other threads:[~2009-06-08 17:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-08 17:01 blocking only https access Leonardo Carneiro
2009-06-08 17:17 ` Marek Kierdelewicz [this message]
2009-06-08 17:23   ` Leonardo Carneiro

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=20090608191742.58ddfe8a@catlap \
    --to=marek@piasta.pl \
    --cc=lscarneiro@veltrac.com.br \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.