Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Joel Newkirk <netfilter@newkirk.us>
To: netfilter@lists.netfilter.org
Subject: Re: Block/Accept by MAC Address
Date: Mon, 30 Sep 2002 22:24:30 -0400	[thread overview]
Message-ID: <200209302224.30664.netfilter@newkirk.us> (raw)
In-Reply-To: <003a01c268ea$d98408a0$e951ea43@W2RZ8L4S02>

On Monday 30 September 2002 09:33 pm, 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.

For the preparation- and research-impaired, read the oft-referenced tutorial at:
http://www.netfilter.org/documentation/tutorials/blueflux/iptables-tutorial.html

especially section 5.4.3.1 about the "iptables -A INPUT -m mac --mac-source 00:00:00:00:00:01" usage... (for
the keyboard impaired, try http://www.netfilter.org/documentation/tutorials/blueflux/iptables-tutorial.html#AEN1864 )

Or any of at least a dozen other places I could think of offhand. For the search-impaired:
http://www.google.com/linux?hl=en&lr=&ie=ISO-8859-1&q=iptables+mac&num=100

j


  reply	other threads:[~2002-10-01  2:24 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 [this message]
2002-10-01  6:15 ` Hanz F.
2002-10-01  6:34 ` Anders Fugmann
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=200209302224.30664.netfilter@newkirk.us \
    --to=netfilter@newkirk.us \
    --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