* DHCP related problem
@ 2003-06-17 8:30 PiSiC...
2003-06-17 11:24 ` Matt Grogan
0 siblings, 1 reply; 5+ messages in thread
From: PiSiC... @ 2003-06-17 8:30 UTC (permalink / raw)
To: netfilter
[-- Attachment #1: Type: text/plain, Size: 350 bytes --]
Hi all,
I want to ask you something... You know a possibility to drop outgoing traffic of clients who define their address staticaly instead of using my DHCP server ?
I also want to allow outgoing access to those who have their IP address given by my DHCP server.
Thank you in advance,
Danila Octavian
[-- Attachment #2: Type: text/html, Size: 1137 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: DHCP related problem
2003-06-17 8:30 DHCP related problem PiSiC...
@ 2003-06-17 11:24 ` Matt Grogan
2003-06-17 12:46 ` Julian Gomez
2003-06-17 13:43 ` PiSiC...
0 siblings, 2 replies; 5+ messages in thread
From: Matt Grogan @ 2003-06-17 11:24 UTC (permalink / raw)
To: 'PiSiC...', netfilter
You could set up DHCP with a smaller set of addresses, for example
x.x.x.100- x.x.x.110 if you only have 10 workstations. Then drop everything
accessing the Internet except for those source addresses.
If you want to go further than that, like stop someone from getting their
information from DHCP and then statically defining it and keeping that
address, it gets a little more involved. Maybe reducing the lease time and
scripting to check that all the stations in the DHCP range are also in the
list of DHCP clients on the server would help.
Matt Grogan
________________________________________
From: netfilter-admin@lists.netfilter.org
[mailto:netfilter-admin@lists.netfilter.org] On Behalf Of PiSiC...
Sent: Tuesday, June 17, 2003 4:31 AM
To: netfilter@lists.netfilter.org
Hi all,
I want to ask you something... You know a possibility to drop outgoing
traffic of clients who define their address staticaly instead of using my
DHCP server ?
I also want to allow outgoing access to those who have their IP address
given by my DHCP server.
Thank you in advance,
Danila Octavian
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: DHCP related problem
2003-06-17 11:24 ` Matt Grogan
@ 2003-06-17 12:46 ` Julian Gomez
2003-06-17 13:43 ` PiSiC...
1 sibling, 0 replies; 5+ messages in thread
From: Julian Gomez @ 2003-06-17 12:46 UTC (permalink / raw)
To: netfilter
On Tue, Jun 17, 2003 at 07:24:16AM -0400, Matt Grogan spoke thusly:
>If you want to go further than that, like stop someone from getting their
>information from DHCP and then statically defining it and keeping that
>address, it gets a little more involved. Maybe reducing the lease time and
>scripting to check that all the stations in the DHCP range are also in the
>list of DHCP clients on the server would help.
A slightly different angle, which just came up on the redhat-users ML a
couple of days ago; which might work is :
-> All DHCP leases get an account created on your internal DNS
resolver.
-> Your firewall refreshes your ruleset by only allowing a range
of DHCP IP ranges, which have a corresponding DNS forward &&
reverse entry.
This is similar to Win2K functionality whereby all DHCP addresses get an
automatic DNS entry created. Someone mentioned that ISC's DHCP package
supports such functionality, you might want to take a look.
There will be some scripting involved, as Matt has already allured to.
(snip rest)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: DHCP related problem
2003-06-17 11:24 ` Matt Grogan
2003-06-17 12:46 ` Julian Gomez
@ 2003-06-17 13:43 ` PiSiC...
2003-06-17 16:58 ` David Busby
1 sibling, 1 reply; 5+ messages in thread
From: PiSiC... @ 2003-06-17 13:43 UTC (permalink / raw)
To: mattgrogan, netfilter
I see that i wasn't very explicit...
so... what i have: i have 12 stations in my LAN. I have set up DHCP with
FixedAdress for those.
I work in a computers service and i have a variable number of machines that
come and go .
I set up a pool for those fixed address computers and another one for
unknown clients which is more restrictive.
To get to my problem ... I want to drop anyone who sets his IP address and
GW etc. staticaly.
I want to let them access only if they request their address by DHCP.
Any hints ?
Thanks in advance ,
Danila Octavian
----- Original Message -----
From: "Matt Grogan" <mattgrogan@nyc.rr.com>
To: "'PiSiC...'" <pisic@service.agress.ro>; <netfilter@lists.netfilter.org>
Sent: Tuesday, June 17, 2003 2:24 PM
Subject: RE: DHCP related problem
> You could set up DHCP with a smaller set of addresses, for example
> x.x.x.100- x.x.x.110 if you only have 10 workstations. Then drop
everything
> accessing the Internet except for those source addresses.
>
> If you want to go further than that, like stop someone from getting their
> information from DHCP and then statically defining it and keeping that
> address, it gets a little more involved. Maybe reducing the lease time and
> scripting to check that all the stations in the DHCP range are also in the
> list of DHCP clients on the server would help.
>
> Matt Grogan
>
> ________________________________________
> From: netfilter-admin@lists.netfilter.org
> [mailto:netfilter-admin@lists.netfilter.org] On Behalf Of PiSiC...
> Sent: Tuesday, June 17, 2003 4:31 AM
> To: netfilter@lists.netfilter.org
>
> Hi all,
>
> I want to ask you something... You know a possibility to drop outgoing
> traffic of clients who define their address staticaly instead of using my
> DHCP server ?
> I also want to allow outgoing access to those who have their IP address
> given by my DHCP server.
>
> Thank you in advance,
> Danila Octavian
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: DHCP related problem
2003-06-17 13:43 ` PiSiC...
@ 2003-06-17 16:58 ` David Busby
0 siblings, 0 replies; 5+ messages in thread
From: David Busby @ 2003-06-17 16:58 UTC (permalink / raw)
To: PiSiC..., mattgrogan, netfilter
The ISC DHCP server has some hooks (see man) that can notify you of a lease.
Those events could drive a script that modifies you firewall rules.
/B
----- Original Message -----
From: "PiSiC..." <pisic@service.agress.ro>
To: <mattgrogan@bigfoot.com>; <netfilter@lists.netfilter.org>
Sent: Tuesday, June 17, 2003 06:43
Subject: Re: DHCP related problem
> I see that i wasn't very explicit...
> so... what i have: i have 12 stations in my LAN. I have set up DHCP with
> FixedAdress for those.
> I work in a computers service and i have a variable number of machines
that
> come and go .
> I set up a pool for those fixed address computers and another one for
> unknown clients which is more restrictive.
> To get to my problem ... I want to drop anyone who sets his IP address and
> GW etc. staticaly.
> I want to let them access only if they request their address by DHCP.
> Any hints ?
>
> Thanks in advance ,
>
> Danila Octavian
>
>
> ----- Original Message -----
> From: "Matt Grogan" <mattgrogan@nyc.rr.com>
> To: "'PiSiC...'" <pisic@service.agress.ro>;
<netfilter@lists.netfilter.org>
> Sent: Tuesday, June 17, 2003 2:24 PM
> Subject: RE: DHCP related problem
>
>
> > You could set up DHCP with a smaller set of addresses, for example
> > x.x.x.100- x.x.x.110 if you only have 10 workstations. Then drop
> everything
> > accessing the Internet except for those source addresses.
> >
> > If you want to go further than that, like stop someone from getting
their
> > information from DHCP and then statically defining it and keeping that
> > address, it gets a little more involved. Maybe reducing the lease time
and
> > scripting to check that all the stations in the DHCP range are also in
the
> > list of DHCP clients on the server would help.
> >
> > Matt Grogan
> >
> > ________________________________________
> > From: netfilter-admin@lists.netfilter.org
> > [mailto:netfilter-admin@lists.netfilter.org] On Behalf Of PiSiC...
> > Sent: Tuesday, June 17, 2003 4:31 AM
> > To: netfilter@lists.netfilter.org
> >
> > Hi all,
> >
> > I want to ask you something... You know a possibility to drop outgoing
> > traffic of clients who define their address staticaly instead of using
my
> > DHCP server ?
> > I also want to allow outgoing access to those who have their IP address
> > given by my DHCP server.
> >
> > Thank you in advance,
> > Danila Octavian
> >
> >
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-06-17 16:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-17 8:30 DHCP related problem PiSiC...
2003-06-17 11:24 ` Matt Grogan
2003-06-17 12:46 ` Julian Gomez
2003-06-17 13:43 ` PiSiC...
2003-06-17 16:58 ` David Busby
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.