Koozali.org: home of the SME Server

itunes and dansguardian problem

Offline tdbsoft

  • *
  • 81
  • +0/-0
    • http://www.tdb.com.au
itunes and dansguardian problem
« on: November 13, 2010, 11:15:48 AM »
Having an issue with Dansguardian blocking access to itunes store website. The error is due to a malformed URL EG ax.init.itunes.apple.com./ the full stop at the end is caught by Dansguardian and rejected.  I have searched this forum and googled the web but to no avail.  Current version of Dansguardian available for SME is DansGuardian 2.10.0.3 however DansGuardian 2.10.1.1 is released and is said to fix the issue but not SME compatible I would presume.

Has anyone encountered this issue and have a work-around or patch?

Thanks

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: itunes and dansguardian problem
« Reply #1 on: November 13, 2010, 09:37:50 PM »
AFAIK that URL should never work, URLs are not allowed to end with a dot. Even if you would allow it, it should not work on the internet, from http://www.ietf.org/rfc/rfc0952.txt:
Quote
   1. A "name" (Net, Host, Gateway, or Domain name) is a text string up
   to 24 characters drawn from the alphabet (A-Z), digits (0-9), minus
   sign (-), and period (.).  Note that periods are only allowed when
   they serve to delimit components of "domain style names". (See
   RFC-921, "Domain Name System Implementation Schedule", for
   background).  No blank or space characters are permitted as part of a
   name. No distinction is made between upper and lower case.  The first
   character must be an alpha character.  The last character must not be
   a minus sign or period. 
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline tdbsoft

  • *
  • 81
  • +0/-0
    • http://www.tdb.com.au
Re: itunes and dansguardian problem
« Reply #2 on: November 14, 2010, 04:43:43 AM »
Yes I agree the URL is invalid, but Apple's stance is that the URL is correct and they will not be changing.

Prior to itunes version 9.1 I believe the URL was valid and worked with Dansguadian.  After itunes 9.1 Dansguardian will not let the address through as it is caught as malformed.
Adding an exception to Dansguardian will not work as the Malformed URL is caught before it checks the exception list.

In summary Apple should fix the URL but won't, Dansguardian have fixed in version 2.10.1.1 but not yet available in the SME flavor.

Does anyone have a work-a-round or have compiled the new version of Dansguardian for SME 7.x?

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: itunes and dansguardian problem
« Reply #3 on: November 14, 2010, 07:56:56 AM »
tdbsoft

Quote
Does anyone have a work-a-round .....

Temporarily disable with the following
config setprop squid TransparentPort 3128
config setprop squid Transparent yes
config delprop dansguardian portblocking
signal-event post-upgrade; signal-event reboot

Do your download/upgrade from apple store and then re-enable with
config setprop squid TransparentPort 8080
config setprop squid Transparent yes
config setprop dansguardian portblocking yes
signal-event post-upgrade; signal-event reboot
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline tdbsoft

  • *
  • 81
  • +0/-0
    • http://www.tdb.com.au
Re: itunes and dansguardian problem
« Reply #4 on: November 14, 2010, 09:39:15 AM »
Mary, thanks for the suggestion, but I would need used on daily basis so need a more durable work-a-round or SME compiled version Dansguardian 2.10.1.1

Offline Gaetan

  • ***
  • 104
  • +0/-0
Re: itunes and dansguardian problem
« Reply #5 on: December 14, 2010, 07:03:48 PM »
Hi,
Any news on this ?
I have the same issue.
Thanks