#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:


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=" will both also listen on port 0 and not get caught by this check.

Change History (0)

Note: See TracTickets for help on using tickets.