Opened 5 years ago

Closed 5 years ago

#12083 closed defect (fixed)

obfsproxy: Don't run all setup() functions in external mode

Reported by: asn Owned by: asn
Priority: Medium Milestone:
Component: Archived/Obfsproxy Version:
Severity: Keywords: easy
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

This function is called when obfsproxy is in external mode, and runs all the setup() methods of all the obfsproxy transports.

def run_transport_setup(pt_config):
    """Run the setup() method for our transports."""
    for transport, transport_class in transports.transports.items():
        transport_class['base'].setup(pt_config)

I would argue that we should only call setup() for the transport that we plan to use when in external mode.

Child Tickets

Change History (1)

comment:1 Changed 5 years ago by cteberg

Resolution: fixed
Status: newclosed

This was fixed in commit: 3d636a9660ffef71f1ec3d5ecbe4179098ebcbd7

Note: See TracTickets for help on using tickets.