Bug 37541 - Optional workaround for java updater
Optional workaround for java updater
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Proxy services
UCS@school 4.0
Other Linux
: P5 enhancement (vote)
: UCS@school 4.0 R2
Assigned To: Janek Walkenhorst
Florian Best
:
Depends on:
Blocks: 38390 40671
  Show dependency treegraph
 
Reported: 2015-01-14 16:35 CET by Sönke Schwardt-Krummrich
Modified: 2016-02-16 15:12 CET (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2015-01-14 16:35:01 CET
The windows java updater is unable to use the UCS@school proxy. So an exception for squid has been suggested by a customer. The following ACL allows access for clients with a specific browser string:

acl winhttp browser -i ^Microsoft-CryptoAPI
http_access allow winhttp
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2015-01-14 16:39:35 CET
If UCS@school comes with a predefined ACL, this should be disabled by default but be easily activatable via e.g. UCR variables.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2015-03-20 16:22:33 CET
Please also check if the Windows Update service is able to automatically fetch windows updates from Microsoft. If this is not the case, please also add an appropriate exception.

The implementation/code change should be done via Bug 37543.
The configuration (setting UCR variables) should be done in this bug.
Comment 3 Janek Walkenhorst univentionstaff 2015-04-09 14:50:23 CEST
(In reply to Sönke Schwardt-Krummrich from comment #2)
> Please also check if the Windows Update service is able to automatically
> fetch windows updates from Microsoft. If this is not the case, please also
> add an appropriate exception.

squid/acl/windowsupdater/allow/browser/string:
 Windows-Update-Agent
∨
squid/acl/windowsupdater/allow/dstdomain-i/regex:
 ^(.*\.update\.microsoft|download.windowsupdate)\.com$
Comment 4 Janek Walkenhorst univentionstaff 2015-04-21 09:50:43 CEST
ucs-school-webproxy (11.0.3-1) unstable; urgency=medium

  * Add Windows Updater exception ACL (Bug #37541)
  * Add script to enable Java Updater exception ACLs (Bug #37541)
Comment 5 Janek Walkenhorst univentionstaff 2015-04-21 10:04:28 CEST
Changelog r60005
Comment 6 Florian Best univentionstaff 2015-04-27 15:40:30 CEST
Why is the windowsupdater squid rule hardly set via '=' instead of '?'.
@Sönke: Is it okay to set the varaible in the postinst script (for every UCS@school installation) instead of another enable/disable script?

See also Bug #37542 comment 4.
Comment 7 Janek Walkenhorst univentionstaff 2015-04-28 18:41:18 CEST
ucs-school-webproxy (11.0.4-1) unstable; urgency=medium

  * Fix Windows Updater exception ACL (Bug #37541)
  * Fix script to enable Java Updater exception ACLs (Bug #37541)
  * Fix script to enable Java Applet exception ACLs (Bug #37542)
Comment 8 Sönke Schwardt-Krummrich univentionstaff 2015-04-29 11:11:06 CEST
(In reply to Florian Best from comment #6)
> Why is the windowsupdater squid rule hardly set via '=' instead of '?'.
> @Sönke: Is it okay to set the varaible in the postinst script (for every
> UCS@school installation) instead of another enable/disable script?

I think, this should be set hardly via '=' iff
- a new installation of ucs-school-webproxy is performed or
- an update to UCS@school 4.0R2 is done.

(similar to setting squid/forwardedfor in the postinst script)
Comment 9 Sönke Schwardt-Krummrich univentionstaff 2015-04-29 11:11:39 CEST
(In reply to Sönke Schwardt-Krummrich from comment #8)
> I think, this should be set hardly via '=' iff
> - a new installation of ucs-school-webproxy is performed or
> - an update to UCS@school 4.0R2 is done.

Otherwise the workaround is reenabled on each update of ucs-school-webproxy.
Comment 10 Sönke Schwardt-Krummrich univentionstaff 2015-04-29 11:18:13 CEST
> > I think, this should be set hardly via '=' iff
s/hardly/forcibly/g
Comment 11 Janek Walkenhorst univentionstaff 2015-04-29 14:16:05 CEST
(In reply to Sönke Schwardt-Krummrich from comment #8)
> (In reply to Florian Best from comment #6)
> > Why is the windowsupdater squid rule hardly set via '=' instead of '?'.
> > @Sönke: Is it okay to set the varaible in the postinst script (for every
> > UCS@school installation) instead of another enable/disable script?
> 
> I think, this should be set hardly via '=' iff
> - a new installation of ucs-school-webproxy is performed or
> - an update to UCS@school 4.0R2 is done.
> 
> (similar to setting squid/forwardedfor in the postinst script)

→ ucs-school-webproxy (11.0.6-1)
Comment 12 Florian Best univentionstaff 2015-04-30 12:53:39 CEST
OK: scripts + rules + restart-instruction
OK: UCRV setting
OK: Changelog
Comment 13 Florian Best univentionstaff 2015-05-11 19:24:58 CEST
UCS@school 4.0 R2 v1 has been released:
http://docs.univention.de/release-notes-ucsschool-4.0R2v1-de.html

If this error occurs again, please use "Clone This Bug".