Bug 37542 - Optional workaround for java applets
Optional workaround for java applets
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:
  Show dependency treegraph
 
Reported: 2015-01-14 16:43 CET by Sönke Schwardt-Krummrich
Modified: 2015-05-11 19:24 CEST (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:43:02 CET
The java applets seem to be 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 javauseragent browser -i Java/1\.[56789]\.[0-9]_[0-9][0-9]
http_access allow javauseragent
# Java Applets need to do SSL Cert verifications...
acl always_allow_dst_domains dstdomain ocsp.verisign.com

If UCS@school comes with a predefined ACL, this should be disabled by default but be easily activateable via e.g. UCR variables.

The suggestion has to be checked for possible sideeffects.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2015-03-20 16:23:00 CET
The implementation/code change should be done via Bug 37543.
The configuration (setting UCR variables) should be done in this bug.
Comment 2 Janek Walkenhorst univentionstaff 2015-04-21 09:50:42 CEST
ucs-school-webproxy (11.0.3-1) unstable; urgency=medium

  * Add script to enable Java Applet exception ACLs (Bug #37542)
Comment 3 Janek Walkenhorst univentionstaff 2015-04-21 10:04:46 CEST
Changelog r60005
Comment 4 Florian Best univentionstaff 2015-04-27 15:05:20 CEST
The files are in a subdirectory 'share'. Please move them /usr/share/ucs-school-webproxy/share/ → /usr/share/ucs-school-webproxy/.

Either restart squid after the UCR variables are set or print something like:
"""In order to active the changes please restart the squid daemon using the system service UMC module or the command "invoke-rc.d squid restart"."""
Comment 5 Florian Best univentionstaff 2015-04-27 15:34:25 CEST
(In reply to Sönke Schwardt-Krummrich from comment #0)
> # Java Applets need to do SSL Cert verifications...
> acl always_allow_dst_domains dstdomain ocsp.verisign.com
What about this?
Comment 6 Sönke Schwardt-Krummrich univentionstaff 2015-04-28 09:03:23 CEST
(In reply to Florian Best from comment #4)
> Either restart squid after the UCR variables are set or print something like:
> """In order to active the changes please restart the squid daemon using the
> system service UMC module or the command "invoke-rc.d squid restart"."""

Please print a message, that a restart is required after activation.
Comment 7 Janek Walkenhorst univentionstaff 2015-04-28 18:18:49 CEST
(In reply to Florian Best from comment #5)
> (In reply to Sönke Schwardt-Krummrich from comment #0)
> > # Java Applets need to do SSL Cert verifications...
> > acl always_allow_dst_domains dstdomain ocsp.verisign.com
> What about this?
Covered by user agent rules. Maintaining a whitelist of all OCSP servers seems inefficient.
Comment 8 Janek Walkenhorst univentionstaff 2015-04-28 18:41:20 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 9 Florian Best univentionstaff 2015-04-29 14:21:42 CEST
OK
I readded the changelog entry (svn r60293) as Philipp removed it in svn r60119.
Comment 10 Florian Best univentionstaff 2015-05-11 19:24:50 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".