IP & MAC Binding

Taking care of your Linux box.
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

the filenames in the script are confusing. what the mac.addresses file contains is a list of mac addresses and ips that are valid and should be on your network. example:
aa:bb:cc:dd:ee:ff 172.16.23.23
00:aa:dd:ee:ff:44 172.16.15.44
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
asadsq
Lance Naik
Posts: 48
Joined: Fri Feb 22, 2008 3:10 pm
Location: Peshawar
Contact:

Post by asadsq »

Dear Lambda,

How to configuration file look like?
Means
How i will do that?
Directly in Squid or save in some file?
Asad Zia Siddiqui
Peshawar
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

please read the above posts carefully. your questions are answered in them. the script and configuration file work outside of squid.

they still won't prevent users from changing their mac address and ip address to match a 'valid' address to get through your network. however, you can prevent that with group policies that take away those admin rights from users.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
asadsq
Lance Naik
Posts: 48
Joined: Fri Feb 22, 2008 3:10 pm
Location: Peshawar
Contact:

Post by asadsq »

I tried that script but its not working. Users in my network still able to change IP & can easily browse
As far as group policies are concerned, its open end environment for clients as they are administrators of their own PC's so policies can't be applied.
What ever we want to apply, can be applied through proxy only
Asad Zia Siddiqui
Peshawar
Post Reply