-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows: Support setting permissions on Unix domain sockets #11354
Comments
The test that demonstrates this most succinctly is We have an underlying issue that we are not able to even |
We are considering disabling that individual test for now on Windows before this issue is resolved |
related general issue: #9571 |
Is setting granular file permissions are requirement for a high priority scenario or is it a good to have? Is there a way to see what the customer demand for this is? What I am thinking is that we could have this API in Windows with the current limitation. Basically only setting the socket read-only or write and write. And then offer an additional module just for win32 ACL. This is similar to the approach Python is taking. Is there a way we could add win32 ACL support as plugin? |
further discussion: https://envoyproxy.slack.com/archives/CNAK09BSB/p1590785118071500 We are seeing differences in behavior about |
as per @wrowe catching this: golang/go#33357 (comment) |
…#11423) Do not use SO_REUSEADDR on Windows as it does not behave the same as Linux and other BSD socket stacks Disable pipe mode test on Windows, see #11354 socket_option_factory_test no longer hard codes socket option value as struct linger consists of ushorts not ints on Windows allocate callback handles on heap instead of stack to work around MSVC enable address_impl_speed_test_benchmark_test additionally, tag new failing tests on Windows Signed-off-by: Sunjay Bhatia <[email protected]> Co-authored-by: Sunjay Bhatia <[email protected]> Signed-off-by: William A Rowe Jr <[email protected]> Co-authored-by: William A Rowe Jr <[email protected]>
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions. |
I'd suggest this issue remains unresolved and relevant |
…envoyproxy#11423) Do not use SO_REUSEADDR on Windows as it does not behave the same as Linux and other BSD socket stacks Disable pipe mode test on Windows, see envoyproxy#11354 socket_option_factory_test no longer hard codes socket option value as struct linger consists of ushorts not ints on Windows allocate callback handles on heap instead of stack to work around MSVC enable address_impl_speed_test_benchmark_test additionally, tag new failing tests on Windows Signed-off-by: Sunjay Bhatia <[email protected]> Co-authored-by: Sunjay Bhatia <[email protected]> Signed-off-by: William A Rowe Jr <[email protected]> Co-authored-by: William A Rowe Jr <[email protected]> Signed-off-by: yashwant121 <[email protected]>
In the Envoy API for Pipe addresses, we explicitly support setting the file mode on Unix domain socket files, see:
envoy/api/envoy/config/core/v3/address.proto
Line 30 in ece1b6a
This file mode pattern does not translate well to Windows, to get similar granular permission control we would need to leverage Windows ACLs.
This issue is for discussion around this topic and to consider different options, some that come to mind immediately:
The text was updated successfully, but these errors were encountered: