O pessoal blz? Vocês poderiam me ajudar no meu squid. Abaixo: Primeiro a config dele. Depois o squid -d 10 E por ultimo as flags de configuração. Pergunta tem como iniciar o squid sem estar conectado? Porque uso ele no meu MacBook, com o OS X Leopard. # A startup item has been generated that will aid in # starting squid with launchd. It is disabled # by default. Execute the following command to start it, # and to cause it to launch at startup: # # sudo launchctl load -w /Library/LaunchDaemons/org. macports.Squid.plist # nano /opt/local/etc/squid/squid.conf http_port 127.0.0.1:8080 cache_dir aufs /Volumes/Arquivos/Cache/squid/cache/1 128 8 16 cache_dir aufs /Volumes/Arquivos/Cache/squid/cache/2 128 8 16 cache_dir aufs /Volumes/Arquivos/Cache/squid/cache/3 128 8 16 cache_dir aufs /Volumes/Arquivos/Cache/squid/cache/4 128 8 16 cache_dir aufs /Volumes/Arquivos/Cache/squid/cache/5 128 8 16 cache_dir aufs /Volumes/Arquivos/Cache/squid/cache/6 128 8 16 cache_dir aufs /Volumes/Arquivos/Cache/squid/cache/7 128 8 16 cache_dir aufs /Volumes/Arquivos/Cache/squid/cache/8 128 8 16 reference_age 1 week minimum_object_size 0 KB maximum_object_size 2048 KB cache_mem 128 MB maximum_object_size_in_memory 128 KB cache_swap_low 90 cache_swap_high 95 visible_hostname localhost cache_log /opt/local/var/squid/logs/cache.log cache_store_log none logfile_rotate 3 cache_effective_user squid cache_effective_group wheel acl all src 0/0 acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 acl SSL_ports port 443 563 8443 acl Safe_ports port 80 81 21 443 563 70 210 1025-65535 280 488 591 777 acl CONNECT method CONNECT #cache_peer 127.0.0.1 parent 8118 7 no-query default #never_direct allow all icp_access allow localhost icp_access deny all 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 always_direct deny all error_directory /opt/local/share/squid/errors/Portuguese coredump_dir /Volumes/Arquivos/Cache/squid/cache/ ####################################################################### sh-3.2# squid -d 10 sh-3.2# 2008/08/06 11:13:15| Starting Squid Cache version 2.7.STABLE3 for i686-apple-darwin9.4.0... 2008/08/06 11:13:15| Process ID 32721 2008/08/06 11:13:15| With 256 file descriptors available 2008/08/06 11:13:15| Using kqueue for the IO loop 2008/08/06 11:13:15| Performing DNS Tests... 2008/08/06 11:13:15| Successful DNS name lookup tests... 2008/08/06 11:13:15| ipcacheAddEntryFromHosts: Bad IP address 'fe80::1%lo0' 2008/08/06 11:13:15| DNS Socket created at 0.0.0.0, port 49878, FD 6 2008/08/06 11:13:15| Adding nameserver 127.0.0.1 from /etc/resolv.conf 2008/08/06 11:13:15| Adding nameserver 200.165.132.147 from /etc/resolv.conf 2008/08/06 11:13:15| Adding nameserver 200.149.55.150 from /etc/resolv.conf 2008/08/06 11:13:15| Adding nameserver 192.168.1.1 from /etc/resolv.conf 2008/08/06 11:13:15| Adding nameserver 0.0.0.0 from /etc/resolv.conf 2008/08/06 11:13:15| WARNING: Squid does not accept 0.0.0.0 in DNS server specifications. 2008/08/06 11:13:15| Will be using 127.0.0.1 instead, assuming you meant that DNS is running on the same machine 2008/08/06 11:13:15| Unlinkd pipe opened on FD 10 2008/08/06 11:13:15| Swap maxSize 1048576 KB, estimated 80659 objects 2008/08/06 11:13:15| Target number of buckets: 4032 2008/08/06 11:13:15| Using 8192 Store buckets 2008/08/06 11:13:15| Max Mem size: 131072 KB 2008/08/06 11:13:15| Max Swap size: 1048576 KB 2008/08/06 11:13:15| Store logging disabled 2008/08/06 11:13:15| Rebuilding storage in /Volumes/Arquivos/Cache/squid/cache/1 (DIRTY) 2008/08/06 11:13:15| Rebuilding storage in /Volumes/Arquivos/Cache/squid/cache/2 (DIRTY) 2008/08/06 11:13:15| Rebuilding storage in /Volumes/Arquivos/Cache/squid/cache/3 (DIRTY) 2008/08/06 11:13:15| Rebuilding storage in /Volumes/Arquivos/Cache/squid/cache/4 (DIRTY) 2008/08/06 11:13:15| Rebuilding storage in /Volumes/Arquivos/Cache/squid/cache/5 (DIRTY) 2008/08/06 11:13:15| Rebuilding storage in /Volumes/Arquivos/Cache/squid/cache/6 (DIRTY) 2008/08/06 11:13:15| Rebuilding storage in /Volumes/Arquivos/Cache/squid/cache/7 (DIRTY) 2008/08/06 11:13:15| Rebuilding storage in /Volumes/Arquivos/Cache/squid/cache/8 (DIRTY) 2008/08/06 11:13:15| Using Least Load store dir selection 2008/08/06 11:13:15| Set Current Directory to /Volumes/Arquivos/Cache/squid/cache/ 2008/08/06 11:13:15| Loaded Icons. 2008/08/06 11:13:15| Accepting proxy HTTP connections at 127.0.0.1, port 8080, FD 27. 2008/08/06 11:13:15| Accepting ICP messages at 0.0.0.0, port 3130, FD 28. 2008/08/06 11:13:15| WCCP Disabled. 2008/08/06 11:13:15| Ready to serve requests. 2008/08/06 11:13:15| Done reading /Volumes/Arquivos/Cache/squid/cache/1 swaplog (1047 entries) 2008/08/06 11:13:15| Done reading /Volumes/Arquivos/Cache/squid/cache/6 swaplog (1026 entries) 2008/08/06 11:13:15| Done reading /Volumes/Arquivos/Cache/squid/cache/7 swaplog (1128 entries) 2008/08/06 11:13:15| Done reading /Volumes/Arquivos/Cache/squid/cache/2 swaplog (1192 entries) 2008/08/06 11:13:15| Done reading /Volumes/Arquivos/Cache/squid/cache/4 swaplog (1190 entries) 2008/08/06 11:13:15| Done reading /Volumes/Arquivos/Cache/squid/cache/8 swaplog (1169 entries) 2008/08/06 11:13:15| Done reading /Volumes/Arquivos/Cache/squid/cache/3 swaplog (1246 entries) 2008/08/06 11:13:15| Done reading /Volumes/Arquivos/Cache/squid/cache/5 swaplog (1271 entries) 2008/08/06 11:13:15| Finished rebuilding storage from disk. 2008/08/06 11:13:15| 7265 Entries scanned 2008/08/06 11:13:15| 0 Invalid entries. 2008/08/06 11:13:15| 0 With invalid flags. 2008/08/06 11:13:15| 7240 Objects loaded. 2008/08/06 11:13:15| 0 Objects expired. 2008/08/06 11:13:15| 1868 Objects cancelled. 2008/08/06 11:13:15| 137 Duplicate URLs purged. 2008/08/06 11:13:15| 0 Swapfile clashes avoided. 2008/08/06 11:13:15| Took 0.7 seconds (10756.7 objects/sec). 2008/08/06 11:13:15| Beginning Validation Procedure 2008/08/06 11:13:15| Completed Validation Procedure 2008/08/06 11:13:15| Validated 5260 Entries 2008/08/06 11:13:15| store_swap_size = 78876k 2008/08/06 11:13:16| storeLateRelease: released 0 objects ############################################################################################ # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 37917 2008-06-29 09:51:16Z jmr@macports.org $ PortSystem 1.0 name squid version 2.7.STABLE3 set branch [join [lrange [split ${version} .] 0 1] .] categories net platforms darwin maintainers jmr openmaintainer description advanced proxy caching server for http, https, ftp, gopher long_description Squid is a high-performance proxy caching server for \ web clients, supporting FTP, gopher, and HTTP data \ objects. Unlike traditional caching software, Squid \ handles all requests in a single, non-blocking, \ I/O-driven process. Squid keeps meta data and \ especially hot objects cached in RAM, caches DNS \ lookups, supports non-blocking DNS lookups, and \ implements negative caching of failed requests. homepage http://www.squid-cache.org/ master_sites http://mirrors.24-7-solutions.net/pub/squid/squid-2/STABLE/ \ http://mirror.aarnet.edu.au/pub/squid/squid-2/STABLE/ \ http://mirrors.dotsrc.org/squid/squid-2/STABLE/ \ ftp://ftp.mirrorservice.org/sites/ftp.squid-cache.org/pub/squid-2/STABLE/ \ http://ftp.ring.gr.jp/archives/net/www/squid/squid-2/STABLE/ \ ftp://ftp.is.co.za/pub/squid/squid-2/STABLE/ \ ftp://ftp1.cl.squid-cache.org/pub/squid/squid-2/STABLE/ \ http://www.squid-cache.org/Versions/v2/${branch}/ \ ftp://ftp.squid-cache.org/pub/squid-2/STABLE/ checksums md5 9756d9cf9c197356346d1f931046d3a4 \ sha1 d2797e569f87f49e00cf8504db55172f32c686ce \ rmd160 e0fbd800e400ecb32135e7618dcbb11b462c6e2b use_bzip2 yes patchfiles patch-cf.data.pre.diff depends_lib port:openssl port:zlib platform darwin 9 { patchfiles-append patch-configure.diff } configure.args --with-pthreads \ --mandir=${prefix}/share/man \ --sysconfdir=${prefix}/etc/squid \ --datadir=${prefix}/share/squid \ --localstatedir=${prefix}/var/squid \ --with-openssl=${prefix} \ --enable-removal-policies \ --enable-storeio=ufs,aufs build.args DEFAULT_PID_FILE=${prefix}/var/run/squid/squid.pid use_parallel_build yes startupitem.create yes startupitem.name Squid startupitem.start \ "cd ${prefix}/var/squid" \ "if \[ ! -d \"${prefix}/var/squid/cache/00\" \]; then" \ "\tsu -fm root -c \"exec ${prefix}/sbin/squid -s -z\"" \ "fi" \ "su -fm root -c \"exec ${prefix}/sbin/squid -s\"" startupitem.stop \ "cd ${prefix}/var/squid" \ "su -fm root -c \"exec ${prefix}/sbin/squid -k shutdown\"" pre-destroot { addgroup squid set gid [existsgroup squid] adduser squid gid=${gid} realname=Squid\ Proxy home=${prefix}/var/squid } post-destroot { reinplace "s|/etc/squid|${prefix}/etc/squid|g" \ ${destroot}${prefix}/share/man/man8/squid.8 xinstall -o squid -g squid -m 755 -d \ ${destroot}${prefix}/var/run/squid ${destroot}${prefix}/var/squid \ ${destroot}${prefix}/var/squid/cache ${destroot}${prefix}/var/squid/logs file delete -force ${destroot}${prefix}/etc/squid/squid.conf \ ${destroot}${prefix}/etc/squid/mime.conf } destroot.keepdirs ${destroot}${prefix}/var/run/squid \ ${destroot}${prefix}/var/squid/cache \ ${destroot}${prefix}/var/squid/logs post-activate { # Make sure initial conf files are present and setup correctly foreach f { squid.conf mime.conf } { if {![file exists ${prefix}/etc/squid/${f}]} { file copy ${prefix}/etc/squid/${f}.default \ ${prefix}/etc/squid/${f} } } } livecheck.check regex livecheck.url http://www.squid-cache.org/Versions/v2/${branch}/ livecheck.regex squid-(${branch}\\.STABLE\[0-9\\.\]+)-RELEASENOTES