nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Filter MAC addresses with squid on SuSE 10

This is a discussion on Filter MAC addresses with squid on SuSE 10 within the Linux software forums, part of the Linux Getting Started category; Hi hope everybody is doing good. I'm new to this Forum please excuse me while I adjust. I need help ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 08-16-2006, 06:16 AM
AQG AQG is offline
Junior Member
User
 
Join Date: Aug 2006
Posts: 6
Rep Power: 0
AQG
Default Filter MAC addresses with squid on SuSE 10

Hi hope everybody is doing good.

I'm new to this Forum please excuse me while I adjust.

I need help with my squid on SuSE 10. I would like to know where do i need to place my squid box on my net in order for it to see and filter my MAC addresses?

Hope you can help me!!!

Thanks
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-16-2006, 01:45 PM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 482
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

we are doing great

Quote:
I would like to know where do i need to place my squid box on my net in order for it to see and filter my MAC addresses?
You can place your box anywhere… generally most people run something as follows:

Code:
router -> squid box -> LAN
Allow LAN computer access to squid box only and not to router put firewall on squid box and squid itself.

If you need more help please hit reply button
Reply With Quote
  #3 (permalink)  
Old 08-16-2006, 08:53 PM
AQG AQG is offline
Junior Member
User
 
Join Date: Aug 2006
Posts: 6
Rep Power: 0
AQG
Default

Ok got that, but by doing what you say would i be able to filter (pas my MAC using my proxy server. On some comments i understood that MAC's are not routable????

thanks
Reply With Quote
  #4 (permalink)  
Old 08-17-2006, 02:39 AM
AQG AQG is offline
Junior Member
User
 
Join Date: Aug 2006
Posts: 6
Rep Power: 0
AQG
Default

My squid box is connected to the main router is that ok?
Reply With Quote
  #5 (permalink)  
Old 08-17-2006, 05:03 AM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 581
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

Yup it is ok to connect router to Linux server, as long as you have firewall (iptable...

Do not use this squid box any other purpose like file server or ftp or cvs server. Use as a dedicated box for routing internet traffic.

Do you really need MAC filters? What kind of setup… your own office setup or Cable ISP kind of setup?

In case if it is your office setup no need to go by MAC, impo. Squid itself provide quite strong access control along with authentication.
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
  #6 (permalink)  
Old 08-17-2006, 06:53 AM
AQG AQG is offline
Junior Member
User
 
Join Date: Aug 2006
Posts: 6
Rep Power: 0
AQG
Default

it's not an office, we have aprox 500 pc's of wich 300 must be granted access to internet through a proxy server filtered by MAC.

the problem is that we have 21 sub nets distributed in 7 IDF(VLAN'
in each vlan 1subnet is full access(no proxy), 1 subnet is restricted access(through proxy) and 1subnet is for VoIp.

question: for example if I have a PC in a subnet that must pass through the proxy server but cannot connect my proxy in front of my ISP router will my proxy be able to filter that PC by MAC.

thanks once again!!!
Reply With Quote
  #7 (permalink)  
Old 08-17-2006, 02:48 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 581
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

No, it is not possible.

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 cannot find out its MAC address.

What is pointed out by monk is called Proxy Server Implemented With a Dual-Homed Host Firewall. This does not assumes you have multiple subnets. However if you are able to route traffic using router (may be software or h/w based) to this proxy server it should work.

This is not squid but a layer 3 issue. Squid can accept connection from any subnet but you need to configure ip routing correctly aka use multiple routers and the screened subnet, IMPO. This is called HTTP or squid proxying on in screened subnet architecture.
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
  #8 (permalink)  
Old 08-17-2006, 09:17 PM
AQG AQG is offline
Junior Member
User
 
Join Date: Aug 2006
Posts: 6
Rep Power: 0
AQG
Default

Ok I hope i'm not to much trouble but can you provide me a small design as to where too put my proxy box?. Our main switches are layer 3 wich are connected to the main router. so startarting is:

Main Router==>two main switches (layer 3)==>rest of switches

and also can you give me an axample of ip routing or where can i find examples similar to what you are telleing me?

I really appreciate all you peoples help, never tried this forum before but the linux community is great.

thank you!!!
Reply With Quote
  #9 (permalink)  
Old 08-18-2006, 05:49 PM
sweta's Avatar
Contributors
User
 
Join Date: Feb 2005
Location: New Delhi
My distro: Suse, RHEL, Vista
Posts: 154
Rep Power: 4
sweta will become famous soon enough
Default

I think you need to get a good book - coz security and firewall is complex topic. Your issue/topic seems to quite complicate to me. What rockdalinux said was available in a book called

Building Internet Firewalls by D. Brent Chapman, Elizabeth D. Zwicky

It is written in language that is easy to understand and has a lot of nice diagrams.

A quick google query gave me following url too
http://wp.netscape.com/proxy/v3.5/using/

Netscape Proxy Server Deployment Guide – not exactly squid related but it has all the diagram or architecture stuff u need to implement

Good luck with your work and keep us updated on this issue
__________________
Friends - v-nessa - missyAdmin - LinuxChix
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Suse mailx pramkar Shell scripting 1 05-02-2008 02:52 AM
assignement in suse signpost Shell scripting 0 04-17-2008 05:58 PM
assignement in suse signpost Shell scripting 0 04-17-2008 05:55 PM
How do I list devices Mac addresses in RHEL3 kcarp Networking, Firewalls and Security 1 09-04-2007 03:29 AM
suse 9 firewall click007 Getting started tutorials 5 08-16-2007 12:29 AM


All times are GMT +5.5. The time now is 01:08 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36