Results 1 to 3 of 3

Thread: Confiquring Squid

  1. #1

    Confiquring Squid

    I am a newbie, and am trying to configure Squid. I am using Kantotix, 3.5.2 KDE all updated to latest. What I need to do is set it up for Dansguardian, and talking to a WinXP box (192.168.1.150), all behind a router. At this moment squid is working, DG is turning up a parent proxy error, and Firefox is blocked (setup it up manually for 127.0.0.1 port 3128). Obviously I am doing something wrong with squid. Here is my list of uncommented lines and any suggests for what I am missing or simplify and get rid of lines that I do not need. Any help will greatly be appreciated. I am rolling snake eyes as far as resolving this problem.
    http_port 3128
    udp_incoming_address 192.168.7.151
    udp_outgoing_address 255.255.255.255
    hierarchy_stoplist cgi-bin ?
    acl QUERY urlpath_regex cgi-bin \?
    no_cache deny QUERY
    cache_dir ufs /var/spool/squid 100 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
    emulate_httpd_log off
    log_ip_on_direct on
    client_netmask 255.255.255.0
    hosts_file /etc/hosts
    refresh_pattern ^ftp: 1440 20% 10080
    refresh_pattern ^gopher: 1440 0% 1440
    refresh_pattern . 0 20% 4320
    acl all src 127.0.0.1/255.255.255.0
    acl manager proto cache_object
    acl localhost src 127.0.0.1/255.255.255.0
    acl to_localhost dst 127.0.0.1/32
    acl SSL_ports port 443 563 # https, snews
    acl SSL_ports port 873 # rsync
    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 Safe_ports port 631 # cups
    acl Safe_ports port 873 # rsync
    acl Safe_ports port 901 # SWAT
    acl purge method PURGE
    acl CONNECT method CONNECT
    http_access allow manager localhost
    http_access deny manager
    http_access allow purge localhost
    http_access deny purge
    http_access deny !Safe_ports
    http_access deny CONNECT !SSL_ports
    http_access deny to_localhost
    acl our_networks src 192.168.1.150/24
    http_access allow our_networks
    http_access allow localhost
    http_access deny all
    http_reply_access allow all
    icp_access allow all
    unique_hostname **(same name as in hosts)
    visible_hostname **(same name as in hosts)
    httpd_accel_port 80
    httpd_accel_single_host on
    httpd_accel_with_proxy on
    httpd_accel_uses_host_header off
    coredump_dir /var/spool/squid
    cache_effective_group squid
    cache_effective_user squid

  2. #2
    Did some more searching and found my solution and explenations here: http://www.linuxsolved.com/forums/ftopic116.html

  3. #3
    That's a good thread to keep in my Squid bookmarks. Thanks!

Similar Threads

  1. Replies: 2
    Last Post: 05-26-2014, 09:12 PM
  2. Squid
    By zmunawar in forum Redhat / Fedora
    Replies: 5
    Last Post: 01-22-2007, 03:55 AM
  3. How Much RAM for Squid
    By Pleiades in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 05-23-2006, 05:00 AM
  4. squid acl
    By rajuvarghese in forum Linux - General Topics
    Replies: 1
    Last Post: 01-25-2006, 09:59 AM
  5. Squid
    By Ashcrow in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 02-03-2002, 05:12 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •