DHCP related problem
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
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: [email protected] [mailto:[email protected]] On Behalf Of PiSiC...
Sent: Tuesday, June 17, 2003 4:31 AM
To: [email protected]
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
On Tue, Jun 17, 2003 at 07:24:16AM -0400, Matt Grogan spoke thusly:
Quoted 5 lines
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)
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" <[email protected]>
To: "'PiSiC...'" <[email protected]>; <[email protected]>
Sent: Tuesday, June 17, 2003 2:24 PM
Subject: RE: DHCP related problem
Quoted 2 lines
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
Quoted 28 lines
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: [email protected] [mailto:[email protected]] On Behalf Of PiSiC...
Sent: Tuesday, June 17, 2003 4:31 AM
To: [email protected]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
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..." <[email protected]>
To: <[email protected]>; <[email protected]>
Sent: Tuesday, June 17, 2003 06:43
Subject: Re: DHCP related problem
Quoted 4 lines
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
Quoted 8 lines
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 ?
Quoted 8 lines
Thanks in advance ,
Danila Octavian
----- Original Message -----
From: "Matt Grogan" <[email protected]>
To: "'PiSiC...'" <[email protected]>;
Quoted 10 lines
Sent: Tuesday, June 17, 2003 2:24 PM
Subject: RE: DHCP related problemQuoted 2 lines
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
Quoted 3 lines
accessing the Internet except for those source addresses.
If you want to go further than that, like stop someone from getting
their
Quoted 2 lines
Quoted 2 lines
information from DHCP and then statically defining it and keeping that address, it gets a little more involved. Maybe reducing the lease time
and
Quoted 1 line
Quoted 1 line
scripting to check that all the stations in the DHCP range are also in
the
Quoted 10 lines
Quoted 10 lines
list of DHCP clients on the server would help.
Matt Grogan
________________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of PiSiC...
Sent: Tuesday, June 17, 2003 4:31 AM
To: [email protected]
Quoted 4 lines
Quoted 4 lines
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
Quoted 10 lines
Quoted 8 lines
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