LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-03-2004, 11:37 AM   #1
upload-3
LQ Newbie
 
Registered: Aug 2004
Location: romania
Distribution: knoppix, red hat, fedora core 1, mandrake
Posts: 26

Rep: Reputation: 15
squid config


How can Y set squid to allow the internet acces by mac address and where y can find the file that Y need to edit.
 
Old 12-03-2004, 11:56 AM   #2
stephadou
LQ Newbie
 
Registered: Aug 2004
Posts: 21

Rep: Reputation: 15
why mac address ???
you can use ip address for the same need.

tell me if you are some thing,it's very interesting.
 
Old 12-03-2004, 12:03 PM   #3
initialdrifteg6
Member
 
Registered: Sep 2004
Location: France, Kentucky
Distribution: debian
Posts: 173

Rep: Reputation: 38
you can assign my mac address so regardless of the IP address if the mac address is unique per computer....

so if your mac is XX:XX:XX:XX and you're on a dialup modem, you'll probably get a different IP every time you dialup but the mac address will stay the same... it's for security...
 
Old 12-03-2004, 12:36 PM   #4
RHELL
Member
 
Registered: Feb 2004
Location: Outermost mingetty
Distribution: RHEL3,RH4U4,Sol9, Sol10
Posts: 321

Rep: Reputation: 31
I don't believe MAC is forwarded across internet, only LAN.
 
Old 12-03-2004, 01:33 PM   #5
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Rep: Reputation: 30
Yes, you can setup squid to allow the internet acces by mac address.

NOTE: Squid can only determine the MAC address for clients that are on the same subnet. If the client is on a different subnet, then Squid can not find out its MAC address.

To use ARP (MAC) access controls, you first need to compile in the optional code. Do this with the --enable-arp-acl configure option:

% ./configure --enable-arp-acl ...
% make clean
% make
If src/acl.c doesn't compile, then ARP ACLs are probably not supported on your system.

If everything compiles, then you can add some ARP ACL lines to your squid.conf:

acl M1 arp 01:02:03:04:05:06
acl M2 arp 11:12:13:14:15:16
http_access allow M1
http_access allow M2
http_access deny all

-/Hitesh
 
Old 12-04-2004, 07:20 AM   #6
upload-3
LQ Newbie
 
Registered: Aug 2004
Location: romania
Distribution: knoppix, red hat, fedora core 1, mandrake
Posts: 26

Original Poster
Rep: Reputation: 15
thanx

thank you for the advices. i really must know how to administrate my network.
 
Old 12-04-2004, 01:23 PM   #7
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Rep: Reputation: 30
There are lots of Network monitoring tools. you can refer following link at,

http://www.slac.stanford.edu/xorg/nmtf/nmtf-tools.html

Let us know if you have any further query.

-/Hitesh
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squid config kernelvn Linux - Networking 1 07-15-2005 06:10 AM
Need Help in Squid Config krishvij Linux - Networking 3 04-01-2005 03:29 AM
squid config tzkolinux Linux - Networking 0 12-27-2004 03:24 AM
[help] squid config piyushiitk Linux - Newbie 1 12-05-2004 06:23 PM
[help ] squid config piyushiitk Linux - Networking 0 12-05-2004 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration