From: Thomas Jacob <jacob@internet24.de>
To: netfilter@lists.netfilter.org
Subject: Re: Block LAN DHCP broadcast
Date: Mon, 16 Jul 2007 16:17:17 +0200 [thread overview]
Message-ID: <1184595437.17688.72.camel@localhost> (raw)
In-Reply-To: <3130eec50707160652r7fe3285amfafc695b45ee4800@mail.gmail.com>
Assuming that all your hosts are connected to a single broadcast-domain
LAN,
that your firewall box is the layer 3 default gateway for
internet-connections for your hosts and that you're talking about
preventing all other hosts on this lan to respond to dhcp broadcasts,
that's pretty much impossible.
DHCP packets are not passing through your router box on their way
between
an assumed evil dhcp host and your normal hosts.
You could try to find some sort of filter options in your switching
hardware
to control the flow of broadcasts and/or dhcp packets.
Or you could try using some form of dhcp authentication.
Or you could have a seperate VLAN for each of your hosts
and only allow them to communicate via your router
(possibly creating a performance bottle neck though...)
On Mon, 2007-07-16 at 07:52 -0600, Gnarlodious wrote:
> Hello and thank you for the help.
>
> I am running iptables v1.3.7 on a LAN router and I need to block DHCP
> requests. New machines on the router should be prevented from
> broadcasting DHCP, forcing only that router to handle DHCP.
>
> Can this be done? Seems like I have been trying for days without success.
>
> -- Gnarlie
> http://Gnarlodious.com/
next prev parent reply other threads:[~2007-07-16 14:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-16 13:52 Block LAN DHCP broadcast Gnarlodious
2007-07-16 14:17 ` Thomas Jacob [this message]
2007-07-16 14:38 ` Gnarlodious
2007-07-16 15:30 ` Thomas Jacob
2007-07-16 16:07 ` Gnarlodious
2007-07-16 16:37 ` Wakko Warner
[not found] ` <3130eec50707161010q62a32011p527c11ca9026f07f@mail.gmail.com>
2007-07-17 0:43 ` Wakko Warner
2007-07-17 1:40 ` Gnarlodious
2007-07-17 16:26 ` Wakko Warner
[not found] ` <1385.192.168.0.216.1184602063.squirrel@192.168.0.216>
2007-07-16 17:07 ` Thomas Jacob
2007-07-16 18:09 ` Gregory Carter
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=1184595437.17688.72.camel@localhost \
--to=jacob@internet24.de \
--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 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.