LinuxQuestions.org
Visit Jeremy's Blog.
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 10-21-2010, 10:24 AM   #1
meandsushil
Member
 
Registered: Feb 2010
Posts: 143

Rep: Reputation: 14
Question squid


Hi all Legends of Linux.

i have one problem,
i am able to block an ip address from opening a "www.orkut.com" site. but it displays on it's screen that "Acess is denied" by which he can easily understand that it's proxy settings is disallowing it!
so he can just go in preference menu of his firefox window and reset his proxy.
So how can I block www.orkut.com for that machine without him knowing it that it has been blocked by squid server or proxy!

i have configured a simple squid acl on that system ,
i am practising it to configure a one dedicated squid server as proxy too!
 
Old 10-21-2010, 10:34 AM   #2
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 616

Rep: Reputation: 64
Quote:
Originally Posted by meandsushil View Post
Hi all Legends of Linux.

i have one problem,
i am able to block an ip address from opening a "www.orkut.com" site. but it displays on it's screen that "Acess is denied" by which he can easily understand that it's proxy settings is disallowing it!
so he can just go in preference menu of his firefox window and reset his proxy.
So how can I block www.orkut.com for that machine without him knowing it that it has been blocked by squid server or proxy!

i have configured a simple squid acl on that system ,
i am practising it to configure a one dedicated squid server as proxy too!



If you wish to change the page that gets displayed to users when a website is blocked, you need to edit the file:

Quote:
/usr/share/dansguardian/languages/<LANGUAGE>/template.html.

I am not sure about its path though. Search for the template.html file in your system and edit it according to your need.
 
1 members found this post helpful.
Old 10-21-2010, 10:44 AM   #3
HasC
Member
 
Registered: Oct 2009
Location: South America - Paraguay
Distribution: Debian 5 - Slackware 13.1 - Arch - Some others linuxes/*BSDs through KVM and Xen
Posts: 329

Rep: Reputation: 55
well, try using transparent proxy, or remove IP masquerading
 
Old 10-27-2010, 09:52 AM   #4
meandsushil
Member
 
Registered: Feb 2010
Posts: 143

Original Poster
Rep: Reputation: 14
Thanks sayan_acharjee!
 
Old 10-27-2010, 09:53 AM   #5
meandsushil
Member
 
Registered: Feb 2010
Posts: 143

Original Poster
Rep: Reputation: 14
How to remove IP masquerading?
 
Old 10-27-2010, 10:10 AM   #6
meandsushil
Member
 
Registered: Feb 2010
Posts: 143

Original Poster
Rep: Reputation: 14
Question

Actually it's Fedora browser and it is showing this message! which I have shown with pic.

All I want is to either edit this message or don't display this message.

How to do this thing?
Attached Thumbnails
Click image for larger version

Name:	Screenshot.png
Views:	7
Size:	70.7 KB
ID:	5005  
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Redirect specific domain to an Secondary (External) Squid Proxy Zxarr Linux - Server 2 04-20-2010 01:50 PM
My squid server is running slow i have 40 fedora 11 in my squid proxy ashraflinux1@gmail.com Linux - Server 4 09-15-2009 01:17 AM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard laxmantsharma Linux - Software 1 02-24-2009 07:02 AM
squid - limited time slot for accessing the internet via squid. shahg_shahg Linux - Server 1 09-20-2008 07:41 AM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard Niceman2005 Linux - Software 1 11-24-2004 03:29 PM


All times are GMT -5. The time now is 01:02 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration