+ Responder ao Tópico



  1. #1

    Padrão Squid.conf..dando erro

    Pessoal este squid.conf ta dando uns erros muito loucos..podem me ajudar...
    Não quero bloquer nada só fazer o web cache com proxy transparente...
    Minha rede é 10.1.1.0/24
    Valeu pessoal abração

    #Squid.conf

    http_port 10.1.1.1:3128

    hierarchy_stoplist cgi-bin ?

    cache_mem 32 MB

    cache_swap_low 85

    cache_swap_high 90

    maximum_object_size 8192 KB

    ipcache_low 80

    ipcache_high 90

    cache_dir ufs /var/spool/squid/cache 1024 16 256

    cache_access_log /var/log/squid/access.log

    cache_log /var/log/squid/cache.log

    cache_store_log /var/log/squid/store.log

    ftp_user Squid@

    # ACLS

    #acl all src 0.0.0.0/0.0.0.0

    acl redeinterna src 10.1.1.0/24

    acl manager proto cache_object

    acl localhost src 127.0.0.1/255.255.255.255

    acl SSL_ports port 443 563

    acl Safe_ports port 80 # http

    acl Safe_ports port 21 # ftp

    acl Safe_ports port 443 563 # https, snews #portas criptografadas usadas em bancos. n eh aconselhavel passar pelo proxy

    acl Safe_ports port 70 # gopher

    acl Safe_ports port 210 # wais

    acl Safe_ports port 1025-65535 # unregistered ports

    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 CONNECT method CONNECT

    http_access allow redeinterna

    http_access allow manager localhost

    http_access deny manager

    http_access deny !Safe_ports

    http_access deny CONNECT !SSL_ports

    http_access allow localhost

    #http_access deny all

    visible_hostname on

    httpd_accel_host virtual

    httpd_accel_port 80

    httpd_accel_with_proxy on

    httpd_accel_uses_host_header on

  2. #2
    wrochal
    Visitante

    Padrão Squid.conf..dando erro

    Caro,

    Execute squid -X e mande ai o erro...

    Falou,

  3. #3

    Padrão Squid.conf..dando erro

    Citação Postado originalmente por wrochal2002
    Caro,

    Execute squid -X e mande ai o erro...

    Falou,
    Ai vai o erro do squid -z e no post abaixo o do squid -X(Este é enorme)
    [root@magia root]# squid -z
    2004/12/30 10:35:58| squid.conf line 49: http_reply_access allow all
    2004/12/30 10:35:58| aclParseAccessLine: ACL name 'all' not found.
    2004/12/30 10:35:58| squid.conf line 49: http_reply_access allow all
    2004/12/30 10:35:58| aclParseAccessLine: Access line contains no ACL's, skipping
    2004/12/30 10:35:58| squid.conf line 50: icp_access deny all
    2004/12/30 10:35:58| aclParseAccessLine: ACL name 'all' not found.
    2004/12/30 10:35:58| squid.conf line 50: icp_access deny all
    2004/12/30 10:35:58| aclParseAccessLine: Access line contains no ACL's, skipping
    2004/12/30 10:35:58| squid.conf line 51: reply_body_max_size 0 allow all
    2004/12/30 10:35:58| aclParseAccessLine: ACL name 'all' not found.
    2004/12/30 10:35:58| squid.conf line 51: reply_body_max_size 0 allow all
    2004/12/30 10:35:58| aclParseAccessLine: Access line contains no ACL's, skipping
    2004/12/30 10:35:58| squid.conf line 53: snmp_access deny all
    2004/12/30 10:35:58| aclParseAccessLine: ACL name 'all' not found.
    2004/12/30 10:35:58| squid.conf line 53: snmp_access deny all
    2004/12/30 10:35:58| aclParseAccessLine: Access line contains no ACL's, skipping
    2004/12/30 10:35:58| Creating Swap Directories

  4. #4

    Padrão Squid.conf..dando erro

    Ai vai o do squid -X

    [root@magia root]# squid -X
    2004/12/30 10:33:08| Memory pools are 'off'; limit: 0.00 MB
    2004/12/30 10:33:08| cachemgrRegister: registered mem
    2004/12/30 10:33:08| cbdataInit
    2004/12/30 10:33:08| cachemgrRegister: registered cbdata
    2004/12/30 10:33:08| cachemgrRegister: registered events
    2004/12/30 10:33:08| cachemgrRegister: registered squidaio_counts
    2004/12/30 10:33:08| cachemgrRegister: registered coss
    2004/12/30 10:33:08| cachemgrRegister: registered diskd
    2004/12/30 10:33:08| diskd started
    2004/12/30 10:33:08| authSchemeAdd: adding basic
    2004/12/30 10:33:08| authSchemeAdd: adding ntlm
    2004/12/30 10:33:08| parse_line: ssl_unclean_shutdown off
    2004/12/30 10:33:08| parse_line: icp_port 3130
    2004/12/30 10:33:08| parse_line: udp_incoming_address 0.0.0.0
    2004/12/30 10:33:08| parse_line: udp_outgoing_address 255.255.255.255
    2004/12/30 10:33:08| parse_line: icp_query_timeout 0
    2004/12/30 10:33:08| parse_line: maximum_icp_query_timeout 2000
    2004/12/30 10:33:08| parse_line: mcast_icp_query_timeout 2000
    2004/12/30 10:33:08| parse_line: dead_peer_timeout 10 seconds
    2004/12/30 10:33:08| parse_line: cache_mem 8 MB
    2004/12/30 10:33:08| parse_line: cache_swap_low 90
    2004/12/30 10:33:08| parse_line: cache_swap_high 95
    2004/12/30 10:33:08| parse_line: maximum_object_size 4096 KB
    2004/12/30 10:33:08| parse_line: minimum_object_size 0 KB
    2004/12/30 10:33:08| parse_line: maximum_object_size_in_memory 8 KB
    2004/12/30 10:33:08| parse_line: ipcache_size 1024
    2004/12/30 10:33:08| parse_line: ipcache_low 90
    2004/12/30 10:33:08| parse_line: ipcache_high 95
    2004/12/30 10:33:08| parse_line: fqdncache_size 1024
    2004/12/30 10:33:08| parse_line: cache_replacement_policy lru
    2004/12/30 10:33:08| parse_line: memory_replacement_policy lru
    2004/12/30 10:33:08| parse_line: cache_access_log /var/log/squid/access.log
    2004/12/30 10:33:08| parse_line: cache_log /var/log/squid/cache.log
    2004/12/30 10:33:08| parse_line: cache_store_log /var/log/squid/store.log
    2004/12/30 10:33:08| parse_line: emulate_httpd_log off
    2004/12/30 10:33:08| parse_line: log_ip_on_direct on
    2004/12/30 10:33:08| parse_line: mime_table /etc/squid/mime.conf
    2004/12/30 10:33:08| parse_line: log_mime_hdrs off
    2004/12/30 10:33:08| parse_line: pid_filename /var/run/squid.pid
    2004/12/30 10:33:08| parse_line: debug_options ALL,1
    2004/12/30 10:33:08| parse_line: log_fqdn off
    2004/12/30 10:33:08| parse_line: client_netmask 255.255.255.255
    2004/12/30 10:33:08| parse_line: ftp_user Squid@
    2004/12/30 10:33:08| parse_line: ftp_list_width 32
    2004/12/30 10:33:08| parse_line: ftp_passive on
    2004/12/30 10:33:08| parse_line: ftp_sanitycheck on
    2004/12/30 10:33:08| parse_line: ftp_telnet_protocol on
    2004/12/30 10:33:08| parse_line: dns_retransmit_interval 5 seconds
    2004/12/30 10:33:08| parse_line: dns_timeout 2 minutes
    2004/12/30 10:33:08| parse_line: hosts_file /etc/hosts
    2004/12/30 10:33:08| parse_line: diskd_program /usr/lib/squid/diskd
    2004/12/30 10:33:08| parse_line: unlinkd_program /usr/lib/squid/unlinkd
    2004/12/30 10:33:08| parse_line: redirect_children 5
    2004/12/30 10:33:08| parse_line: redirect_rewrites_host_header on
    2004/12/30 10:33:08| parse_line: authenticate_cache_garbage_interval 1 hour
    2004/12/30 10:33:08| parse_line: authenticate_ttl 1 hour
    2004/12/30 10:33:08| parse_line: authenticate_ip_ttl 0 seconds
    2004/12/30 10:33:08| parse_line: wais_relay_port 0
    2004/12/30 10:33:08| parse_line: request_header_max_size 10 KB
    2004/12/30 10:33:08| parse_line: request_body_max_size 0 KB
    2004/12/30 10:33:08| parse_line: quick_abort_min 16 KB
    2004/12/30 10:33:08| parse_line: quick_abort_max 16 KB
    2004/12/30 10:33:08| parse_line: quick_abort_pct 95
    2004/12/30 10:33:08| parse_line: negative_ttl 5 minutes
    2004/12/30 10:33:08| parse_line: positive_dns_ttl 6 hours
    2004/12/30 10:33:08| parse_line: negative_dns_ttl 1 minute
    2004/12/30 10:33:08| parse_line: range_offset_limit 0 KB
    2004/12/30 10:33:08| parse_line: forward_timeout 4 minutes
    2004/12/30 10:33:08| parse_line: connect_timeout 1 minute
    2004/12/30 10:33:08| parse_line: peer_connect_timeout 30 seconds
    2004/12/30 10:33:08| parse_line: read_timeout 15 minutes
    2004/12/30 10:33:08| parse_line: request_timeout 5 minutes
    2004/12/30 10:33:08| parse_line: persistent_request_timeout 1 minute
    2004/12/30 10:33:08| parse_line: client_lifetime 1 day
    2004/12/30 10:33:08| parse_line: half_closed_clients on
    2004/12/30 10:33:08| parse_line: pconn_timeout 120 seconds
    2004/12/30 10:33:08| parse_line: shutdown_lifetime 30 seconds
    2004/12/30 10:33:08| parse_line: cache_mgr root
    2004/12/30 10:33:08| parse_line: cache_effective_user squid
    2004/12/30 10:33:08| parse_line: cache_effective_group squid
    2004/12/30 10:33:08| parse_line: announce_period 0
    2004/12/30 10:33:08| parse_line: announce_host tracker.ircache.net
    2004/12/30 10:33:08| parse_line: announce_port 3131
    2004/12/30 10:33:08| parse_line: httpd_accel_port 80
    2004/12/30 10:33:08| parse_line: httpd_accel_single_host off
    2004/12/30 10:33:08| parse_line: httpd_accel_with_proxy off
    2004/12/30 10:33:08| parse_line: httpd_accel_uses_host_header off
    2004/12/30 10:33:08| parse_line: logfile_rotate 0
    2004/12/30 10:33:08| parse_line: tcp_recv_bufsize 0 bytes
    2004/12/30 10:33:08| parse_line: memory_pools on
    2004/12/30 10:33:08| parse_line: forwarded_for on
    2004/12/30 10:33:08| parse_line: log_icp_queries on
    2004/12/30 10:33:08| parse_line: icp_hit_stale off
    2004/12/30 10:33:08| parse_line: minimum_direct_hops 4
    2004/12/30 10:33:08| parse_line: minimum_direct_rtt 400
    2004/12/30 10:33:08| parse_line: store_avg_object_size 13 KB
    2004/12/30 10:33:08| parse_line: store_objects_per_bucket 20
    2004/12/30 10:33:08| parse_line: client_db on
    2004/12/30 10:33:08| parse_line: netdb_low 900
    2004/12/30 10:33:08| parse_line: netdb_high 1000
    2004/12/30 10:33:08| parse_line: netdb_ping_period 5 minutes
    2004/12/30 10:33:08| parse_line: query_icmp off
    2004/12/30 10:33:08| parse_line: test_reachability off
    2004/12/30 10:33:08| parse_line: buffered_logs off
    2004/12/30 10:33:08| parse_line: reload_into_ims off
    2004/12/30 10:33:08| parse_line: icon_directory /usr/share/squid/icons
    2004/12/30 10:33:08| parse_line: short_icon_urls off
    2004/12/30 10:33:08| parse_line: error_directory /etc/squid/errors
    2004/12/30 10:33:08| parse_line: maximum_single_addr_tries 1
    2004/12/30 10:33:08| parse_line: snmp_port 0
    2004/12/30 10:33:08| parse_line: snmp_incoming_address 0.0.0.0
    2004/12/30 10:33:08| parse_line: snmp_outgoing_address 255.255.255.255
    2004/12/30 10:33:08| parse_line: as_whois_server whois.ra.net
    2004/12/30 10:33:08| parse_line: wccp_router 0.0.0.0
    2004/12/30 10:33:08| parse_line: wccp_version 4
    2004/12/30 10:33:08| parse_line: wccp_incoming_address 0.0.0.0
    2004/12/30 10:33:08| parse_line: wccp_outgoing_address 255.255.255.255
    2004/12/30 10:33:08| parse_line: delay_pools 0
    2004/12/30 10:33:08| parse_line: delay_initial_bucket_level 50
    2004/12/30 10:33:08| parse_line: incoming_icp_average 6
    2004/12/30 10:33:08| parse_line: incoming_http_average 4
    2004/12/30 10:33:08| parse_line: incoming_dns_average 4
    2004/12/30 10:33:08| parse_line: min_icp_poll_cnt 8
    2004/12/30 10:33:08| parse_line: min_dns_poll_cnt 8
    2004/12/30 10:33:08| parse_line: min_http_poll_cnt 8
    2004/12/30 10:33:08| parse_line: max_open_disk_fds 0
    2004/12/30 10:33:08| parse_line: offline_mode off
    2004/12/30 10:33:08| parse_line: uri_whitespace strip
    2004/12/30 10:33:08| parse_line: nonhierarchical_direct on
    2004/12/30 10:33:08| parse_line: prefer_direct off
    2004/12/30 10:33:08| parse_line: strip_query_terms on
    2004/12/30 10:33:08| parse_line: redirector_bypass off
    2004/12/30 10:33:08| parse_line: ignore_unknown_nameservers on
    2004/12/30 10:33:08| parse_line: client_persistent_connections on
    2004/12/30 10:33:08| parse_line: server_persistent_connections on
    2004/12/30 10:33:08| parse_line: detect_broken_pconn off
    2004/12/30 10:33:08| parse_line: pipeline_prefetch off
    2004/12/30 10:33:08| parse_line: request_entities off
    2004/12/30 10:33:08| parse_line: high_response_time_warning 0
    2004/12/30 10:33:08| parse_line: high_page_fault_warning 0
    2004/12/30 10:33:08| parse_line: high_memory_warning 0
    2004/12/30 10:33:08| parse_line: store_dir_select_algorithm least-load
    2004/12/30 10:33:08| parse_line: ie_refresh off
    2004/12/30 10:33:08| parse_line: vary_ignore_expire off
    2004/12/30 10:33:08| parse_line: sleep_after_fork 0
    '004/12/30 10:33:08| Processing: 'http_port 10.1.1.1:3128
    2004/12/30 10:33:08| parse_line: http_port 10.1.1.1:3128
    '004/12/30 10:33:08| Processing: 'hierarchy_stoplist cgi-bin ?
    2004/12/30 10:33:08| parse_line: hierarchy_stoplist cgi-bin ?
    '004/12/30 10:33:08| Processing: 'cache_mem 32 MB
    2004/12/30 10:33:08| parse_line: cache_mem 32 MB
    '004/12/30 10:33:08| Processing: 'cache_swap_low 85
    2004/12/30 10:33:08| parse_line: cache_swap_low 85
    '004/12/30 10:33:08| Processing: 'cache_swap_high 90
    2004/12/30 10:33:08| parse_line: cache_swap_high 90
    '004/12/30 10:33:08| Processing: 'maximum_object_size 8192 KB
    2004/12/30 10:33:08| parse_line: maximum_object_size 8192 KB
    '004/12/30 10:33:08| Processing: 'ipcache_low 80
    2004/12/30 10:33:08| parse_line: ipcache_low 80
    '004/12/30 10:33:08| Processing: 'ipcache_high 90
    2004/12/30 10:33:08| parse_line: ipcache_high 90
    2004/12/30 10:33:08| Processing: 'cache_dir ufs /var/spool/squid/cache 1024 16 2 '6
    2004/12/30 10:33:08| parse_line: cache_dir ufs /var/spool/squid/cache 1024 16 25 6
    '004/12/30 10:33:08| Processing: 'cache_access_log /var/log/squid/access.log
    2004/12/30 10:33:08| parse_line: cache_access_log /var/log/squid/access.log
    '004/12/30 10:33:08| Processing: 'cache_log /var/log/squid/cache.log
    2004/12/30 10:33:08| parse_line: cache_log /var/log/squid/cache.log
    '004/12/30 10:33:08| Processing: 'cache_store_log /var/log/squid/store.log
    2004/12/30 10:33:08| parse_line: cache_store_log /var/log/squid/store.log
    '004/12/30 10:33:08| Processing: 'ftp_user Squid@
    2004/12/30 10:33:08| parse_line: ftp_user Squid@
    '004/12/30 10:33:08| Processing: 'acl redeinterna src 10.1.1.0/24
    2004/12/30 10:33:08| parse_line: acl redeinterna src 10.1.1.0/24
    2004/12/30 10:33:08| aclParseAclLine: Creating ACL 'redeinterna'
    2004/12/30 10:33:08| aclParseIpData: 10.1.1.0/24
    '004/12/30 10:33:08| Processing: 'acl manager proto cache_object
    2004/12/30 10:33:08| parse_line: acl manager proto cache_object
    2004/12/30 10:33:08| aclParseAclLine: Creating ACL 'manager'
    '004/12/30 10:33:08| Processing: 'acl localhost src 127.0.0.1/255.255.255.255
    2004/12/30 10:33:08| parse_line: acl localhost src 127.0.0.1/255.255.255.255
    2004/12/30 10:33:08| aclParseAclLine: Creating ACL 'localhost'
    2004/12/30 10:33:08| aclParseIpData: 127.0.0.1/255.255.255.255
    '004/12/30 10:33:08| Processing: 'acl SSL_ports port 443 563
    2004/12/30 10:33:08| parse_line: acl SSL_ports port 443 563
    2004/12/30 10:33:08| aclParseAclLine: Creating ACL 'SSL_ports'
    '004/12/30 10:33:08| Processing: 'acl Safe_ports port 80 # http
    2004/12/30 10:33:08| parse_line: acl Safe_ports port 80 # http
    2004/12/30 10:33:08| aclParseAclLine: Creating ACL 'Safe_ports'
    '004/12/30 10:33:08| Processing: 'acl Safe_ports port 21 # ftp
    2004/12/30 10:33:08| parse_line: acl Safe_ports port 21 # ftp
    2004/12/30 10:33:08| aclParseAclLine: Appending to 'Safe_ports'
    2004/12/30 10:33:08| Processing: 'acl Safe_ports port 443 563 # https, snews '#portas criptografadas usadas em bancos. n eh aconselhavel passar pelo proxy
    2004/12/30 10:33:08| parse_line: acl Safe_ports port 443 563 # https, snews #portas criptografadas usadas em bancos. n eh aconselhavel passar pelo proxy
    2004/12/30 10:33:08| aclParseAclLine: Appending to 'Safe_ports'
    '004/12/30 10:33:08| Processing: 'acl Safe_ports port 70 # gopher
    2004/12/30 10:33:08| parse_line: acl Safe_ports port 70 # gopher
    2004/12/30 10:33:08| aclParseAclLine: Appending to 'Safe_ports'
    '004/12/30 10:33:08| Processing: 'acl Safe_ports port 210 # wais
    2004/12/30 10:33:08| parse_line: acl Safe_ports port 210 # wais
    2004/12/30 10:33:08| aclParseAclLine: Appending to 'Safe_ports'
    2004/12/30 10:33:08| Processing: 'acl Safe_ports port 1025-65535 # unregistered 'ports
    2004/12/30 10:33:08| parse_line: acl Safe_ports port 1025-65535 # unregistered ports
    2004/12/30 10:33:08| aclParseAclLine: Appending to 'Safe_ports'
    '004/12/30 10:33:08| Processing: 'acl Safe_ports port 280 # http-mgmt
    2004/12/30 10:33:08| parse_line: acl Safe_ports port 280 # http-mgmt
    2004/12/30 10:33:08| aclParseAclLine: Appending to 'Safe_ports'
    '004/12/30 10:33:08| Processing: 'acl Safe_ports port 488 # gss-http
    2004/12/30 10:33:08| parse_line: acl Safe_ports port 488 # gss-http
    2004/12/30 10:33:08| aclParseAclLine: Appending to 'Safe_ports'
    '004/12/30 10:33:08| Processing: 'acl Safe_ports port 591 # filemaker
    2004/12/30 10:33:08| parse_line: acl Safe_ports port 591 # filemaker
    2004/12/30 10:33:08| aclParseAclLine: Appending to 'Safe_ports'
    2004/12/30 10:33:08| Processing: 'acl Safe_ports port 777 # multiling ht 'p
    2004/12/30 10:33:08| parse_line: acl Safe_ports port 777 # multiling htt p
    2004/12/30 10:33:08| aclParseAclLine: Appending to 'Safe_ports'
    '004/12/30 10:33:08| Processing: 'acl CONNECT method CONNECT
    2004/12/30 10:33:08| parse_line: acl CONNECT method CONNECT
    2004/12/30 10:33:08| aclParseAclLine: Creating ACL 'CONNECT'
    '004/12/30 10:33:08| Processing: 'http_access allow redeinterna
    2004/12/30 10:33:08| parse_line: http_access allow redeinterna
    2004/12/30 10:33:08| aclParseAccessLine: looking for ACL name 'redeinterna'
    '004/12/30 10:33:08| Processing: 'http_access allow manager localhost
    2004/12/30 10:33:08| parse_line: http_access allow manager localhost
    2004/12/30 10:33:08| aclParseAccessLine: looking for ACL name 'manager'
    2004/12/30 10:33:08| aclParseAccessLine: looking for ACL name 'localhost'
    '004/12/30 10:33:08| Processing: 'http_access deny manager
    2004/12/30 10:33:08| parse_line: http_access deny manager
    2004/12/30 10:33:08| aclParseAccessLine: looking for ACL name 'manager'
    '004/12/30 10:33:08| Processing: 'http_access deny !Safe_ports
    2004/12/30 10:33:08| parse_line: http_access deny !Safe_ports
    2004/12/30 10:33:08| aclParseAccessLine: looking for ACL name 'Safe_ports'
    '004/12/30 10:33:08| Processing: 'http_access deny CONNECT !SSL_ports
    2004/12/30 10:33:08| parse_line: http_access deny CONNECT !SSL_ports
    2004/12/30 10:33:08| aclParseAccessLine: looking for ACL name 'CONNECT'
    2004/12/30 10:33:08| aclParseAccessLine: looking for ACL name 'SSL_ports'
    '004/12/30 10:33:08| Processing: 'http_access allow localhost
    2004/12/30 10:33:08| parse_line: http_access allow localhost
    2004/12/30 10:33:08| aclParseAccessLine: looking for ACL name 'localhost'
    '004/12/30 10:33:08| Processing: 'visible_hostname on
    2004/12/30 10:33:08| parse_line: visible_hostname on
    '004/12/30 10:33:08| Processing: 'httpd_accel_host virtual
    2004/12/30 10:33:08| parse_line: httpd_accel_host virtual
    '004/12/30 10:33:08| Processing: 'httpd_accel_port 80
    2004/12/30 10:33:08| parse_line: httpd_accel_port 80
    '004/12/30 10:33:08| Processing: 'httpd_accel_with_proxy on
    2004/12/30 10:33:08| parse_line: httpd_accel_with_proxy on
    '004/12/30 10:33:08| Processing: 'httpd_accel_uses_host_header on
    2004/12/30 10:33:08| parse_line: httpd_accel_uses_host_header on
    '004/12/30 10:33:08| Processing: '
    2004/12/30 10:33:08| parse_line:
    2004/12/30 10:33:08| parse_line: http_reply_access allow all
    2004/12/30 10:33:08| aclParseAccessLine: looking for ACL name 'all'
    2004/12/30 10:33:08| squid.conf line 49: http_reply_access allow all
    2004/12/30 10:33:08| aclParseAccessLine: ACL name 'all' not found.
    2004/12/30 10:33:08| squid.conf line 49: http_reply_access allow all
    2004/12/30 10:33:08| aclParseAccessLine: Access line contains no ACL's, skipping
    2004/12/30 10:33:08| cbdataFree: 0x883b130
    2004/12/30 10:33:08| cbdataFree: Freeing 0x883b130
    2004/12/30 10:33:08| parse_line: icp_access deny all
    2004/12/30 10:33:08| aclParseAccessLine: looking for ACL name 'all'
    2004/12/30 10:33:08| squid.conf line 50: icp_access deny all
    2004/12/30 10:33:08| aclParseAccessLine: ACL name 'all' not found.
    2004/12/30 10:33:08| squid.conf line 50: icp_access deny all
    2004/12/30 10:33:08| aclParseAccessLine: Access line contains no ACL's, skipping
    2004/12/30 10:33:08| cbdataFree: 0x883b130
    2004/12/30 10:33:08| cbdataFree: Freeing 0x883b130
    2004/12/30 10:33:08| parse_line: reply_body_max_size 0 allow all
    2004/12/30 10:33:08| aclParseAccessLine: looking for ACL name 'all'
    2004/12/30 10:33:08| squid.conf line 51: reply_body_max_size 0 allow all
    2004/12/30 10:33:08| aclParseAccessLine: ACL name 'all' not found.
    2004/12/30 10:33:08| squid.conf line 51: reply_body_max_size 0 allow all
    2004/12/30 10:33:08| aclParseAccessLine: Access line contains no ACL's, skipping
    2004/12/30 10:33:08| cbdataFree: 0x883a748
    2004/12/30 10:33:08| cbdataFree: Freeing 0x883a748
    2004/12/30 10:33:08| parse_line: dns_testnames netscape.com internic.net nlanr.n et microsoft.com
    2004/12/30 10:33:08| parse_line: snmp_access deny all
    2004/12/30 10:33:08| aclParseAccessLine: looking for ACL name 'all'
    2004/12/30 10:33:08| squid.conf line 53: snmp_access deny all
    2004/12/30 10:33:08| aclParseAccessLine: ACL name 'all' not found.
    2004/12/30 10:33:08| squid.conf line 53: snmp_access deny all
    2004/12/30 10:33:08| aclParseAccessLine: Access line contains no ACL's, skipping
    2004/12/30 10:33:08| cbdataFree: 0x883a748
    2004/12/30 10:33:08| cbdataFree: Freeing 0x883a748
    2004/12/30 10:33:08| parse_line: coredump_dir none
    2004/12/30 10:33:08| cachemgrRegister: registered config

  5. #5
    Visitante

    Padrão Squid.conf..dando erro

    Falai fera

    no 1º post q vc fez

    quando vc roda o squid -z, ele num ta achando essa ACL

    #acl all src 0.0.0.0/0.0.0.0

    q ta dento do squid.conf e esta comentada,

    descomentai e ve se funfa, se num funfa, posta o erro ai...

    espero ter ajudado.[/b]

  6. #6
    wrochal
    Visitante

    Padrão Squid.conf..dando erro

    Caro,

    Execute squid -z e depois RunCache &

    Falou,

  7. #7

    Padrão Squid.conf..dando erro

    Um amigo me mandou este aqui....ta rodando bem.. mas como eu sei q o Squid está jogando fora os arquivos mas antigos qndo chega perto de estourar o limite de espaço dele???? ta faltando está regra???

    Amigo Wrochal2002 o comando squid -z funciona agora o RunCache & da erro de comando inesistente....estranho isso???
    Uso FC2...

    Grato a todos q me ajudaram...

    Abraço

    #Squid.conf

    cache_effective_user squid
    cache_efective_group squid

    http_port 3128

    hierarchy_stoplist cgi-bin ?
    acl QUERY urlpath_regex cgi-bin \?
    no_cache deny QUERY

    # memoria usada:
    cache_mem 32 MB

    maximum_object_size 4192 KB
    minimum_object_size 0 KB

    maximum_object_size_in_memory 100 KB

    # disco usado:
    cache_dir ufs /var/spool/squid/cache 5000 16 256

    cache_access_log /var/log/squid/access.log
    cache_log /var/log/squid/cache.log
    cache_store_log /var/log/squid/store.log

    auth_param basic children 5
    auth_param basic realm Squid proxy-caching web server
    auth_param basic credentialsttl 2 hours

    refresh_pattern ^ftp: 1440 20% 10080
    refresh_pattern ^gopher: 1440 0% 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 rede src 192.168.0.0/255.255.255.0

    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 563 # https, snews
    acl Safe_ports port 70 # gopher
    acl Safe_ports port 210 # wais
    acl Safe_ports port 1025-65535 # unregistered ports
    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 CONNECT method CONNECT

    http_access allow localhost
    http_access allow rede

    http_access allow manager localhost
    http_access deny manager
    http_access deny !Safe_ports
    http_access deny CONNECT !SSL_ports
    http_access deny all

    http_reply_access allow all

    icp_access allow all

    httpd_accel_port 80
    httpd_accel_host virtual
    httpd_accel_with_proxy on
    httpd_accel_uses_host_header on

  8. #8

    Padrão Squid.conf..dando erro

    Pessoal resolvi o lance das confs do squid ta funcionando lindo,...mas ai vai a questão...como controlar o tamanho do cache do squid.... já fiz vários teste e ele passa do tamanho indicado no :
    cache_dir ufs /var/spool/squid/cache 50 16 256
    Coloquei 50megas para poder testar..e ele não esvazia...já está com 60 megas....Alguem sabe como controlar isso...
    Abraço...

  9. #9

    Padrão Squid.conf..dando erro

    Pessoal resolvi o lance.... não existe problema no meu squid.conf para controlar o cache.
    Estava vendo o tamanho do diretório de cache com du, mas existe um detalhe, só na criação dos 4096 ( 16x256) diretorios do cache já são consumidos 17 megas.
    Alem de que existe um arquivo chamado .swap.data que contem as informações de cache, quanto maior o cache maior o tamanho que esse arquivo pode chegar, por isso que o FAQ do squid recomenda uma margem de 20% na partição onde ficara o cache do squid.
    Pela minha configuração de teste o tamanho do cache chegou a 65 megas depois disso parou de crescer e começou a controlar o cache jogando fora os mas antigos..
    OBS:O valor de teste foi 50megas.
    Obrigado a todos q me ajudaram....