Re: Re: [squid-users] Cache peer does not work

From: Dr. Muhammad Masroor Ali <mmasroorali_at_cse.buet.ac.bd>
Date: Mon, 16 May 2011 12:35:36 +0600

It was not working when I used
cache_peer 172.16.101.3 parent 3128 3130 default

Using 0 place of 3130 solved the problem. So, ICP port was not working.

However, could somebody please explain this.

It does not work when the line is,

cache_peer 172.16.101.3 parent 3128 3130 default

So, I change it to
cache_peer 172.16.101.3 parent 3128 0 default

It works.

But is keeps working, even after reload or restart, when the line is
changed back to

cache_peer 172.16.101.3 parent 3128 3130 default

I am trying to find out the reason behind this without much success.

Dr. Muhammad Masroor Ali
Professor
Department of Computer Science and Engineering
Bangladesh University of Engineering and Technology
Dhaka-1000, Bangladesh

Phone: 880 2 966 5650 (PABX)

In a world without walls and fences, who needs Windows and Gates?

On Sat, May 14, 2011 at 11:04 PM, <hasanen_at_gmail.com> wrote:
>
> Is ICP port working on the parent server ? you specified port 3130 for ICP
>
> On , "Dr. Muhammad Masroor Ali" <mmasroorali_at_cse.buet.ac.bd> wrote:
> > Yes, I am actually writing
> >
> > cache_peer 172.16.101.3     parent    3128  3130  default
> >
> >
> >
> > I was so exasperated that I did not type it correctly.
> >
> >
> >
> > Dr. Muhammad Masroor Ali
> >
> > Professor
> >
> > Department of Computer Science and Engineering
> >
> > Bangladesh University of Engineering and Technology
> >
> > Dhaka-1000, Bangladesh
> >
> >
> >
> > Phone: 880 2 966 5650 (PABX)
> >
> >
> >
> > In a world without walls and fences, who needs Windows and Gates?
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Sat, May 14, 2011 at 10:23 PM, Hasanen AL-Bana hasanen_at_gmail.com> wrote:
> >
> > > cache_peer 127.0.0.1     parent    3128  3130  default
> >
> > > the above link points to the same server ! probably incorrect , you
> >
> > > must use your parent IP address instead (172.16.101.3)
> >
> > >
> >
> > > On Sat, May 14, 2011 at 7:17 PM, Dr. Muhammad Masroor Ali
> >
> > > mmasroorali_at_cse.buet.ac.bd> wrote:
> >
> > >>
> >
> > >> Dear All,
> >
> > >> I thought that this would have been straight forward.
> >
> > >>
> >
> > >> In an Ubuntu machine, I use proxy 172.16.101.3 as the proxy for
> >
> > >> browsing. This does not require any user name or password for access.
> >
> > >>
> >
> > >> I installed squid3 in this machine and set 127.0.0.1:3128 as proxy in
> >
> > >> the browser. Also in the squid.conf file I have put,
> >
> > >> cache_peer 127.0.0.1     parent    3128  3130  default
> >
> > >>
> >
> > >> Now when I try to browse, nothing happens. That is, the browser says
> >
> > >> connecting or some such, and after a very long time it fails to open
> >
> > >> the page.
> >
> > >>
> >
> > >> No error message has been found in the log files. I am really at a
> >
> > >> loss what to do.
> >
> > >>
> >
> > >> Could somebody please tell me what to do. Thanks in advance.
> >
> > >>
> >
> > >> Dr. Muhammad Masroor Ali
> >
> > >> Professor
> >
> > >> Department of Computer Science and Engineering
> >
> > >> Bangladesh University of Engineering and Technology
> >
> > >> Dhaka-1000, Bangladesh
> >
> > >>
> >
> > >> Phone: 880 2 966 5650 (PABX)
> >
> > >>
> >
> > >> In a world without walls and fences, who needs Windows and Gates?
> >
> > >
> >
> >
Received on Mon May 16 2011 - 06:35:44 MDT

This archive was generated by hypermail 2.2.0 : Wed May 25 2011 - 12:00:03 MDT