Код: Выделить всё
FreeBSD router 7.3-RELEASE FreeBSD 7.3-RELEASE
Код: Выделить всё
00100 674122 447945566 divert 8668 ip4 from any to any via em1
00200 54 3658 divert 8669 ip4 from any to any via em0
00300 806 250744 allow ip from any to any via lo0
00400 0 0 deny ip from any to 127.0.0.0/8
00500 0 0 deny ip from 127.0.0.0/8 to any
00600 2703341 1796386834 allow ip from any to any
00700 0 0 allow ip from me to any
00800 0 0 allow ip from any to me
65535 4 112 deny ip from any to any
Код: Выделить всё
configure options: '--with-default-user=squid' '--bindir=/usr/local/sbin' '--sbindir=/usr/local/sbin' '--datadir=/usr/local/etc/squid' '--libexecdir=/usr/local/libexec/squid' '--localstatedir=/usr/local/squid' '--sysconfdir=/usr/local/etc/squid' '--enable-removal-policies=lru heap' '--disable-linux-netfilter' '--disable-linux-tproxy' '--disable-epoll' '--enable-auth=basic digest negotiate ntlm' '--enable-basic-auth-helpers=DB NCSA PAM MSNT SMB squid_radius_auth YP' '--enable-digest-auth-helpers=password' '--enable-external-acl-helpers=ip_user session unix_group wbinfo_group' '--enable-ntlm-auth-helpers=SMB' '--enable-storeio=ufs diskd null' '--enable-delay-pools' '--disable-carp' '--enable-useragent-log' '--enable-ipfw-transparent' '--enable-icap-client' '--enable-kqueue' '--with-large-files' '--enable-err-languages=Armenian Azerbaijani Bulgarian Catalan Czech Danish Dutch English Estonian Finnish French German Greek Hebrew Hungarian Italian Japanese Korean Lithuanian Polish Portuguese Romanian Russian-1251 Russian-koi8-r Serbian Simplify_Chinese Slovak Spanish Swedish Traditional_Chinese Turkish Ukrainian-1251 Ukrainian-koi8-u Ukrainian-utf8' '--enable-default-err-language=templates' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=i386-portbld-freebsd7.3' 'build_alias=i386-portbld-freebsd7.3' 'CC=cc' 'CFLAGS=-O2 -fno-strict-aliasing -pipe' 'LDFLAGS=' 'CPPFLAGS=' 'CXX=c++' 'CXXFLAGS=-O2 -fno-strict-aliasing -pipe'
Код: Выделить всё
http_port 3128
icp_port 0
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 128 MB
maximum_object_size 8092 KB
maximum_object_size_in_memory 512 KB
cache_dir ufs /usr/local/squid/cache 2048 64 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
cache_mgr tech@owox.com
visible_hostname office.owox.com
tcp_outgoing_address ВНЕШНИЙ_ИП
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl localhost src 127.0.0.0/8
acl our_networks src 172.16.0.0/22
acl manager proto cache_object
http_access allow manager localhost
http_access deny manager
cachemgr_passwd secret all
http_access allow our_networks
http_access allow localhost
http_access allow all
http_port 3128 transparent
coredump_dir /usr/local/squid/cache
pid_filename /usr/local/squid/logs/squid.pid
Код: Выделить всё
ipfw add 50 fwd 127.0.0.1,3128 tcp from 172.16.0.0/22 to any 80 via em1
Код: Выделить всё
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: /keywords.php?keyword=5530
Invalid URL
Some aspect of the requested URL is incorrect.
Some possible problems are:
*
Missing or incorrect access protocol (should be "http://" or similar)
*
Missing hostname
*
Illegal double-escape in the URL-Path
*
Illegal character in hostname; underscores are not allowed.
заранее благодарен!