RE: [fw-wiz] Link level security with static arp tables

From: Ben Nagy (ben_at_iagu.net)
Date: 10/14/03

  • Next message: Jeff Bollinger: "[fw-wiz] Re: Spamming, 'hidden' mail server"
    To: <firewall-wizards@honor.icsalabs.com>
    Date: Tue, 14 Oct 2003 11:55:22 +0200
    
    

    > -----Original Message-----
    > From: firewall-wizards-admin@honor.icsalabs.com
    > [mailto:firewall-wizards-admin@honor.icsalabs.com] On Behalf
    > Of Debian User
    > Sent: Sunday, October 12, 2003 2:32 PM
    > To: firewall-wizards@honor.icsalabs.com
    >
    > Hello,
    >
    > Problem:
    >
    > [ INET ] ---- <eth1> [ NAT GATEWAY ] <eth0> --- [ LOCAL NET,
    > 50 clients ]
    >
    > I need to limit access to the gateway according to allowed
    > MACs, ie Ethernet
    > frames from allowed MAC addresses are forwarded to and fro in
    > the gateway,
    > but others will be dropped (and logged if possible).

    What security problem are you actually solving? "I need to limit access
    according to MAC address" is a techical requirement, but where did it come
    from?

    I'm just curious because if it's something like "Only known and authorised
    machines shall be able to pass traffic through the gateway" then you have
    issues, given how easy it is to spoof MAC addresses. If I wanted to attack
    your setup I would connect, get a list of all the PC MAC addresses (by
    listening to broadcasts, or by ettercapping your gateway) and then just pick
    one that was quiet...it gets much worse if you happen to be using any
    wireless behind the gateway.

    > 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.

    I don't think either of those options is going to work...

    > 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.

    You said you only had 50 clients - I don't know netfilter very well but I'll
    bet you lunch that adding 50 kernel-level MAC permit statements won't make
    any appreciable performance difference unless you have a 386 as a gateway.

    > 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 completely agree with you here. I would be much more inclined to look at
    switch-level security (layer 2!), which gives you the option to filter on
    MAC address, physical switch port or a combination of both (which defeats my
    attack as outlined above). In addition, you could disable any ports that are
    not currently in use.

    > Any solutions?

    You could also look at 802.1x - that's kind of designed to solve the problem
    I think you're asking about, but it's infrastructure-heavy.

    'luck!

    ben

    _______________________________________________
    firewall-wizards mailing list
    firewall-wizards@honor.icsalabs.com
    http://honor.icsalabs.com/mailman/listinfo/firewall-wizards


  • Next message: Jeff Bollinger: "[fw-wiz] Re: Spamming, 'hidden' mail server"

    Relevant Pages

    • Re: IpTraffic encloded in EthBroadcasts should be routed
      ... The Sender doenst know the gateway IP and also not the ... :Gateway mac. ... Thats the reason why Its an broadcast. ... You mean something like ICMP Router Discovery, ...
      (comp.dcom.lans.ethernet)
    • Re: Convention User Woas
      ... gateway, they're not able to reach off the LAN either, as most operating ... Where they st00pid enough to not spoof the MAC address as well? ... If this is a _wired_ network, you can set your switch so that it knows on ... with some APs you can set them so there is no client to client traffic ...
      (comp.dcom.lans.ethernet)
    • Re: Wireless laptop roaming through various access points
      ... Whichever interface has the default route pointing to it, ... It is possible to assign more than one default gateway in the ... What needs to change is the ARP table, which maps the MAC address to ...
      (alt.internet.wireless)
    • Re: Network Horror
      ... >gateway, and I have tried a route add 0.0.0.0 through the same gateway ... but WinME and WinXP machines can not. ... The IP gets the MAC and communications are MAC to MAC so if you ...
      (comp.unix.sco.misc)
    • RE: Mac to PC file sharing issues on SBS2003
      ... the server or PC clients anymore after moving everything out of the Microsoft ... If the resource fork is still open on the server for no reason they will get ... a username and password prompt on their Mac when they try to move the folder ...
      (microsoft.public.windows.server.sbs)

  • Quantcast