+ Responder ao Tópico



  1. fla ai pessoal.. bom tarde pra vcs q lerem o post, instalaei o squid 2.6 stable 20 no windows xpsp2, so q naum roda o config ta bem basico..mas da esse ero..se alguem puder da uma dica..agradeço

    ___
    segue o config

    http_port 3128
    visible_hostname net.olimpo.com.br
    hierarchy_stoplist cgi-bin ?
    acl QUERY urlpath_regex cgi-bin \?
    no_cache deny QUERY
    cache_mem 100 MB
    cache_swap_low 90
    cache_swap_high 95
    cache_dir ufs /squid/var/cache 100 16 256
    access_log /squid/var/logs/acess.log squid
    cache_log /squid/var/logs/cache.log
    cache_store_log /squid/var/logs/store.log
    mime_table /squid/etc/mime.conf
    pid_filename /squid/var/logs/squid.pid
    unlinkd_program /squid/share/icons
    icon_directory /squid/share/icons
    error_directory /squid/share/errors/Portuguese
    coredump_dir /squid/var
    emulate_httpd_log on
    refresh_pattern ^ftp: 1440 20% 10080
    refresh_pattern ^gopher: 1440 20% 1440
    refresh_pattern . 0 20% 4320
    acl all src 0.0.0.0/0.0.0.0
    acl manager proto cache_object
    acl localhost src 127.0.0.1/255.255.255.255
    acl to_localhost dst 127.0.0.0/8
    acl SSL_ports port 443 563
    acl Safe_ports port 80 #http
    acl Safe_ports port 21 #ftp
    acl Safe_ports port 443 #https
    acl Safe_ports port 70 #gopher
    acl Safe_ports port 210 #wais
    acl Safe_ports port 1025-65535 #portas não-registradas (>1024)
    acl Safe_ports port 280 #http-mgmt
    acl Safe_ports port 488 #gss-http
    acl Safe_ports port 591 #filemaker
    acl Safe_ports port 777 #multiling http
    acl Safe_ports port 443 563 #https,snews
    acl CONNECT method CONNECT
    acl redelocal src 192.168.254.0/24
    http_access allow manager localhost
    http_access deny manager
    http_access deny !Safe_ports
    http_access deny CONNECT !SSL_ports
    http_access allow redelocal
    http_access deny all #bloqueia acessos de ip's estranhos na rede
    log_icp_queries on
    dns_testnames google.com.br netscape.com yahoo.com

    ____ segue o log do erro

    2008/06/14 12:55:02| Starting Squid Cache version 2.6.STABLE20 for i686-pc-winnt...
    2008/06/14 12:55:02| Running on Windows XP
    2008/06/14 12:55:02| Process ID 3212
    2008/06/14 12:55:02| With 2048 file descriptors available
    2008/06/14 12:55:02| With 512 CRT stdio descriptors available
    2008/06/14 12:55:02| Windows sockets initialized
    2008/06/14 12:55:02| Using select for the IO loop
    2008/06/14 12:55:02| Performing DNS Tests...
    2008/06/14 12:55:02| Successful DNS name lookup tests...
    2008/06/14 12:55:02| DNS Socket created at 0.0.0.0, port 1083, FD 4
    2008/06/14 12:55:02| Adding nameserver 208.67.222.222 from Registry
    2008/06/14 12:55:02| Adding nameserver 208.67.220.220 from Registry
    2008/06/14 12:55:02| Adding domain from Registry
    2008/06/14 12:55:02| User-Agent logging is disabled.
    2008/06/14 12:55:02| Referer logging is disabled.
    2008/06/14 12:55:02| ipcCreate: CHILD: /squid/share/icons: (13) Permission denied
    2008/06/14 12:55:02| ipcCreate: PARENT: OK read test failed
    2008/06/14 12:55:02| --> read returned 4
    2008/06/14 12:55:02| --> got 'ERR%0A'

  2. comenta essa linha aqui

    --> icon_directory /squid/share/icons

    coloca um # antes



  3. como so novo no squid fikei fuçando no forume fiz algumas modificações, meu objetivo pro squid é usar 15 pc's...

    segue o config
    _________
    http_port 3128
    visible_hostname SchockCyber
    hierarchy_stoplist cgi-bin ?
    acl QUERY urlpath_regex cgi-bin \?
    no_cache deny QUERY
    acl apache rep_header Server ^Apache
    broken_vary_encoding allow apache

    cache_mem 128 MB
    cache_swap_low 90 ->>esse aki n entendi mto bem ainda
    cache_swap_high 95 ->> ees tb
    maximum_object_size 250 MB
    minimum_object_size 1 KB
    ie_refresh on
    cache_dir aufs /squid/var/cache 20000 32 256
    access_log /squid/var/logs/acess.log squid
    cache_log /squid/var/logs/cache.log
    cache_store_log /squid/var/logs/store.log
    mime_table /squid/etc/mime.conf
    pid_filename /squid/var/logs/squid.pid
    unlinkd_program /squid/libexec/unlinkd.exe
    icon_directory /squid/share/icons
    error_directory /squid/share/errors/Portuguese
    coredump_dir /squid/var
    emulate_httpd_log on
    refresh_pattern ^ftp: 1440 20% 10080
    refresh_pattern ^gopher: 1440 20% 1440
    refresh_pattern . 0 20% 4320
    acl all src 0.0.0.0/0.0.0.0
    acl manager proto cache_object
    acl localhost src 127.0.0.1/255.255.255.255
    acl to_localhost dst 127.0.0.0/8
    acl SSL_ports port 443
    acl Safe_ports port 80 #http
    acl Safe_ports port 21 #ftp
    acl Safe_ports port 443 #https
    acl Safe_ports port 70 #gopher
    acl Safe_ports port 210 #wais
    acl Safe_ports port 1025-65535 #portas não-registradas (>1024)
    acl Safe_ports port 280 #http-mgmt
    acl Safe_ports port 488 #gss-http
    acl Safe_ports port 591 #filemaker
    acl Safe_ports port 777 #multiling http
    acl Safe_ports port 443 563 #https,snews
    acl CONNECT method CONNECT

    acl redelocal src 192.168.254.0/24
    icp_access allow all
    http_access allow manager localhost
    http_access deny manager
    http_access deny !Safe_ports
    http_access deny CONNECT !SSL_ports
    http_access allow redelocal
    http_access deny all
    dns_testnames google.com.br netscape.com yahoo.com

    pid_filename /var/run/squid.pid
    cache_effective_user squid
    __
    e se fika legal..sem da leg e coisas o q acham?..
    blz..braços e fui






Tópicos Similares

  1. Erro na compilação do Iptables
    Por slice no fórum Servidores de Rede
    Respostas: 3
    Último Post: 28-07-2006, 17:56
  2. Saída de erro na compilação do kernel...
    Por carlos_henrique no fórum Servidores de Rede
    Respostas: 4
    Último Post: 20-10-2004, 16:29
  3. Erro na compilacao do qmail
    Por no fórum Servidores de Rede
    Respostas: 1
    Último Post: 28-10-2003, 09:37
  4. erro na compilacao do ipnat do OpenBsd
    Por no fórum Servidores de Rede
    Respostas: 0
    Último Post: 23-09-2003, 16:41
  5. VPN-Erro na compilação do Kernel
    Por marram no fórum Servidores de Rede
    Respostas: 4
    Último Post: 15-09-2003, 22:26

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L