[squid-users] CACHEMGR - What`s wrong?

2008-11-04 Thread Rodrigo de Oliveira Gomes

Guys,

   Good afternoon!

   I am using an Intel server with 2 gigas of memory. Installed the 
7.0 version of FreeBSD, installed just after the squid (Squid Cache: 
Version 3.0.STABLE10) compiled with the following flags:


  configure options:  '--with-default-user=squid'
  '--bindir=/usr/local/sbin' '--sbindir=/usr/local/sbin'
  '--datadir=/usr/local/etc/squid'
  '--libexecdir=/usr/local/libexec/squid'
  '--localstatedir=/usr/local/squid' '--sysconfdir=/usr/local/etc/squid'
  '--enable-removal-policies=lru heap' '--disable-linux-netfilter'
  '--disable-linux-tproxy' '--disable-epoll' '--enable-auth=basic ntlm
  digest' '--enable-basic-auth-helpers=DB NCSA PAM MSNT SMB
  squid_radius_auth YP' '--enable-digest-auth-helpers=password'
  '--enable-external-acl-helpers=ip_user session unix_group wbinfo_group'
  '--enable-ntlm-auth-helpers=SMB' '--with-pthreads'
  '--enable-storeio=ufs diskd null aufs' '--enable-delay-pools'
  '--enable-ssl' '--with-openssl=/usr' '--enable-htcp'
  '--enable-forw-via-db' '--enable-cache-digests' '--enable-wccpv2'
  '--disable-http-violations' '--enable-referer-log'
  '--enable-useragent-log' '--enable-arp-acl' '--enable-ipfw-transparent'
  '--enable-pf-transparent' '--enable-ipf-transparent'
  '--enable-icap-client' '--disable-kqueue' '--with-large-files'
  '--enable-stacktraces' '--disable-optimizations'
  '--enable-err-languages=Armenian Azerbaijani Bulgarian Catalan Czech
  Danish  Dutch English Estonian Finnish French German Greek  Hebrew
  Hungarian Italian Japanese Korean Lithuanian  Polish Portuguese
  Romanian Russian-1251 Russian-koi8-r  Serbian Simplify_Chinese Slovak
  Spanish Swedish  Traditional_Chinese Turkish Ukrainian-1251
  Ukrainian-koi8-u Ukrainian-utf8'
  '--enable-default-err-language=templates' '--prefix=/usr/local'
  '--mandir=/usr/local/man' '--infodir=/usr/local/info/'
  '--build=i386-portbld-freebsd7.0' 'build_alias=i386-portbld-freebsd7.0'
  'CC=cc' 'CFLAGS=-pipe  -I/usr/include -g -g' 'LDFLAGS=
  -rpath=/usr/lib:/usr/local/lib -L/usr/lib' 'CPPFLAGS=' 'CXX=c++'
  'CXXFLAGS=-pipe -I/usr/include -g -g'


I'm trying to enable the use of cachemgr, but unfortunately only the 
following message appears as I try to log:



  Cache Manager Error

  target 192.168.47.89:3128 not allowed in cachemgr.conf
__

   Generated Tue, 04 Nov 2008 15:34:58 GMT, by cachemgr.cgi/[EMAIL PROTECTED]


The following settings:

quid.conf:


   acl netinterna src 192.168.0.0/16
   http_access allow manager localhost
   http_access allow manager netinterna
   http_access deny manager
   cachemgr_passwd senha all

  cachemgr.conf:
  localhost
  192.168.47.89:3128

Am I doing something wrong? Lack configuration? Permission? I look forward to in a hand. 


Thank you,

Regards,

Rodrigo Gomes




Re: [squid-users] Youtube and other streaming media (caching)

2008-06-03 Thread Rodrigo de Oliveira Gomes

Henrik Nordstrom escreveu:

On mån, 2008-06-02 at 18:27 -0300, Rodrigo de Oliveira Gomes wrote:
  

Hello Guys!

Please, is the information about the message 
(http://www.squid-cache.org/mail-archive/squid-users/200804/0420.html#replies) 
work in squid version 3.0 stable 5?



No, only 2.7 so far. But is likely to be seen in 3.1 or 3.2 as well.

Regards
Henrik
  

Henrik and group,

   Thanks for answer my question... But I have another :-)

   I have a server with FreeBSD 7.0 and squid3.0-STABLE5... Just fine :-)

   Today I have approximately 400 users in my proxy and 16 MB of link 
(2 links of 8 MB with load balancing). Can I use delay pools to 
guarantee 6 MB only to youtube videos? If yes, how can I do this?


   Thanks again.

Best Regards,

Rodrigo de Oliveira Gomes:.



Re: [squid-users] Youtube and other streaming media (caching)

2008-06-03 Thread Rodrigo de Oliveira Gomes

Amos and group,

   Thanks your answers! :-)

   Does anyboyd know how can I reserve 4 MB bandwith of 16 MB link 
internet only to my users access youtube sites?


   I use FreeBSD 7.0 and squid 3.0-STABLE5.

Thanks.

Rodrigo Gomes:.

Amos Jeffries escreveu:

Rodrigo de Oliveira Gomes wrote:

Henrik Nordstrom escreveu:

On mån, 2008-06-02 at 18:27 -0300, Rodrigo de Oliveira Gomes wrote:
 

Hello Guys!

Please, is the information about the message 
(http://www.squid-cache.org/mail-archive/squid-users/200804/0420.html#replies) 
work in squid version 3.0 stable 5?



No, only 2.7 so far. But is likely to be seen in 3.1 or 3.2 as well.

Regards
Henrik
  

Henrik and group,

   Thanks for answer my question... But I have another :-)

   I have a server with FreeBSD 7.0 and squid3.0-STABLE5... Just fine 
:-)


   Today I have approximately 400 users in my proxy and 16 MB of link 
(2 links of 8 MB with load balancing). Can I use delay pools to 
guarantee 6 MB only to youtube videos? If yes, how can I do this?


With the delay_access and rep_mime_type ACL. Though keep in mind delay 
pools are not a 'guarantee' they are limits. Networks service may be 
much slower than the pool allows, but cannot be faster.


http://www.squid-cache.org/Versions/v3/3.0/cfgman/delay_access.html
http://www.squid-cache.org/Versions/v3/3.0/cfgman/acl.html

The videos all have a predictable mime type video/flv. Which can be 
used in the ACL and access controls to assign a delay pool.



Amos





[squid-users] Youtube and other streaming media (caching)

2008-06-02 Thread Rodrigo de Oliveira Gomes

Hello Guys!

Please, is the information about the message 
(http://www.squid-cache.org/mail-archive/squid-users/200804/0420.html#replies) 
work in squid version 3.0 stable 5?


thanks