Re: [squid-users] squid wont let wget traffic thru

From: Bill Jacqmein <[email protected]>
Date: Wed, 22 Mar 2006 22:03:34 -0500

One more assumption: The browser reported as working was coming from
the same IP address as wget is being used from.

On 3/22/06, Bill Jacqmein <wrjacqmein@gmail.com> wrote:
> The client setting sound normal.
>
> Forbidden is normally and acl or lack of an acl for access.
> Maybe based on something similar to the following
> http://gaugusch.at/squid.shtml would be my guess.
>
> pick an IE string or Mozilla string depending on which browser was
> working for you from
> http://www.zytrax.com/tech/web/browser_ids.htm#msie
>
> <snip from http://www.gnu.org/software/wget/manual/wget.html>
> -U agent-string
> --user-agent=agent-string
> Identify as agent-string to the http server.
>
> The http protocol allows the clients to identify themselves using
> a User-Agent header field. This enables distinguishing the www
> software, usually for statistical purposes or for tracing of protocol
> violations. Wget normally identifies as Wget/version, version being
> the current version number of Wget.
>
> However, some sites have been known to impose the policy of
> tailoring the output according to the User-Agent-supplied information.
> While this is not such a bad idea in theory, it has been abused by
> servers denying information to clients other than (historically)
> Netscape or, more frequently, Microsoft Internet Explorer. This option
> allows you to change the User-Agent line issued by Wget. Use of this
> option is discouraged, unless you really know what you are doing.
>
> Specifying empty user agent with --user-agent="" instructs Wget
> not to send the User-Agent header in http requests.
>
> </snip http://www.gnu.org/software/wget/manual/wget.html>
>
> On 3/22/06, Joey S. Eisma <jeisma@pimes.com.ph> wrote:
> > hi!
> >
> > when i run wget it says:
> >
> > connecting to 192.168.0.2:8088... connected.
> > proxy request sent, awaiting response... 403 Forbidden
> > 10:13:53 ERROR 403: Forbidden.
> >
> > i cannot ask the admin yet to see the what the logs say.
> >
> > but as of yet. my client setting seems normal eh?
> >
> > thanks!
> >
> >
> > Henrik Nordstrom wrote:
> > > tor 2006-03-23 klockan 09:30 +0800 skrev Joey S. Eisma:
> > >
> > >
> > >> declare -x ftp_proxy="http://192.168.0.2:8088/"
> > >> declare -x http_proxy="http://192.168.0.2:8088"
> > >>
> > >> which is exactly my proxy settings.
> > >>
> > >
> > > Looks fine..
> > >
> > >
> > >> what's this supposed to mean? i already have the correct setting but
> > >> squid wont still let wget traffic thru?
> > >>
> > >
> > > Which server does wget say it's connecting to? The proxy, or the origin
> > > server?
> > >
> > > Is there anything in the Squid logs?
> > >
> > > Regards
> > > Henrik
> > >
> >
> > --
> >
> > Joey S. Eisma
> > Information Systems
> > P.IMES Corporation
> > Phase IV, CEPZA, Rosario
> > Cavite, Philippines
> > Tel : 63.46.4372401
> > Fax : 63.46.4372425
> > http://www.pimes.com.ph
> >
> >
>
Received on Wed Mar 22 2006 - 20:04:06 MST

This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:04 MST