Re: [squid-users] Site not Working through SQUID

2015-10-07 Thread Antony Stone
On Wednesday 07 October 2015 at 14:04:18, Cristiano Nunes wrote:

> I thought that there were something broken is the workstation like old
> Java or missing flash... A part of been tested in more than one
> workstation, I NATed one of the workstation, by passing Squid, and it
> worked flawless, so I ruled out something missing/broken.
> 
> I put a log on the firewall to check whether the site have a Java which
> was trying a connection without proxy but nothing came up.
> 
> Any idea on what else can I try or look for?

Could you put a packet capture on that workstation's IP address to check for 
all traffic going to/from it:

a) without the proxy (NATted), works

b) with the proxy, fails

and see if you can spot some significant difference?


Antony.

-- 
"A person lives in the UK, but commutes to France daily for work.
He belongs in the UK."

 - From UK Revenue & Customs notice 741, page 13, paragraph 3.5.1
 - http://tinyurl.com/o7gnm4

   Please reply to the list;
 please *don't* CC me.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Site not Working through SQUID

2015-10-07 Thread Cristiano Nunes
I thought that there were something broken is the workstation like old
Java or missing flash... A part of been tested in more than one
workstation, I NATed one of the workstation, by passing Squid, and it
worked flawless, so I ruled out something missing/broken.

I put a log on the firewall to check whether the site have a Java which
was trying a connection without proxy but nothing came up.

Any idea on what else can I try or look for?

BR,

Cris

Att.

Cristiano Nunes
Fone: 11 97052-2000

2015-10-07 5:44 GMT-03:00 Amos Jeffries :

> On 7/10/2015 7:32 a.m., Cristiano Nunes wrote:
> > Hi Antony.
> >
> > The URL is www..yasudamaritima.com.br, but according to the user, you
> have
> > to navigate and authenticate to the portion of the site which is supposed
> > to show the window, but the window is blank.
> >
> > The squid.log captured during the user session is below:
> >
>
> Apart from the favicon, which is inconsequential those transactions all
> are successful (2x and 3xx status) and appear to have completed
> properly. Some of the CONNECT's are staying active for several minutes
> though, so the ones listed are unlikely to be related to the request at
> the top, and if there were any they could close much later than the log
> shows.
>
> >
> > And here is my squid.conf.
> >
>
> Looks very much okay.
>
>
> Which leaves us with the troublesome issues like path-MTU discovery
> problems. If there is a CONNECT happening but some payload data packets
> not getting through you could end up with missing page parts.
>
> Or maybe, server application not coping with proxied traffic. I've seen
> some that simply crash the backend server script engine if you pass it a
> X-Forwarded-For header with non-IPv4 contents.
>
> Or maybe, the window was supposed to contain something over a non-HTTP
> protocol that is broken.
>
> Amos
> ___
> squid-users mailing list
> squid-users@lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Site not Working through SQUID

2015-10-07 Thread Amos Jeffries
On 7/10/2015 7:32 a.m., Cristiano Nunes wrote:
> Hi Antony.
> 
> The URL is www..yasudamaritima.com.br, but according to the user, you have
> to navigate and authenticate to the portion of the site which is supposed
> to show the window, but the window is blank.
> 
> The squid.log captured during the user session is below:
> 

Apart from the favicon, which is inconsequential those transactions all
are successful (2x and 3xx status) and appear to have completed
properly. Some of the CONNECT's are staying active for several minutes
though, so the ones listed are unlikely to be related to the request at
the top, and if there were any they could close much later than the log
shows.

> 
> And here is my squid.conf.
> 

Looks very much okay.


Which leaves us with the troublesome issues like path-MTU discovery
problems. If there is a CONNECT happening but some payload data packets
not getting through you could end up with missing page parts.

Or maybe, server application not coping with proxied traffic. I've seen
some that simply crash the backend server script engine if you pass it a
X-Forwarded-For header with non-IPv4 contents.

Or maybe, the window was supposed to contain something over a non-HTTP
protocol that is broken.

Amos
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Site not Working through SQUID

2015-10-06 Thread Cristiano Nunes
Hi Antony.

The URL is www..yasudamaritima.com.br, but according to the user, you have
to navigate and authenticate to the portion of the site which is supposed
to show the window, but the window is blank.

The squid.log captured during the user session is below:

1444152953.106  0 192.168.0.38 TCP_MISS/000 0 GET
http://www.yasuda.com.br/favicon.ico - DIRECT/www.yasuda.com.br -
1444152953.428  0 192.168.0.38 TCP_IMS_HIT/304 295 GET
http://seguros.yasudamaritima.com.br/hubfs/IMG_Posts/Extra-corretor.jpg -
NONE/- image/jpeg
1444152953.428  0 192.168.0.38 TCP_IMS_HIT/304 295 GET
http://seguros.yasudamaritima.com.br/hubfs/IMG_Posts/04-Corretor-ps_venda.jpg
- NONE/- image/jpeg
1444152953.429  0 192.168.0.38 TCP_IMS_HIT/304 295 GET
http://seguros.yasudamaritima.com.br/hubfs/IMG_Posts/post_corretor8.jpg -
NONE/- image/jpeg
1444152953.431  0 192.168.0.38 TCP_IMS_HIT/304 295 GET
http://seguros.yasudamaritima.com.br/hubfs/IMG_Posts/31-Segurado-RC_BAB.jpg
- NONE/- image/jpeg
1444152953.782180 192.168.0.38 TCP_MISS/302 1012 GET
http://www.google-analytics.com/r/collect? - DIRECT/173.194.118.6 text/html
1444152954.023  0 192.168.0.38 TCP_IMS_HIT/304 301 GET
http://s7.addthis.com/layers.d3089ff8d4aa15672ac8.js - NONE/-
text/javascript
1444152954.034  0 192.168.0.38 TCP_IMS_HIT/304 301 GET
http://s7.addthis.com/hi-res-css.cfeefd4edd0cdaff82be.js - NONE/-
text/javascript
1444152954.082  0 192.168.0.38 TCP_IMS_HIT/304 311 GET
http://s7.addthis.com/sh.3aa0e79cb54fea3f63d7daa9.html - NONE/- text/html
1444152954.096  0 192.168.0.38 TCP_IMS_HIT/304 301 GET
http://s7.addthis.com/menu.ee745c37cc4914e21ca8.js - NONE/- text/javascript
1444152954.289426 192.168.0.38 TCP_MISS/200 21476 GET
http://js.hs-analytics.net/analytics/144415320/503280.js - DIRECT/
184.28.143.227 text/javascript
1444152954.771322 192.168.0.38 TCP_MISS/200 961 GET
http://m.addthis.com/live/red_lojson/300lo.json? - DIRECT/104.16.23.235
application/javascript
1444152955.317324 192.168.0.38 TCP_MISS/200 412 GET
http://track.hubspot.com/__ptq.gif? - DIRECT/54.164.53.68 image/gif
1444152959.736  10073 192.168.0.38 TCP_MISS/200 228 CONNECT
www.gstatic.com:443 - DIRECT/173.194.118.23 -
1444152969.735  14738 192.168.0.38 TCP_MISS/200 4526 CONNECT
fbstatic-a.akamaihd.net:443 - DIRECT/201.6.6.163 -
1444152969.735  15418 192.168.0.38 TCP_MISS/200 3789 CONNECT
s-static.ak.facebook.com:443 - DIRECT/172.229.62.110 -
1444152969.736  15432 192.168.0.38 TCP_MISS/200 3789 CONNECT
s-static.ak.facebook.com:443 - DIRECT/172.229.62.110 -
1444152969.736  14716 192.168.0.38 TCP_MISS/200 262 CONNECT
www.facebook.com:443 - DIRECT/31.13.85.8 -
1444152969.998146 192.168.0.38 TCP_MISS/200 3010 POST
http://syasweb.yasuda.com.br:9080/SyasWeb/Auto/LoadUsuario.aspx - DIRECT/
201.85.62.34 text/html
1444152970.071 17 192.168.0.38 TCP_MISS/200 366 GET
http://syasweb.yasuda.com.br:9080/SyasWeb/Auto/dynaTraceMonitor? - DIRECT/
201.85.62.34 text/plain
1444152970.116 53 192.168.0.38 TCP_MISS/302 943 GET
http://syasweb.yasuda.com.br:9080/SyasWeb/Auto/WebForms/default.aspx? -
DIRECT/201.85.62.34 text/html
1444152977.019  10383 192.168.0.38 TCP_MISS/200 103653 CONNECT
portalweb.yasudamaritima.com.br:443 - DIRECT/201.85.63.40 -
1444152977.030  10382 192.168.0.38 TCP_MISS/200 2265 CONNECT
portalweb.yasudamaritima.com.br:443 - DIRECT/201.85.63.40 -
1444152977.049  10412 192.168.0.38 TCP_MISS/200 798 CONNECT
portalweb.yasudamaritima.com.br:443 - DIRECT/201.85.63.40 -
1444152979.735  13068 192.168.0.38 TCP_MISS/200 137 CONNECT
portalweb.yasudamaritima.com.br:443 - DIRECT/201.85.63.40 -
1444152979.759  16391 192.168.0.38 TCP_MISS/200 151066 CONNECT
portalweb.yasudamaritima.com.br:443 - DIRECT/201.85.63.40 -
1444153020.403  65399 192.168.0.38 TCP_MISS/200 17889 CONNECT
www.facebook.com:443 - DIRECT/31.13.85.8 -
1444153078.755 115395 192.168.0.38 TCP_MISS/200 3678 CONNECT
www.linkedin.com:443 - DIRECT/108.174.12.129 -
1444153079.087 142525 192.168.0.38 TCP_MISS/200 64000 CONNECT
www.google.com.br:443 - DIRECT/173.194.118.23 -
1444153079.087 129438 192.168.0.38 TCP_MISS/200 7529 CONNECT
www.gstatic.com:443 - DIRECT/173.194.118.23 -
1444153079.087 125913 192.168.0.38 TCP_MISS/200 807 CONNECT
apis.google.com:443 - DIRECT/173.194.118.2 -
1444153079.087 125915 192.168.0.38 TCP_MISS/200 618 CONNECT
s7.addthis.com:443 - DIRECT/104.16.27.35 -
1444153079.087 125453 192.168.0.38 TCP_MISS/200 50115 CONNECT
platform.linkedin.com:443 - DIRECT/184.86.193.85 -
1444153079.087 125421 192.168.0.38 TCP_MISS/200 445 CONNECT
connect.facebook.net:443 - DIRECT/172.230.53.221 -
1444153079.087 124998 192.168.0.38 TCP_MISS/200 624 CONNECT
stats.g.doubleclick.net:443 - DIRECT/64.233.190.154 -
1444153079.088 108930 192.168.0.38 TCP_MISS/200 35399 GET
http://syasweb.yasuda.com.br:9080/SyasWeb/Auto/WebForms/ConsultaCalculo.aspx
- DIRECT/201.85.62.34 text/html
1444153079.088 12 192.168.0.38 TCP_MISS/200 1010 CONNECT
syndication.twitter.com:443 - DIRECT/199.16.158.49 -


Re: [squid-users] Site not Working through SQUID

2015-10-06 Thread Antony Stone
On Tuesday 06 October 2015 at 17:40:11, Cristiano Nunes wrote:

> I have a Squid Version 3.9.Stable13 which is working perfect.
> 
> Today I received a complanint of a users which is not able to browse a
> brazilian site.
> 
> Squid log shows no DENY at all but the site only shows a white screen with
> no errors.
> 
> I thought this was a site bug. So I set up a NAT to the user and for my
> surprise the site worked flawless.
> 
> The site seems to user ports http(80) / https(443) and http(9080) all
> theses are not blocked by Squid.
> 
> What could be the cause to this site not work through Squid.

That's a bit hard for us to tell without knowing:

 - the site the user was trying to access (so we can see what sort of HTML it 
returns, or try it on our own Squid setups, for example)

 - your Squid configuration (so we can see why the access ought to have worked)

 - what showed up in the Squid log file when the user tried to access the site 
(so we can see what Squid was asked to do, what it did, and what the result 
was).


I suggest you:

 - tell us the URL

 - post your squid.conf without blank lines or comments (obscuring any 
sensitive data, if present)

 - post the Squid access log for the session (removing detail from any other 
sessions so long as you're sure they are unrelated).


That may give us some useful information to work on.


Regards,


Antony.

-- 
You can tell that the day just isn't going right when you find yourself using 
the telephone before the toilet.

   Please reply to the list;
 please *don't* CC me.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


[squid-users] Site not Working through SQUID

2015-10-06 Thread Cristiano Nunes
I have a Squid Version 3.9.Stable13 which is working perfect.

Today I received a complanint of a users which is not able to browse a
brazilian site.

Squid log shows no DENY at all but the site only shows a white screen with
no errors.

I thought this was a site bug. So I set up a NAT to the user and for my
surprise the site worked flawless.

The site seems to user ports http(80) / https(443) and http(9080) all
theses are not blocked by Squid.

What could be the cause to this site not work through Squid.


Att.

Cristiano Nunes
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users