Opened at 2020-12-15T18:28:59Z
#3563 new defect
_tub_portlocation tries to detect port 0 configuration but does so incompletely
Reported by: | exarkun | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | undecided |
Component: | unknown | Version: | n/a |
Keywords: | Cc: | ||
Launchpad Bug: |
Description
For some reason configuring the main tub to listen on port 0 is not allowed:
for port in tubport.split(","): if port in ("0", "tcp:0"): raise PortAssignmentRequired()
However this doesn't catch all possible port zero configuration strings. For example, "tcp:port=0" and "tcp:0:interface=127.0.0.1" will both also listen on port 0 and not get caught by this check.
Note: See
TracTickets for help on using
tickets.