Re: [squid-users] apple software updates

From: <dhottinger@dont-contact.us>
Date: Tue, 27 Feb 2007 09:00:08 -0500

Quoting Henrik Nordstrom <henrik@henriknordstrom.net>:

> mån 2007-02-26 klockan 13:11 -0500 skrev
> dhottinger@harrisonburg.k12.va.us:
>
>> NSLocalizedDescription = "XML parser error:\n\tEncountered unexpected
>> EOF\nOld-style plist parser error:\n\tMalformed data byte group at
>> line 1; invalid
>> hex\n";
>> NSURL = http://swscan.apple.com/content/catalogs/index-1.sucatalog;
>> }
>> XML parser error:
>> Encountered unexpected EOF
>> Old-style plist parser error:
>> Malformed data byte group at line 1; invalid hex
>> Everything worked ok till a month or so ago. No changes were made
>> on my end.
>
> A longshot, but perhaps something caused an gzip:ed version of the
> update catalog to get cached somehow.. The update agent doesn't like
> that..
>
> Squid-2.6 is sensitive to servers applying gzip compression wrongly. See
> the broken_vary_encoding directive for a possible workaround if this is
> the problem.
>
> access.log data with "log_mime_hdrs on" can easily tell if this has
> happened.
>
> Regards
> Henrik
>

Ok.
Here is the snippet from my logfile with log_mime_hdrs on.

1172582734.353 955773 10.40.7.184 TCP_MISS/200 91768 GET
http://swscan.apple.com/content/catalogs/index-1.sucatalog -
DIRECT/17.250.248.95 text/plain ALLOW "Shareware/Freeware"
[User-Agent: CFNetwork/129.16\r\nAccept: */*\r\nAccept-Language:
en\r\nAccept-Encoding: gzip, deflate\r\nX-Software-Update-Session-Id:
U1jRJMoop0HfigV+\r\nConnection: keep-alive\r\nHost:
swscan.apple.com\r\n] [HTTP/1.0 200 OK\r\nAccept-Ranges:
bytes\r\nDate: Tue, 27 Feb 2007 13:09:38 GMT\r\nContent-Length:
388177\r\nContent-Type: text/plain\r\nConnection:
keep-alive\r\nServer: Apache/1.3.33 (Darwin)\r\nLast-Modified: Thu, 22
Feb 2007 23:37:02 GMT\r\nETag: "1052102-5ec51-45de291e"\r\nVia: 1.1
netcache04 (NetCache NetApp/5.5R6)\r\n\r]
1172583132.390 211 10.40.7.184 TCP_MISS/304 246 GET
http://swscan.apple.com/content/catalogs/index-1.sucatalog -
DIRECT/17.250.248.95 - ALLOW "Shareware/Freeware" [User-Agent:
CFNetwork/129.16\r\nAccept: */*\r\nAccept-Language:
en\r\nAccept-Encoding: gzip, deflate\r\nX-Software-Update-Session-Id:
ai8CuNQop0FFIW5Z\r\nIf-Modified-Since: Thu, 22 Feb 2007 23:37:02
GMT\r\nConnection: keep-alive\r\nHost: swscan.apple.com\r\n] [HTTP/1.0
304 Not Modified\r\nDate: Tue, 27 Feb 2007 13:32:12 GMT\r\nConnection:
keep-alive\r\nServer: Apache/1.3.33 (Darwin)\r\nETag:
"1052102-5ec51-45de291e"\r\nVia: 1.1 netcache02 (NetCache
NetApp/5.5R6)\r\n\r]

Not sure what I am looking at. I see that the connection is allowed,
and the initial connection is made to swscan.apple.com. Anyone know
how to decode all this?

-- 
Dwayne Hottinger
Network Administrator
Harrisonburg City Public Schools
Received on Tue Feb 27 2007 - 07:00:20 MST

This archive was generated by hypermail pre-2.1.9 : Thu Mar 01 2007 - 12:00:01 MST