LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-08-2015, 01:35 AM   #1
jead
LQ Newbie
 
Registered: Jul 2015
Posts: 2

Rep: Reputation: Disabled
Squid proxy


we are using squid proxy filtering like accessing facebook from 12:00 - 13:00. Our users does not logged out and can still use facebook even after 13:00. How will I refresh their browser automatically so that they can stop accessing facebook after the time?
I am using RHEL4
 
Old 07-09-2015, 07:43 AM   #2
paul2015
Member
 
Registered: Apr 2015
Distribution: CentOS Fedora
Posts: 149

Rep: Reputation: 4
till 12:00 is it blocking facebook?
 
Old 07-19-2015, 09:03 PM   #3
jead
LQ Newbie
 
Registered: Jul 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
squid proxy

from 12:00 - 13:00 only is allowed for accessing facebook
 
Old 07-21-2015, 02:35 AM   #4
paul2015
Member
 
Registered: Apr 2015
Distribution: CentOS Fedora
Posts: 149

Rep: Reputation: 4
facebook uses https connection so if user will type https://facebook.com or https://fb.com can bypass your server anytime because in general squid does not understand https. like when user will google something restricted, squid does not understand it until will not open link and if the link is not https than squid is making action. If you only use iptables as your firewall you can make a cron job with script to add list of facebook servers and block any type of connection with tcp or udp ports. list is not small but I think this is best solution because just anytime type https://facebook.com you can bypass server. with this script you can obtain ip addresses of facebook servers.

whois -h whois.radb.net -- '-i origin AS32934' | grep ^route | grep -v route6 | cut -d" " -f7 > /fb_ip_list

this method is working. If anyone has idea better i will shear it with great pleasure

good luck
 
  


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
configure squid proxy with cc proxy as a parent proxy faisi Linux - Networking 1 08-10-2010 01:16 PM
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 11:25 AM
Using ISA Server as Parent Proxy and want to setup Squid as dwonstream proxy tauseef1 Red Hat 1 04-09-2008 01:03 AM
configure squid proxy with microsoft proxy as a parent proxy nintykola Linux - Software 1 08-28-2007 01:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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