Forwarding to the list.

On 4/2/21 2:14 PM, Emmanuel Lecharny wrote:
> I fully agree with you: let’s remove it.
> 
> 
>> Hi,
>>
>> we have several bug reports [1][2][3] that SOCKS proxy settings don't
>> work, however there is a preference page [4] in Studio which gives the
>> impression it's supported.
>>
>> That preference page is provided by Eclipse. What is does is to set Java
>> system properties [5]. There are known limitations, e.g. socks
>> authentication and proxy bypass don't work [6]. There is no additional
>> code in Studio to support proxies, and also zero tests.
>>
>> In the past with JNDI the basic settings of a SOCKS proxy worked because
>> it is handled by Java old blocking IO.
>>
>> However after the JNDI removal we only support the LDAP API which uses
>> Mina and new IO where those system properties don't work [7].
>>
>> I'd suggest to remove that preference page and related documentation
>> because its presence gives users the impression it would work.
>>
>> Remains the question if we should implement proxy support properly in
>> Studio. It's clearly possible, Mina even implements a proxy filter and
>> connector. However it's significant effort and requires changes in the
>> LDAP API and new UIs in Studio and proper unit/integration testing. On
>> the other side there are dedicated tools which provide transparent SOCKS
>> proxy support. So I have doubts if it makes sense to implement it in
>> Studio.
>>
>> Thoughts?
>>
>> Kind Regards,
>> Stefan
>>
>>
>> [1] https://issues.apache.org/jira/browse/DIRSTUDIO-501
>> [2] https://issues.apache.org/jira/browse/DIRSTUDIO-846
>> [3] https://issues.apache.org/jira/browse/DIRSTUDIO-1269
>> [4]
>>
>> https://nightlies.apache.org/directory/studio/2.0.0.v20210213-M16/userguide/apache_directory_studio/network_connections.html
>> [5]
>>
>> https://docs.oracle.com/javase/8/docs/api/java/net/doc-files/net-properties.html
>> [6] https://bugs.eclipse.org/bugs/show_bug.cgi?id=291717
>> [7] https://bugs.openjdk.java.net/browse/JDK-8199457
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to