Closed
Bug 1498056
Opened 6 years ago
Closed 6 years ago
Using configuration profile to set Proxy policy does not respect SocksVersion
Categories
(Firefox :: Enterprise Policies, defect, P1)
Tracking
()
RESOLVED
INVALID
Tracking | Status | |
---|---|---|
firefox64 | --- | affected |
People
(Reporter: StefanG_QA, Assigned: spohl)
References
Details
Attachments
(4 files)
STR: 1. Create a configuration profile using the below example: <key>EnterprisePoliciesEnabled</key> <true/> <key>Proxy</key> <dict> <key>SocksVersion</key> <string>4</string> <key>Mode</key> <string>manual</string> <key>HTTPProxy</key> <string>proxy.softvision.com:8080</string> <key>Locked</key> <true/> </dict> 2. Install the Configuration Profile 3. Navigate to about:preferences 4. Under Network settings click on 'Settings' 5. Verify the fields aren't editabled and are populated as follow: - Manual proxy configartion is selected - HTTP Proxy is set to: 'proxy.softvision.com' port:8080 - SOCKS v4 is selected AR: SocksVersion is not properly set. SOCKS v5 is selected ER: SocksVersion should be respected. 'SOCKS v4' should be selected
Reporter | ||
Comment 1•6 years ago
|
||
Comment 2•6 years ago
|
||
Oh, there's a bug in the configuration: <string>4</string> should be <integer>4</integer>. Can you check if that works in that case?
Reporter | ||
Comment 3•6 years ago
|
||
I've tried changing the value type but I see the same result. Here is the configuration profile with <integer>4</integer>.
Assignee | ||
Comment 4•6 years ago
|
||
Does this reproduce with JSON policies?
Flags: needinfo?(stefan.georgiev)
Reporter | ||
Comment 5•6 years ago
|
||
This is not reproduced using the attached json file.
Flags: needinfo?(stefan.georgiev)
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Whiteboard: config-profiles-only
Comment 6•6 years ago
|
||
Stephen, could you take a look to see if the parser is having problems reading <integer> items? Or if I advised comment 3 incorrectly? If there's not a simple fix for this I'm thinking of working around it by supporting both integer or string parameters to SocksVersion
Flags: needinfo?(spohl.mozilla.bugs)
Priority: -- → P1
Comment 7•6 years ago
|
||
Felipe, Is this a blocker for bug 1445943 (Enterprise Policies Support for MacOS) in Firefox 64?
Flags: needinfo?(felipc)
Comment 8•6 years ago
|
||
Yeah, I think so. If we don't manage to find a fix in time, we should at least do the workaround described in comment 6 so that the Proxy policy can be used.
Flags: needinfo?(felipc)
Assignee | ||
Comment 9•6 years ago
|
||
This is due to a mistake in the configuration profile. SOCKSVersion was not capitalized properly (`SocksVersion` instead of `SOCKSVersion`). Note that it was spelled correctly in the policies.json, which is why this seemed to only affect configuration policies and not JSON policies. If we want to make the parser more tolerant for capitalization, we should file a separate bug.
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(spohl.mozilla.bugs)
Resolution: --- → INVALID
Assignee | ||
Comment 10•6 years ago
|
||
Corrected configuration profile.
Assignee: nobody → spohl.mozilla.bugs
Assignee | ||
Updated•6 years ago
|
Whiteboard: config-profiles-only
You need to log in
before you can comment on or make changes to this bug.
Description
•