Skip to content
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

all ports: don't set SO_REUSEADDR for random port #57

Closed
jkralik opened this issue Jun 22, 2021 · 1 comment
Closed

all ports: don't set SO_REUSEADDR for random port #57

jkralik opened this issue Jun 22, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@jkralik
Copy link
Member

jkralik commented Jun 22, 2021

What

When SO_REUSEADDR is set, then multiple process of device with small chance system can peak same port for coap, coaps, coap+tcp, coaps+tcp.

Note

For linux it is fixed by PR: #56
For other ports it's need to be implemented too.

Replication:

It is replicable with 1000 processes (one per device) via docker with network host - cca 20 ports are shared among devices.

Priority

Trivial - linux is used mainly for docker, so for other ports it is unusual to multiple processes of devices.

@jkralik jkralik added the bug Something isn't working label Jun 22, 2021
@WAvdBeek
Copy link
Contributor

fixed pull request #56 from iotivity/fix/sharedPort

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants