All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anders Fugmann <afu@fugmann.dhs.org>
To: Jim Gifford <maillist@jg555.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: Block/Accept by MAC Address
Date: Tue, 01 Oct 2002 08:34:54 +0200	[thread overview]
Message-ID: <3D99420E.1080103@fugmann.dhs.org> (raw)
In-Reply-To: 003a01c268ea$d98408a0$e951ea43@W2RZ8L4S02

Jim Gifford wrote:
> Is it possible to block or accept information from specific MAC Addresses.
> 
> Here is what I would like to do. Is to create a exempt and complete block
> policy by mac address. I have a guy who keeps hacking my machine and his IP
> address is always changing and so does his hostname. The only thing that was
> common was his MAC address.
> 
> Thank you in advance for your help.
> 
> 
If this person is hacking you from the internet, you cannot use the mac 
address for filtering. The MAC addres on a packet is changed each time 
the packet packet traverses through a router, and this you will always 
see the same mac address on packets comming through your ISP.

If he is hacking you from withing you lan, I suggest cutting his wire.
(Alternativly use: iptables -t mangle -T PREROUTING -m mac --mac-source 
XX:XX:XX:XX:XX:XX -j DROP)

Regards
Anders Fugmann
-- 
Neo: 'Can you fly that thing?'
Trinity: 'Not yet'.
$ apt-get install pilot-prg-v212helicopter.



  parent reply	other threads:[~2002-10-01  6:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-01  1:33 Block/Accept by MAC Address Jim Gifford
2002-10-01  2:24 ` Joel Newkirk
2002-10-01  6:15 ` Hanz F.
2002-10-01  6:34 ` Anders Fugmann [this message]
2002-10-01  8:07 ` Antony Stone
2002-10-01  8:31 ` Antony Stone
2002-10-01 22:48   ` Jim Gifford
2002-10-01 23:14     ` Antony Stone

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=3D99420E.1080103@fugmann.dhs.org \
    --to=afu@fugmann.dhs.org \
    --cc=maillist@jg555.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 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.