LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 11-20-2007, 01:06 AM   #1
nixonmohan
LQ Newbie
 
Registered: Jul 2007
Posts: 16

Rep: Reputation: 0
Firewall Cum Squid Script


Hi,

Iam using IPTABLES based firewall cum squid as a transparent proxy..right now my comapany need the requirements to block something the details i have mentioned below.is can any one help on this how can write rules in firewall script and squid.conf files



Below I have mentioned Our Company requirements points.

1. Ip based access to internet
2. grade based access to download files
3. able to block chats for individuals ( like yahoo, msn, google etc)
4. able to know who accessed what site
5. net usage per system and overall
6. able to run the report to know usage or access done by each system
7. single point control to stop access to net and lan/wan
8. Review of the firewall rules
9. Implementation of MRTG graph
10. Implementatation of SARG report (this is for url tracking purpose)
11. Squid authentication with different authentication levels (maximum of 3 groups) & blocking of predefined file types
12) – Grade based access to download files – All the developers should be allowed to download the documents, i.e .doc, .pdf, .chm. So I should be able to have file extension & grade based downloads.
13) – Chat should be blocked at all the levels. i.e Now a days, some people are using the web chat. This is also based on individuals.

14)Also I need to block the audio stream and should have exception list. i.e Audio from Microsoft site or any other technical site should be working.

15)Net usage should automatically send the mail every week to the concerned persons.

Thanks in advance

Nixon.M
 
Old 11-20-2007, 03:20 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by nixonmohan View Post
Hi,

Iam using IPTABLES based firewall cum squid as a transparent proxy..right now my comapany need the requirements to block something the details i have mentioned below.is can any one help on this how can write rules in firewall script and squid.conf files



Below I have mentioned Our Company requirements points.

1. Ip based access to internet
2. grade based access to download files
3. able to block chats for individuals ( like yahoo, msn, google etc)
4. able to know who accessed what site
5. net usage per system and overall
6. able to run the report to know usage or access done by each system
7. single point control to stop access to net and lan/wan
8. Review of the firewall rules
9. Implementation of MRTG graph
10. Implementatation of SARG report (this is for url tracking purpose)
11. Squid authentication with different authentication levels (maximum of 3 groups) & blocking of predefined file types
12) – Grade based access to download files – All the developers should be allowed to download the documents, i.e .doc, .pdf, .chm. So I should be able to have file extension & grade based downloads.
13) – Chat should be blocked at all the levels. i.e Now a days, some people are using the web chat. This is also based on individuals.

14)Also I need to block the audio stream and should have exception list. i.e Audio from Microsoft site or any other technical site should be working.

15)Net usage should automatically send the mail every week to the concerned persons.

Thanks in advance

Nixon.M
That's quite a list you've got there. I hope you aren't planning on having us walk you through each of those items on this thread - because it's not going to happen. Hopefully they were just meant as an illustration of your circumstances. You really need to be much more specific, as dumping a 15-point wishlist of quasi-related objectives on the forum without providing us with any clue as to what you've tried so far, where you are stuck at, what you are unsure of, etc. simply isn't going to fly. We'll proceed on the premise that this is strictly a Squid/iptables question (based on the thread title). So what does your current Squid/iptables setup look like? How much experience do you have? What (specifically) do you need help with?

Last edited by win32sux; 11-20-2007 at 03:36 AM.
 
Old 11-20-2007, 06:05 AM   #3
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
You guys should really call in a consultant for this.
 
  


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
installation-cum-Graphical problem b0nd SUSE / openSUSE 2 12-19-2005 06:15 AM
slackware's /etc/rc.d/rc.firewall equivalent ||| firewall script startup win32sux Debian 1 03-06-2004 09:15 PM
how cum? where is the problem pudhiyavan Linux - Networking 1 01-23-2004 10:17 AM
firewall and squid keshif Linux - Security 1 01-23-2004 09:25 AM
firewall for SQUID freelinuxcpp Linux - Networking 2 12-01-2003 01:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:48 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