Friday Sep 10
  small apple minimize
PH-LWUG.org Community
  September 10, 2010, 05:50:14 AM *
  Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Search  
Home  Help  Login  Register 
Pages: 1 [2] Go Down  
Print
Author Topic: Squid proxy  (Read 1091 times)
HansCheska™
Tumeng Ti Nuang
....................
*


Gender: Male
Posts: 532
Offline Offline

OS:
Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
Browser:
Firefox 3.5.8 Firefox 3.5.8


WWW
« Reply #15 on: March 11, 2010, 03:48:06 AM »

clear mo muna yung cache ng squid proxy then try mo ulit.
any changes sa policy mo after mag cache ay clear mo para mas sure.

Then isaisahin mo ibalik ang policy.
Logged

Do not place your mistakes on your head. Their weight may crash you. Instead, place them under your feet and use them as a platform to view your horizon.
leejohnli
Level 3 Support
*
Posts: 245
Offline Offline

OS:
Linux (CentOS) Linux (CentOS)
Browser:
Firefox 3.0.6 Firefox 3.0.6


« Reply #16 on: March 11, 2010, 04:23:29 AM »

@keeper
sir ang pagkakalam ko ndi pdeng wlang laman ang squidGuard logs mo kc dun mo mlalaman kung nagrurun ang squidGuard mo o ndi, check mo permission ng squidGuard logs mo kung wlang lamn un, tama cla mkhang policy ng squidGuard mo kung nagupdate ka ng filtering mo malamang tinamaan ung sa yahoo check mo ung sa adv, tska dynamic. dun sa logs mo tagos nman ung yahoo mo.
Logged
keeper_1728
Peace Maker
*


Gender: Male
Posts: 154
Offline Offline

OS:
Windows XP Windows XP
Browser:
Firefox 3.5.8 Firefox 3.5.8


« Reply #17 on: March 11, 2010, 06:13:59 AM »

Hayyyys, ayaw pa rin

ganito ginawa ko, uninstall SquidGuard & Squid 2.7.8.

Restart server

Tapos check access si yahoo.com, Success. complete yung page nya.

Next install si Squid 2.7.8

then restart ulit server.

Access ulit si www.yahoo.com. Ayun same problem na ulit.

hayyyyy. Di ko pa na install yung Squid Guard error na eh.
Logged
djweng
....................
*


Gender: Male
Posts: 583
Offline Offline

OS:
Windows Vista/Server 2008 Windows Vista/Server 2008
Browser:
Firefox 3.0.12 Firefox 3.0.12


« Reply #18 on: March 11, 2010, 05:48:11 PM »

Brod try mo to ibalik yung original na squid.conf yung hindi pa na eedit, then after mo maibalik try mo gayahin tong conf ko.

#http_port
http_port 192.168.1.1:8080    # IP and Port that will used by the client
mime_table /etc/squid/mime.conf

dns_nameservers 192.168.1.1 208.67.222.222 208.67.220.220  # IP address of the DNS that you have

#forwarded_for on
forwarded_for off    # Use to hide the private IP of the user in the internet
                                                                                                                             
#cache_mem
cache_mem 512 MB
cache_dir ufs /var/spool/squid 5000 16 256



acl bad dstdomain -i "/etc/squid/baddomains"
acl blocked url_regex -i "/etc/squid/badwords"
acl blocked-extension urlpath_regex -i "/etc/squid/blocked-extension"
acl good dstdomain  -i "/etc/squid/messenger"
acl good2 dstdomain -i "/etc/squid/jobs"


acl managers src  "/etc/squid/managers.txt"
acl rankfile src  "/etc/squid/staff.txt"
acl mis src  "/etc/squid/mis.txt"

no_cache deny QUERY


http_access allow managers !baddomains !badwords !blocked-extension !jobs
http_access allow rankfile !baddomains !badwords !blocked-extension !jobs !messenger
http_access allow mis


http_access deny  all

email ko syo yung mga file ng bad, good, good2 at blocked-extension. lagay mo lang sya sa /etc/squid then after mo mailagay yun restart mo yung squid mo tapos try mo i browse yung yahoo kung mag kakaroon pa ng file pag nag ok na sya ska mo i integrate yugn squidguard mo.


Logged
Mikeflores
Service Desk I
*
Posts: 9
Offline Offline

OS:
Linux (Fedora) Linux (Fedora)
Browser:
Firefox 3.0.11 Firefox 3.0.11


« Reply #19 on: March 11, 2010, 07:32:56 PM »

Sir salamat po,

 okey na yun squid ko sa YM, Sir pwde ko bang layag yun mga ERR messages nag Picture logo para maganda, at
papaano kasi nag try me hindi lumabas. :(

 help me naman, at sama may outing seminar tayo parang masaya lahat nang members

 hintay ko sagot  please   

 regards

Michael

Logged
djweng
....................
*


Gender: Male
Posts: 583
Offline Offline

OS:
Windows Vista/Server 2008 Windows Vista/Server 2008
Browser:
Firefox 3.0.12 Firefox 3.0.12


« Reply #20 on: March 11, 2010, 07:42:02 PM »

Puwede sir check mo to /etc/squid/errors html lang po sya pero need mo ingatan  yung code na gamit nya.

ex:

Quote
[root@dc errors]# pwd
/etc/squid/errors

[root@dc errors]# vi ERR_ACCESS_DENIED
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>ERROR: The requested URL could not be retrieved</TITLE>
<STYLE type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
</HEAD><BODY>
<H1>ERROR</H1>
<H2>The requested URL could not be retrieved</H2>
<HR noshade size="1px">
<P>
While trying to retrieve the URL:
<A HREF="%U">%U[/url]
<P>
The following error was encountered:
<UL>
<LI>
<STRONG>
Access Denied.
</STRONG>
<P>
Access control configuration prevents your request from
being allowed at this time.  Please contact your service provider if
you feel this is incorrect.
</UL>
<P>Your cache administrator is %w.

Ingat lang sa mga code sir baka hindi na lumabas ang kailangan ni squid.

                                                                                                           
Logged
keeper_1728
Peace Maker
*


Gender: Male
Posts: 154
Offline Offline

OS:
Windows XP Windows XP
Browser:
Firefox 3.5.8 Firefox 3.5.8


« Reply #21 on: March 12, 2010, 12:58:15 AM »

Weng salamat.

Sinilip ko yung config ng Squid sa /usr/local/etc/squid/squid.conf.

Magkaiba dun sa binigay mo Weng, kasi sa webgui ng PF Sense(FreeBSD) ko sya laging ginagawa. Kaya wala akong idea yung pano galawin sa console.

Pwede bang wag ng i-cache ni Squid ang lahat ng yahoo pages. Kumbaga basta yahoo site, bypass na nya si Squid.Hehehe

Aralin ko muna yung config kung pano ipalit dun sa existing.

Maraming salamat talaga.



Logged
Pages: 1 [2] Go Up  
Print
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC

Valid XHTML 1.0! Valid CSS!
Page created in 0.071 seconds with 18 queries.