Bug 38258 - Custom ACL snippets in squid.conf
Custom ACL snippets in squid.conf
Status: RESOLVED FIXED
Product: UCS@school
Classification: Unclassified
Component: ucs-test
UCS@school 4.0
Other Linux
: P5 enhancement (vote)
: ---
Assigned To: Ammar Najjar
:
Depends on: 37543
Blocks: 39098
  Show dependency treegraph
 
Reported: 2015-04-14 11:45 CEST by Sönke Schwardt-Krummrich
Modified: 2015-11-02 12:22 CET (History)
2 users (show)

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):
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-04-14 11:45:03 CEST
Janek is currently implementing the changes mentioned in Bug 37543 within the package univention-squid. The package is not part of UCS@school but will be used heavily in UCS@school.
Please get in touch with him and write a test case for these changes.

+++ This bug was initially created as a clone of Bug #37543 +++

The customer should be able to add custom ACLs to the squid.conf, e.g. to implement a workaround like in Bugs 37541 and 37542.
Comment 1 Ammar Najjar univentionstaff 2015-04-29 11:35:31 CEST
A new script with the name '43_proxy/05_custom_ACL_snippets_in_squidconf' is created to test the mentioned bug, including:

 - Testing user-agent string with acl_types 'browser','browser-i'
 - Testing destination domain name with acl_types 'dstdomain', 'dstdomain-i'
 - Test the destination port number using an internal http server and network redirection via iptables.

Note1: for 'dstdomain' which defines a case sensitive domain name rule, it was not possible to request a case sensitive domain name, so the test implemented this case to be as if the string was small case.

Note2: for ports numbers, the allowed ones are only (21, 443, 80), because of a top default rule:

acl web_ports port 80
acl web_ports port 443
acl web_ports port 21
http_access deny !web_ports

Tested on single server (master, backup) and multi server environments (master, slave).