Skip to content

UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port #81409

@vaizki

Description

@vaizki
mannequin
BPO 37228
Nosy @pitrou, @larryhastings, @ned-deily, @njsmith, @asvetlov, @ambv, @1st1, @dacut, @tirkarthi, @aeros
PRs
  • bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR #17311
  • [3.8] bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR (GH-17311) #17529
  • [3.7] bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR (GH-17311) (GH-17529) #17570
  • [3.6] bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR (GH-17311). #17571
  • bpo-37228: Fix warnings in test_asyncio.test_base_events #17577
  • [3.8] bpo-37228: Fix warnings in test_asyncio.test_base_events (GH-17577) #17579
  • [3.7] bpo-37228: Fix warnings in test_asyncio.test_base_events (GH-17577) #17580
  • [3.6] bpo-37228: Fix warnings in test_asyncio.test_base_events (GH-17577) #17581
  • bpo-37228: Add whatsnew for removal of loop.create_datagram_endpoint()'s *reuse_address* parameter #17595
  • [3.8] bpo-37228: Add whatsnew for removal of loop.create_datagram_endpoint()'s *reuse_address* parameter #17630
  • [3.7] bpo-37228: Add whatsnew for removal of loop.create_datagram_endpoint()'s *reuse_address* parameter #17631
  • [3.6] bpo-37228: Add whatsnew for removal of loop.create_datagram_endpoint()'s *reuse_address* parameter #17632
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2021-05-22.00:02:37.943>
    created_at = <Date 2019-06-11.09:36:54.350>
    labels = ['type-security', '3.7', '3.8', '3.9', 'expert-asyncio']
    title = 'UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port'
    updated_at = <Date 2021-05-22.18:53:33.543>
    user = 'https://bugs.python.org/vaizki'

    bugs.python.org fields:

    activity = <Date 2021-05-22.18:53:33.543>
    actor = 'aeros'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-05-22.00:02:37.943>
    closer = 'ned.deily'
    components = ['asyncio']
    creation = <Date 2019-06-11.09:36:54.350>
    creator = 'vaizki'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 37228
    keywords = ['patch']
    message_count = 64.0
    messages = ['345209', '345210', '356854', '356855', '356856', '356876', '356897', '356909', '356910', '356927', '356956', '357011', '357018', '357039', '357040', '357042', '357049', '357066', '357068', '357101', '357103', '357108', '357109', '357115', '357123', '357124', '357126', '357127', '357128', '357131', '357143', '357145', '357154', '357177', '357217', '357295', '357335', '357377', '357985', '357990', '358101', '358104', '358105', '358162', '358244', '358245', '358246', '358247', '358248', '358249', '358252', '358254', '358288', '358289', '358291', '358292', '358293', '358294', '358372', '358531', '362636', '394171', '394185', '394186']
    nosy_count = 11.0
    nosy_names = ['pitrou', 'larry', 'ned.deily', 'njs', 'asvetlov', 'lukasz.langa', 'yselivanov', 'dacut', 'xtreak', 'vaizki', 'aeros']
    pr_nums = ['17311', '17529', '17570', '17571', '17577', '17579', '17580', '17581', '17595', '17630', '17631', '17632']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'security'
    url = 'https://bugs.python.org/issue37228'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions