You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where dproxy.py replaces tproxy by supporting the --remote cli argument as follows:
fromtproxy.appimportrunfromtproxy.configimport*importosclassRemoteAddress(Setting):
name="remote"section="the address of the remote host"cli= ["-r", "--remote"]
meta="REMOTEADDRESS"default="127.0.0.1:8080"validator=validate_stringdesc="""\ address of remote host to connect to """run()
although this approach works, it's still nicer if tproxy would provide support for extra cli arguments and possibly facilitate access to them without going through argparse in the called script.
The text was updated successfully, but these errors were encountered:
extend tproxy such that command line arguments can be passed all the way to the called script.
Current workaround:
assume the following command line (notice the extra --remote argument):
where dproxy.py replaces tproxy by supporting the --remote cli argument as follows:
while transparent2.py would look as follows:
although this approach works, it's still nicer if tproxy would provide support for extra cli arguments and possibly facilitate access to them without going through argparse in the called script.
The text was updated successfully, but these errors were encountered: