Opened 5 years ago

#9033 defect new

twistd portforward plugin default is not a valid strport, and argument help indicates integers and not ports

Reported by: philmayers Owned by:
Priority: low Milestone:
Component: core Keywords: twistd portforward
Cc: Branch:
Author:

Description

Following 17.1 release the default portforward fails

$ v/bin/twistd portforward
Traceback (most recent call last):
...
ValueError: Unknown endpoint type: '6666'

Additionally specifying strport values in both places fails

$ v/bin/twistd portforward -p tcp:6666 -d tcp:6665
...
ValueError: invalid literal for int() with base 10: 'tcp:6665'

Also the argument help says

$ v/bin/twistd portforward -h
Usage: twistd [options]
Options:
  -p, --port=       Set the port number. [default: 6666]
  -h, --host=       Set the host. [default: localhost]
  -d, --dest_port=  Set the destination port. [default: 6665]

Change History (0)

Note: See TracTickets for help on using tickets.