Koozali.org: home of the SME Server

Hotmail issue

cc_skavenger

Hotmail issue
« on: December 22, 2004, 08:34:48 PM »
Is anyone else experiencing a problem after logging into hotmail?  I login, but only get a white screen, nothing else.  Only happens when behind SME.  Things are fine when I uses a public address or through a hardware router not behind a SME server.

Have added always_direct ACLs for hotmail.com, hotmail.msn.com, and passport.net to squid.conf with no luck.

Any suggestions?
TIA

Offline funkusmunkus

  • *
  • 220
  • +0/-0
Hotmail issue
« Reply #1 on: December 22, 2004, 10:21:35 PM »
Someone at work asked me the same question about hotmail, and it only apears on older SME servers, at one office (still has SME 5.6 u6 ) it gave me the blank white page.
at the other office that has 6.0.1 it was fine.

hope that helps
cheers
.........

Andy

Hotmail issue
« Reply #2 on: December 22, 2004, 10:27:11 PM »
I have had this problem and have found that it only happens in Internet Explorer and Firefox works fine. It seems to be affecting most of the SME boxes that I have out there.

Andy Parkinson

cc_skavenger

Hotmail issue
« Reply #3 on: December 22, 2004, 10:34:37 PM »
FYI:

For anyone having this trouble, you can use this workaround.  It was given by Joe Cooper AT swelltech.com.  I do not know if he is the one who actually figured it out or he is just passing on information.
NOTE:  This workaround only works with squid version 2.5X.  Please see message thread for download information.


Create the directory for the custom template for squid.conf:
mkdir -p /etc/e-smith/templates-custom/etc/squid/squid.conf/

Create and edit the template fragement:
vi or pico /etc/e-smith/templates-custom/etc/squid/squid.conf/15hotmailfix

Paste in these lines:
acl hotmail_domains dstdomain .hotmail.msn.com
acl ie6 browser MSIE 6
header_access Accept-Encoding deny ie6 hotmail_domains


Save the file and issue the command:
/sbin/e-smith/expand-template /etc/squid/squid.conf

Next, issue the command:
service squid reload

Hotmail should work again.

HTH

Andy

Hotmail issue
« Reply #4 on: December 22, 2004, 10:39:05 PM »
Another way I have just found is to set the proxy settings in IE to point to the SME server and the prot should be set to 3128

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
Hotmail issue
« Reply #5 on: December 23, 2004, 03:44:43 AM »
Don't work for me. See the error when reload squid:
 parseConfigFile: line 15 unrecognized: 'header_access Accept-Encoding deny ie6 hotmail_domains '
I appreciate any help

Offline shmeg

  • *
  • 22
  • +0/-0
    • http://www.ontrack.com.au
Seems to be a problem with IE / Squid
« Reply #6 on: December 23, 2004, 05:47:49 AM »
hotmail login is ok with Mozilla Firefox
so suggest something screwy with IE updates

Tried the above solution and no joy for me either with 6.01

Will try a few other things and post back
ben morrisson CCNA CCDA BA-Media
ben@ontrack.com.au...

cc_skavenger

Hotmail issue
« Reply #7 on: December 23, 2004, 04:29:02 PM »
I am using a custom squid rpm from swelltech.  You can download it here:

http://www.swelltech.com/support/updates/squid/7.x/RPMS/squid-2.5.STABLE3-1rh_7x.i386.rpm
or
http://ccskavenger.info/SME/contribs/swelltech-squid/squid-2.5.STABLE3-1rh_7x.i386.rpm

It has alot of optimizations compiled into it.  Install with rpm -Uvh ***.rpm.  Works great.

HTH

Offline albatroz

  • ****
  • 159
  • +0/-0
Hotmail issue
« Reply #8 on: December 23, 2004, 09:05:44 PM »
I did the update, and worked!
but I am getting this message when I restart squid...
can somebody explain what does it mean?


Stopping squid: 2004/12/23 10:10:01| WARNING: '192.168.10.0/255.255.255.0' is a subnetwork of '192.168.10.0/255.255.255.0'
2004/12/23 10:10:01| WARNING: because of this '192.168.10.0/255.255.255.0' is ignored to keep splay tree searching predictable
2004/12/23 10:10:01| WARNING: You should probably remove '192.168.10.0/255.255.255.0' from the ACL named 'localsrc'
2004/12/23 10:10:01| WARNING: '192.168.10.0/255.255.255.0' is a subnetwork of '192.168.10.0/255.255.255.0'
2004/12/23 10:10:01| WARNING: because of this '192.168.10.0/255.255.255.0' is ignored to keep splay tree searching predictable
2004/12/23 10:10:01| WARNING: You should probably remove '192.168.10.0/255.255.255.0' from the ACL named 'localdst'

cc_skavenger

Hotmail issue
« Reply #9 on: December 23, 2004, 09:46:44 PM »
the squid templates have a bug that I haven't been able to figure out.  Manually edit the file /etc/squid/squid.conf.  Change from this:

acl localsrc src 127.0.0.1 172.0.0.0/255.255.252.0 172.0.0.0/255.255.252.0
acl localdst dst 127.0.0.1 172.0.0.0/255.255.252.0 172.0.0.0/255.255.252.0


To this:
acl localsrc src 127.0.0.1 172.0.0.0/255.255.252.0
acl localdst dst 127.0.0.1 172.0.0.0/255.255.252.0


Save and restart the service and everthing will be fine.  The above is just an example, your network numbers will be different. :-D

HTH

Offline albatroz

  • ****
  • 159
  • +0/-0
Hotmail issue
« Reply #10 on: December 23, 2004, 10:20:40 PM »
Curiously this problem only appeared when I upgraded SME 6.01 and didnĀ“t when I upgraded the Squid installation of my SME 5.6 box

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
Hotmail issue
« Reply #11 on: December 24, 2004, 05:42:54 AM »
Now not run trough proxy!!!!!

jasonwalls

Hotmail issue
« Reply #12 on: December 25, 2004, 01:48:02 PM »
Quote from: "cc_skavenger"
the squid templates have a bug that I haven't been able to figure out.  Manually edit the file /etc/squid/squid.conf.  Change from this:

acl localsrc src 127.0.0.1 172.0.0.0/255.255.252.0 172.0.0.0/255.255.252.0
acl localdst dst 127.0.0.1 172.0.0.0/255.255.252.0 172.0.0.0/255.255.252.0


To this:
acl localsrc src 127.0.0.1 172.0.0.0/255.255.252.0
acl localdst dst 127.0.0.1 172.0.0.0/255.255.252.0


Save and restart the service and everthing will be fine.  The above is just an example, your network numbers will be different. :-D

HTH


Can I suggest the following change to 20ACL10localhost:

    my $localAccess = "127.0.0.1";

Regards, Jason

Offline lu2fgn

  • **
  • 55
  • +0/-0
    • http://www.sateliteros.com.ar
Hotmail issue
« Reply #13 on: December 26, 2004, 01:28:14 PM »
Hi all

Well I tried the modification :

Create the directory for the custom template for squid.conf:
mkdir -p /etc/e-smith/templates-custom/etc/squid/squid.conf/

Create and edit the template fragement:
vi or pico /etc/e-smith/templates-custom/etc/squid/squid.conf/15hotmailfix

Paste in these lines:
acl hotmail_domains dstdomain .hotmail.msn.com
acl ie6 browser MSIE 6
header_access Accept-Encoding deny ie6 hotmail_domains


And they did not work, I have the 60101 last version box

I found in a spanish forum this:

version de squid es 2.4.STABLE6
squid.conf :

anonymize_headers deny Accept-Encoding

para Squid 2.5
agregar :

header_access Accept-Encoding deny all

And is working perfect the modification for squid 2.4
:pint:

Best regards

Al -.-
......

Offline frederikbay

  • **
  • 41
  • +0/-0
Hotmail issue
« Reply #14 on: December 27, 2004, 03:38:25 PM »
Just for confirmation it worked when I :

Create the directory for the custom template for squid.conf:
mkdir -p /etc/e-smith/templates-custom/etc/squid/squid.conf/

Create and edit the template fragement:
pico /etc/e-smith/templates-custom/etc/squid/squid.conf/15hotmailfix

Paste in these lines:
acl hotmail_domains dstdomain .hotmail.msn.com
acl ie6 browser MSIE 6
anonymize_headers deny Accept-Encoding


Save the file and issue the command:
/sbin/e-smith/expand-template /etc/squid/squid.conf

Next, issue the command:
service squid reload

- frederik