Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Network Troublshooting => Linux Servers Support => Topic started by: segun1ng on November 07, 2003, 12:33:11 PM
-
2003/11/06 20:03:12| mimeLoadIconFile: /usr/share/icons/anthony-compressed.gif: (2) No such file or directory
2003/11/06 20:03:12| mimeLoadIconFile: /usr/share/icons/anthony-unknown.gif: (2) No such file or directory
2003/11/06 20:03:12| Loaded Icons.
2003/11/06 20:03:12| Accepting HTTP connections at 0.0.0.0, port 3128, FD 12.
2003/11/06 20:03:12| Accepting ICP messages at 0.0.0.0, port 3130, FD 13.
2003/11/06 20:03:12| Accepting HTCP messages on port 4827, FD 14.
2003/11/06 20:03:12| Accepting SNMP messages on port 3401, FD 15.
2003/11/06 20:03:12| WCCP Disabled.
2003/11/06 20:03:12| Ready to serve requests.
2003/11/06 20:03:12| Done reading /var/spool/squid swaplog (1191 entries)
2003/11/06 20:03:12| Finished rebuilding storage from disk.
2003/11/06 20:03:12| 1191 Entries scanned
2003/11/06 20:03:12| 0 Invalid entries.
2003/11/06 20:03:12| 0 With invalid flags.
2003/11/06 20:03:12| 1191 Objects loaded.
2003/11/06 20:03:12| 0 Objects expired.
2003/11/06 20:03:12| 0 Objects cancelled.
2003/11/06 20:03:12| 0 Duplicate URLs purged.
2003/11/06 20:03:12| 0 Swapfile clashes avoided.
2003/11/06 20:03:12| Took 0.4 seconds (3010.4 objects/sec).
2003/11/06 20:03:12| Beginning Validation Procedure
2003/11/06 20:03:12| Completed Validation Procedure
2003/11/06 20:03:12| Validated 1191 Entries
2003/11/06 20:03:12| store_swap_size = 6652k
2003/11/06 20:03:13| storeLateRelease: released 0 objects
[root@proxy /]#
-
can u post ur cache.log here??
"Post last 15 lines of cache.log"
-
The below is squid.conf .. change according to ur use..
cache_mem 16 MB
cache_dir ufs /cache/squid 4700 12 256
cache_store_log none
half_closed_clients off
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 mgsoft src 192.168.0.0/255.255.255.0
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow mgsoft
http_access deny all
icp_access allow all
miss_access allow all
cache_mgr abc@abc.com
visible_hostname you.yourdomain
unique_hostname you.yourdomain
httpd_accel_host vertual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
http_port 3128
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
-
Your cache.log shows .. that ur proxy is working fine..
-
so what should i do to make the work station browse for now ..
-
Have u configured ur browsers on clients to use proxy??
If not then for
IE :: goto> interent options>connection>LAN>connect using proxy..
and there put the ipaddress of ur machine running proxy and the proxy port..
192.168.1.1 3128 put the same for all..
and for mozilla
edit>preferences>advanced>proxies>connect using proxy...
and put the ip of ur proxy machine and port 3128.
and tell us!!
-
[root@proxy squid]# egrep -v "^$|^#" /etc/squid/squid.conf
http_port 192.168.1.1:8080
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 16 MB
cache_dir ufs /var/spool/squid 200 16 256
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 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 manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl ourlan src 192.168.1.0/255.255.255.0
http_access allow ourlan
http_access deny all
icp_access allow all
http_port
3128# icp_port
[root@proxy squid]#
HAVE ALSO CHANGE THE BROWSER SETTINGS IN MY WORK STATIONS TO (192.168.1.1:8080)
AND MY MOZILA AS WELL.. tHAT DID WORK QUIT ALRIGHT BUT THE WORK STATION DID NOT WORK.
-
you have specified the wrong port for ur proxy in ur client's browsers..
you have to give 3128 not 8080
-
Got your messege.
Please, can u remove squid and install again. Do this after installing squid.
Open |squid.conf and edit squid according to this specifications ok and your squid will work fine. |
[root@proxy squid]# egrep -v "^$|^#" /etc/squid/squid.conf
http_port 192.168.1.1:3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 16 MB
cache_dir ufs /var/spool/squid 200 16 256
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 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 manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl ourlan src 192.168.1.0/255.255.255.0
http_access allow ourlan
http_access deny all
icp_access allow all
http_port
3128# icp_port