From: Sp0oKeR <spooker@gmail.com>
To: "Sebastião Antônio Campos (GWA)" <sa.campos@datasulsp.com.br>
Cc: netfilter@lists.netfilter.org
Subject: Re: Allowing access only some sites - onely some mac address
Date: Mon, 29 Aug 2005 16:49:24 -0300 [thread overview]
Message-ID: <9255886c05082912495b3eff85@mail.gmail.com> (raw)
In-Reply-To: <006801c5acd1$b2ce1600$0301010a@pivt>
I think ipset is a good idea.
# ipmap
The ipmap set type uses a memory range, where each bit represents one
IP address and can store up to 65535 (B-class network) entries. You
can store same size network addresses in an ipset as well and an IP
address will be in the set if the network address it belongs to can be
found in the set.
# macipmap
The macipmap set type uses a memory range, where each 8 bytes
represents one IP and a MAC addresses. A macipmap set type can store
up to 65535 (B-class network) IP addresses with MAC.
Look http://ipsec.netfilter.org
Att,
Sp0oKeR
On 8/29/05, Sebastião Antônio Campos (GWA) <sa.campos@datasulsp.com.br> wrote:
> Dears,
>
> I'd like to allow access only to some sites by some mac address.
>
> For example:
>
> I have a list of the mac address 00:0c:6E:11:E8:B0, 00:D8:02:D8:C8:DF,
> 00:E7:05:C9:07:EA............ and and I'd like that only these mac address
> could access only the following IP: 200.221.2.128, 200.221.2.129,
> 200.221.2.130, 200.221.2.131, 200.205.144.75, 200.205.144.76. But the other
> mac address could access everything.
>
> How is the better way to do this??
>
> Thks
>
>
>
>
next prev parent reply other threads:[~2005-08-29 19:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-29 19:41 Allowing access only some sites - onely some mac address Sebastião Antônio Campos (GWA)
2005-08-29 19:49 ` Sp0oKeR [this message]
2005-08-29 20:02 ` Damon Gray
2005-08-29 20:07 ` Sp0oKeR
2005-08-30 2:27 ` Grant Taylor
2005-08-30 13:49 ` Jiann-Ming Su
-- strict thread matches above, loose matches on Subject: below --
2005-08-30 13:39 Derick Anderson
2005-08-30 17:22 ` Taylor, Grant
2005-08-30 14:44 Derick Anderson
2005-08-30 20:10 Derick Anderson
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=9255886c05082912495b3eff85@mail.gmail.com \
--to=spooker@gmail.com \
--cc=netfilter@lists.netfilter.org \
--cc=sa.campos@datasulsp.com.br \
/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.