August 21, 2014, 12:07:13 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: This is what happen after.  (Read 3302 times)

Offline segun1ng

  • Linux Noob !
  • *
  • Posts: 25
This is what happen after.
« 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 /]#

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
This is what happen after.
« Reply #1 on: November 07, 2003, 12:39:13 PM »
can u post ur cache.log here??


"Post last 15 lines of cache.log"

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
This is what happen after.
« Reply #2 on: November 07, 2003, 01:04:01 PM »
The below is squid.conf  .. change according to ur use..
Code: [Select]
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

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
This is what happen after.
« Reply #3 on: November 07, 2003, 09:13:07 PM »
Your cache.log shows .. that ur proxy is working fine..

Offline segun1ng

  • Linux Noob !
  • *
  • Posts: 25
This is what happen after.
« Reply #4 on: November 07, 2003, 11:49:11 PM »
so what should i do to make the work station browse for now ..

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
This is what happen after.
« Reply #5 on: November 08, 2003, 11:06:32 AM »
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!!

Offline segun1ng

  • Linux Noob !
  • *
  • Posts: 25
This is what happen after.
« Reply #6 on: November 08, 2003, 11:12:01 AM »
[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.

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
This is what happen after.
« Reply #7 on: November 08, 2003, 11:19:24 AM »
you have specified the wrong port for ur proxy in ur client's browsers..

you have to give 3128 not 8080

Offline segun1ng

  • Linux Noob !
  • *
  • Posts: 25
Do as I say and squid will work!
« Reply #8 on: November 25, 2003, 01:16:42 PM »
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