Can't download from WSUS through proxy

Can't download from WSUS through proxy

Postby OlegK » 22.11.2010, 17:59

Hi!
It seems that WSUS OU ignores the proxy setting when retreiving updates from a WSUS server.
Problem description:
In our LAN we don't have a DNS server, and all our HTTP traffic goes through a proxy.
Outside the proxy, there is a WSUS server which we can use.
In the WSUS OU settings I specify both the proxy address and the WSUS address.
Everything goes fine while downloading various things from outside (wsusscn2.cab etc...), proxy works.
Afterwards, it fails to reach our WSUS server and falls back to the Microsoft server:
---------
22.11.2010 18:11:34,21 - Info: Created WSUS download table for win glb
wget: unable to resolve host address `ourwsus.ourdomain'
2010-11-22 18:12:40 URL:http://www.download.windowsupdate.com/msdownload/update/v3-19990518/cabpool/q823718_mdac_securitypatch_a23b63898aed37544beda981992052a.exe [1626688/1626688] -> "../client/win/glb/q823718_mdac_securitypatch_a23b63898aed37544beda981992052a.exe" [1]
---------
I checked that the wsus host address can be resolved by the proxy.
It should mean that wget here attempts to reach the wsus server without the proxy, ignoring the proxy setting.
Can I overcome this?
OlegK
 
Posts: 11
Joined: 14.04.2010, 14:04

Re: Can't download from WSUS through proxy

Postby WSUSUpdateAdmin » 22.11.2010, 18:08

Hi OlegK,

as a workaround, please search and remove "--no-proxy" in DownloadUpdates.cmd.
When I developed this part, I thought a local WSUS access doesn't make sense via a proxy.
I'll think about removing this in general.

Thanks & regards
Torsten Wittrock
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

Re: Can't download from WSUS through proxy

Postby OlegK » 24.11.2010, 17:48

Hi, Torsten!
Many thanks!
Oleg
OlegK
 
Posts: 11
Joined: 14.04.2010, 14:04

Re: Can't download from WSUS through proxy

Postby WSUSUpdateAdmin » 03.12.2010, 13:45

Hi!

WSUSUpdateAdmin wrote:I'll think about removing this in general.

I did that now for the coming v. 6.7.

Regards
Torsten Wittrock
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38

Re: Can't download from WSUS through proxy

Postby WSUSUpdateAdmin » 08.12.2010, 06:56

Hi omo683,

that's a good idea, thanks!
I now implemented this (see http://trac.wsusoffline.net/browser/trunk (r181)), so from r181 on, the default behaviour is rolled back to WSUS access without proxy.

@OlegK: To achieve WSUS access via proxy (from r181 on), you'll have to add

Code: Select all
wsusbyproxy=Enabled

to the [Miscellaneous] section of your UpdateGenerator.ini file.

Regards
Torsten Wittrock
Last edited by aker on 28.07.2013, 19:25, edited 1 time in total.
Reason: Trac Link aktualisiert
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38


Return to Download

Who is online

Users browsing this forum: Google [Bot] and 35 guests