Skip to content

ValueError: Passing reuse_address=True is no longer supported #124

@philipptrenz

Description

@philipptrenz

Hey there,
thanks for this great project! I'm trying to use the async server, but for Python 3.7.6 I get the following stack trace:

Traceback (most recent call last):
  File "./__main__.py", line 48, in <module>
    enable_coa=True
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 583, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.7/site-packages/pyrad/server_async.py", line 295, in initialize_transports
    loop=self.loop
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 1211, in create_datagram_endpoint
    raise ValueError("Passing `reuse_address=True` is no "
ValueError: Passing `reuse_address=True` is no longer supported, as the usage of SO_REUSEPORT in UDP poses a significant security concern.

Under Python 3.7.5 it works. But as it is an security concern, it should be fixed, right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions