Re: [fw-wiz] Link level security with static arp tables
From: Martin A. Brown (mabrown-firewall-wizards_at_securepipe.com)
Date: 10/14/03
- Previous message: Sloane, David: "RE: [fw-wiz] Link level security with static arp tables"
- In reply to: Debian User: "[fw-wiz] Link level security with static arp tables"
- Next in thread: Ben Nagy: "RE: [fw-wiz] Link level security with static arp tables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: firewall-wizards@honor.icsalabs.com Date: Mon, 13 Oct 2003 17:21:07 -0500 (CDT)
Dear Debian User,
You didn't specify Linux in your post, but judging from your question and
your handle, I feel safe in assuming that your question is about Linux.
The tools I describe below are only available under kernel 2.2.20+ and
2.4.18+ systems.
: I could disable arp on eht0 and use static arp tables in the gw, but
: that would mean that the gateway won't answer any arp queries, hence
: the clients will not be able to find it's MAC. Setting up static arp
: tables in clients is not an option.
Have you heard of "ip arp"?
http://www.ssi.bg/~ja/#iparp
http://www.ssi.bg/~ja/iparp.txt
Julian's kernel and iproute2 patch provide support for ARP filtering.
: I could use netfilter MAC matching support in the kernel, but that
: would mean I have to add 50 rules to the ruleset adding considerable
: overhead. Moreover, it is a link level problem that sould be solved in
: the same level, so netfilter is not an attractive option. Please
: comment if I'm wrong.
I don't see how 50 netfilter rules would cause much overhead. You could
create a file with your 50 desired MAC addresses (harvested with a bit of
"arp -n") and write a generic script which calls all of the commands to
allow only these MAC addresses.
Even so, the clever user can alter the MAC address on many/most ethernet
cards today:
http://linux-ip.net/html/tools-ip-link.html#tools-ip-link-set-address
I imagine that this is possible on other operating systems as well.
Naturally, your users may not be so sophisticated. Nonetheless, you
should be able to limit traffic to the expected set of hosts only by
combining a strong switch configuration and MAC address limiting on your
gateway.
Best of luck,
-Martin
-- Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com _______________________________________________ firewall-wizards mailing list firewall-wizards@honor.icsalabs.com http://honor.icsalabs.com/mailman/listinfo/firewall-wizards
- Previous message: Sloane, David: "RE: [fw-wiz] Link level security with static arp tables"
- In reply to: Debian User: "[fw-wiz] Link level security with static arp tables"
- Next in thread: Ben Nagy: "RE: [fw-wiz] Link level security with static arp tables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|