Community discussions

MikroTik App
 
foolbaby
just joined
Topic Author
Posts: 18
Joined: Sun Feb 07, 2010 5:02 pm

Problrm with internal squid

Fri May 07, 2010 3:53 pm

now iam using router os v5beta2.
seems like alot of improvement , but there is something i want ask about proxy seting.
i have set it on ip proxy cache. about few addres that i like to save the cache.
but still the HIT stil count 0 is there any misconfiguration on my config.?
here the image og the cache

Image

here my proxy configuration :
/ip proxy
set always-from-cache=yes cache-administrator="" cache-hit-dscp=4 \
cache-on-disk=yes enabled=yes max-cache-size=unlimited \
max-client-connections=950 max-fresh-time=5d max-server-connections=950 \
parent-proxy=0.0.0.0 parent-proxy-port=0 port=3128 serialize-connections=\
yes src-address=0.0.0.0
/ip proxy access
add action=deny comment="block telnet & spam e-mail relaying" disabled=no \
dst-port=23-25
/ip proxy cache
add action=allow disabled=no dst-host=":cgi-bin \\\?"
add action=allow disabled=no dst-host=":\\.flv\$.zip\$.jpg\$.gif\$.bmp\$.tiff\
\$.png\$.wmv\$.avi\$.rar\$.bin\$.mp3\$.mp4\$.swf\$.pdf\$"
add action=allow disabled=no dst-host=http*youtube*get_video*
add action=allow disabled=no dst-host=http*apps.facebook.com*
add action=allow disabled=no dst-host=http*facebbook.com*
add action=allow disabled=no dst-host=http*facebook*
add action=allow disabled=no dst-host=http*zinga.com*
add action=allow disabled=no dst-host=http*zbar.static.zynga.com*
add action=allow disabled=no dst-host=http*photos-b.ak.fbcdn.net*
add action=allow disabled=no dst-host=http*login.yahoo.com*
add action=allow disabled=no dst-host=http*s.yimg.com*
add action=allow disabled=no dst-host=http*mail.yimg.com*
add action=allow disabled=no dst-host=http*google.com*
add action=allow disabled=no dst-host="/*\\\?*"

and hw the config for optimizing the internal proxy on ROS. thanks
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Problrm with internal squid

Fri May 07, 2010 10:12 pm

'dst-host' should not contain 'http'
 
foolbaby
just joined
Topic Author
Posts: 18
Joined: Sun Feb 07, 2010 5:02 pm

Re: Problrm with internal squid

Sat May 08, 2010 12:53 pm

thanks Chupaka i'll try it.
soon will give it report

Who is online

Users browsing this forum: No registered users and 131 guests