Structs§
- Args 🔒
- Tunnel SOCKS5 traffic through obfs4 connections
- Bridge
Line 🔒Parse Error - Error defined to denote a failure to get the bridge line
- Forwarding
Creds 🔒 - Store the data we need to connect to the obfs4 client
Enums§
- Command 🔒
- Specify which mode we wish to use the program in
Constants§
- CLIENT_
STATE_ 🔒LOCATION - The location where the obfs4 client will store its state
- SERVER_
STATE_ 🔒LOCATION - The location where the obfs4 server will store its state
Functions§
- build_
client_ 🔒config - Create the config to launch an obfs4 client process
- build_
server_ 🔒config - Create the config to launch an obfs4 server process
- connect_
to_ 🔒obfs4_ client - Create a SOCKS5 connection to the obfs4 client
- launch_
obfs4_ 🔒client_ process - Launch obfs4 client process
- launch_
obfs4_ 🔒server_ process - Launch obfs4 server process
- main 🔒
- Main function, ties everything together and parses arguments etc.
- read_
cert_ 🔒info - Read cert info and relay it to the user
- run_
forwarding_ 🔒server - Launch the dumb TCP pipe, whose only job is to abstract away the obfs4 client and its complicated setup, and just forward bytes between the obfs4 client and the client
- run_
socks5_ 🔒server - Run the final hop of the connection, which finally makes the actual network request to the intended host and relays it back