Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Grant Taylor <gtaylor@riverviewtech.net>
To: Mail List - Netfilter <netfilter@vger.kernel.org>
Subject: Re: Regarding iptables mac matching
Date: Thu, 21 Aug 2008 09:41:38 -0500	[thread overview]
Message-ID: <48AD7EA2.9050106@riverviewtech.net> (raw)
In-Reply-To: <48AD7CAA.8020205@gmail.com>

On 08/21/08 09:33, Abhishek Singh wrote:
> I like to block the access of that host to other hosts, the gateway 
> and the internet as well. But I'm unable to do that using the above 
> mentioned rules. I'm quite optimistic that someone help me with this 
> problem.

In short I am fairly certain that you will not (reliably) be able to 
block host to host communications on your LAN.  Here's a quick synopsis 
of a very similar discussion on the EBTables mailing list.

Consider your LAN a small room with multiple people in it, all of which 
are in ear shot of each other.  So when one person tries to talk to 
another person they can do it with out a problem because it is directly 
between each other.  Your firewall only enters the picture when someone 
tries to leave the room to go out to the world.  With out shouting at 
everyone, there is very little that you can do to prevent each other 
from talking between them selves.

> Thanks in advance.

*nod*



Grant. . . .


P.S.  This assumes that all the systems are on the same subnet.  If they 
are on different subnets and have to pass through the router to get 
between subnets you can do something if you want to.

      reply	other threads:[~2008-08-21 14:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-21 14:33 Regarding iptables mac matching Abhishek Singh
2008-08-21 14:41 ` Grant Taylor [this message]

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=48AD7EA2.9050106@riverviewtech.net \
    --to=gtaylor@riverviewtech.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