Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Erico Augusto <linux_kernel26@yahoo.com.br>
To: netfilter <netfilter@lists.netfilter.org>
Subject: Reject all the interfaces
Date: Wed, 22 Dec 2004 00:23:47 -0300	[thread overview]
Message-ID: <1103685827.9049.23.camel@che> (raw)

Hi,

I had the simple task to block the connection of 3 workstation(loopback
and eth0) after a certain hour. So, I decided to put the single rule:

iptables -I OUTPUT -j REJECT --reject-with icmp-host-prohibited

After that, a friend of mine told me the following:

It's better to reject the eth0 only, because, with the rule above, I'm
blocking the loopback also, and the services that depends on that
"interface", such as all the unix sockets based applications.

That is my doubt. I read a lot of documentation about the netfilter
architecture, but there is that gap of knowledge. The documentation
never speaks about the differences between unix and tcp sockets.

Instead of search directly in google,I decided to ask here in netfilter
list: Where can I find that kind of information(nefilter x unix/tcp
sockets)?

Thanks,

Erico.





             reply	other threads:[~2004-12-22  3:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-22  3:23 Erico Augusto [this message]
2004-12-22  4:05 ` Reject all the interfaces Jason Opperisano

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=1103685827.9049.23.camel@che \
    --to=linux_kernel26@yahoo.com.br \
    --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