Squid Configuration Need Help!

Discussion in 'Server Operation' started by fordominique, Nov 17, 2009.

  1. fordominique

    fordominique New Member

    Hello there, I'm from germany,
    I try to build a transparent proxy server on Ubuntu with squid. But my english isn't good enough to understand all steps... and now I'm fighting with one problem and can't solve it...

    Here is the error-message:
    2009/11/17 15:22:03| parseConfigFile: squid.conf:66 unrecognized: 'wais_relay_port'
    2009/11/17 15:22:03| parseConfigFile: squid.conf:99 unrecognized: 'incoming_icp_average'
    2009/11/17 15:22:03| parseConfigFile: squid.conf:100 unrecognized: 'incoming_http_average'
    2009/11/17 15:22:03| parseConfigFile: squid.conf:101 unrecognized: 'incoming_dns_average'
    2009/11/17 15:22:03| parseConfigFile: squid.conf:102 unrecognized: 'min_icp_poll_cnt'
    2009/11/17 15:22:03| parseConfigFile: squid.conf:103 unrecognized: 'min_dns_poll_cnt'
    2009/11/17 15:22:03| parseConfigFile: squid.conf:104 unrecognized: 'min_http_poll_cnt'
    FATAL: Error Directory /usr/share/squid/errors/English: (2) No such file or directory
    Squid Cache (Version 2.7.STABLE6): Terminated abnormally.
    CPU Usage: 0.004 seconds = 0.004 user + 0.000 sys
    Maximum Resident Size: 0 KB
    Page faults with physical i/o: 0
    Aborted (core dumped)

    what is going wrong? please help me, need this server to have contact with my friends in belgium because the admin of my house block nearly every port...! PS: is it possible to attach a xbox360 with this proxy to the internet?

    PPS: use a simple english, please...!
  2. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/squid/squid.conf?
  3. fordominique

    fordominique New Member

    you mean this?

    http_port transparent

    visible_hostname host.example.org
    mail_from [email protected]
    icp_port 3130 proxy-only
    cache_replacement_policy lru
    memory_replacement_policy lru
    cache_dir ufs /var/spool/squid 100 16 256
    hierarchy_stoplist cgi-bin ?
    access_log /var/log/squid/access.log squid
    cache_log /var/log/squid/cache.log
    cache_store_log /var/log/squid/store.log
    pid_filename /var/run/squid.pid
    hosts_file /etc/hosts
    icon_directory /usr/share/squid/icons
    error_directory /usr/share/squid/errors/English
    diskd_program /usr/lib/squid/diskd-daemon
    unlinkd_program /usr/lib/squid/unlinkd
    debug_options ALL,1
    ftp_user [email protected]
    uri_whitespace strip
    cache_effective_user squid
    cache_effective_group squid
    cache_mgr root
    mail_program mail
    umask 027
    announce_host tracker.ircache.net
    as_whois_server whois.ra.net
    store_dir_select_algorithm least-load
    coredump_dir /var/spool/squid
    icp_query_timeout 0
    maximum_icp_query_timeout 2000
    mcast_icp_query_timeout 2000
    dead_peer_timeout 10 seconds
    forward_timeout 4 minutes
    connect_timeout 1 minutes
    peer_connect_timeout 30 seconds
    read_timeout 15 minutes
    request_timeout 5 minutes
    persistent_request_timeout 1 minutes
    pconn_timeout 120 seconds
    ident_timeout 10 seconds
    dns_timeout 2 minutes
    dns_retransmit_interval 5 seconds
    snmp_port 0
    cache_mem 8 MB
    cache_swap_low 90
    cache_swap_high 95
    maximum_object_size 4096 KB
    minimum_object_size 0 KB
    maximum_object_size_in_memory 8 KB
    ipcache_size 1024
    ipcache_low 90
    ipcache_high 95
    fqdncache_size 1024
    ftp_list_width 32
    memory_pools_limit 5 MB
    wais_relay_port 0
    request_header_max_size 20 KB
    request_body_max_size 0 KB
    quick_abort_min 16 KB
    quick_abort_max 16 KB
    quick_abort_pct 95
    read_ahead_gap 16 KB
    negative_ttl 5 minutes
    positive_dns_ttl 6 seconds
    negative_dns_ttl 1 seconds
    range_offset_limit 0 KB
    refresh_stale_hit 0
    client_lifetime 1 day
    shutdown_lifetime 30 seconds
    reply_header_max_size 20 KB
    announce_period 0
    announce_port 3131
    logfile_rotate 0
    tcp_recv_bufsize 0 bytes
    minimum_direct_hops 4
    minimum_direct_rtt 400
    store_avg_object_size 13 KB
    store_objects_per_bucket 20
    netdb_low 900
    netdb_high 1000
    netdb_ping_period 5 minutes
    maximum_single_addr_tries 1
    wccp_version 4
    wccp2_forwarding_method 1
    wccp2_return_method 1
    wccp2_assignment_method 1
    wccp2_service standard 0
    wccp2_weight 10000
    incoming_icp_average 6
    incoming_http_average 4
    incoming_dns_average 4
    min_icp_poll_cnt 8
    min_dns_poll_cnt 8
    min_http_poll_cnt 8
    max_open_disk_fds 0
    digest_bits_per_entry 5
    digest_rebuild_period 1 seconds
    digest_rewrite_period 1 seconds
    digest_swapout_chunk_size 4096 bytes
    digest_rebuild_chunk_percentage 10
    high_response_time_warning 0
    high_page_fault_warning 0
    high_memory_warning 0
    sleep_after_fork 0
    minimum_expiry_time 60 seconds
    max_filedesc 1024
    authenticate_cache_garbage_interval 1 seconds
    authenticate_ttl 1 seconds
    authenticate_ip_ttl 0
    check_hostnames on
    dns_defnames off
    emulate_httpd_log off
    log_ip_on_direct on
    log_mime_hdrs off
    log_fqdn off
    ftp_passive on
    ftp_sanitycheck on
    ftp_telnet_protocol on
    allow_underscore on
    memory_pools on
    acl_uses_indirect_client on
    half_closed_clients on
    httpd_suppress_version_string off
    delay_pool_uses_indirect_client on
    log_uses_indirect_client on
    via on
    forwarded_for on
    log_icp_queries on
    httpd_accel_no_pmtu_disc off
    client_db on
    icp_hit_stale off
    query_icmp off
    test_reachability off
    buffered_logs off
    reload_into_ims off
    global_internal_static on
    short_icon_urls off
    offline_mode off
    nonhierarchical_direct on
    prefer_direct off
    strip_query_terms on
    redirector_bypass off
    ignore_unknown_nameservers on
    client_persistent_connections on
    server_persistent_connections on
    persistent_connection_after_error off
    detect_broken_pconn off
    balance_on_multiple_ip on
    pipeline_prefetch off
    request_entities off
    ie_refresh off
    vary_ignore_expire off
    relaxed_header_parser on
    cache_vary on
    retry_on_error off
    collapsed_forwarding off
    wccp2_rebuild_wait on
    digest_generation on

    acl all src
    acl our_networks src
    acl localhost src
    acl to_localhost dst
    acl manager proto cache_object
    acl QUERY urlpath_regex cgi-bin \?
    acl apache rep_header Server ^Apache
    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 # 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 our_networks
    http_reply_access allow all
    broken_vary_encoding allow apache
    icp_access allow all
    miss_access allow all
    reply_body_max_size 0 allow all
    http_access allow all
    never_direct allow all
    http_access allow all
    never_direct allow all
    never_direct allow all
    http_access allow all
    http_access allow all
    never_direct allow all
    never_direct allow all
    http_access allow all
    never_direct allow all
    http_access deny !Safe_ports
    http_access deny CONNECT !SSL_ports
    http_access deny to_localhost
    follow_x_forwarded_for deny all
    ident_lookup_access deny all
    cache deny QUERY
    snmp_access deny all

Share This Page