Re: DHCP and rejecting at the gateway

From: P Gentry (rdgentry1_at_cablelynx.com)
Date: 03/26/04


Date: 25 Mar 2004 17:49:05 -0800


"Duke" <DontSpamMedukes909@PleaseYahoo.com> wrote in message news:<1066eg7rjcr3293@corp.supernews.com>...
> Have an NT server configured as a DHCP server for our work LAN, and a Linux
> smoothie as the gateway/NAT. Lately, even with a company policy stating not
> to, people are bringing in their personal laptops (and PC's even), and
> plugging into the network, grabbing all they can off the internet like they
> won a supermarket sweep, and taking them back home. I notice from logs that
> it's particularly bad on the weekends with spikes in traffic from these
> non-company pc's
>
> If I see it happening in the daytime, I can manually reject traffic with a
> "route add -host x.x.x.x reject". It's not pretty, but it works and then I
> wait for the phone call 10 minutes later.
>
> My question is: would it be a bad thing to just reject all traffic from all
> (internal) hosts except those listed on my DHCP server? Can I get a list of
> those addresses from NT back to the smoothie easily? Is there a better way?
>
> Thanks,
> Duke
> Take out dontspammeplease for direct replies.

Wouldn't it be better simply _not_ to hand out DHCP configurations to
these interlopers in the first place? Can't you set up the server to
require DHCP requests to include client_id or something to verify the
legitimacy of the request?

Any filtering at the fw/gw just imposes overhead on _all_ traffic --
not to mention the fun of maintaining it.

Try to understand _why_ they are doing this and see if you can come up
with a way to accommodate them at least part way. Removing the
incentive to break the rules makes everyone's life easier --
especially yours!

You might also try running arpwatch on the Linux box (man arpwatch)
to monitor and syslog/email you of any MAC->IP pairing changes --
assuming you're not handing out IPs randomly from a pool -> you
wouldn't be doing that in a "controlled" environment, would you?

Anyway, if they have unmonitored access to the LAN, you're fighting an
uphill battle. If they are willing to bring in PCs to hook up, surely
they will just "escalate" when you throttle them at the fw/gw by
noting the "legit" range of IPs and statically configuring the
interloper -- which will eventually be a (dual boot) Linux powered
box.

If the clients are Win machines you might need to look into setting up
a domain controller or some other mechanism to authenticate the
machines on the LAN. So long as "they" think there is an easy way to
get around your roadblocks, they will keep trying until someone really
"breaks" something from ignorance -- in the middle of your vacation,
of course.

my2c's
prg
email above disabled



Relevant Pages

  • Re: [opensuse] Co-existing in a dynamic network Howto?
    ... or Linux, users choice. ... Our DHCP server does know their names and does ... option subnet-mask 255.255.255.0; ...
    (SuSE)
  • Suse 9.3 networking problem.
    ... I am a newbie to the Linux world, well, relatively anyway. ... Windows XP i decided to jump in the deepend and dedicate my laptop to ... boxes joined together by a Netgear MR814 router running a DHCP server. ...
    (alt.os.linux.suse)
  • Re: martian source: any IP gurus?
    ... I suspect this is your local LAN, ... and look for these martian packets. ... Expert 0rks up the configuration of the domain controller or DHCP server so ... bad that even windoze boxes can't get a DHCP lease. ...
    (alt.os.linux.suse)
  • Re: eepc waste of money
    ... but I have a vista laptop and a 3g wireless modem. ... Worked perfectly first time in the native Xandros Linux, ... Both were unable to lease an address from the DHCP server. ... configuration issue. ...
    (sci.electronics.design)
  • Re: One or two questions.
    ... The only piece of kit that gets the WAN address is my modem/router, everything else communicates using LAN addresses. ... One is the WAN (Wide Area Network - usually the Internet) IP Address ... IP Addresses to the things that Connect to it using its DHCP Server ...
    (uk.people.silversurfers)