summaryrefslogtreecommitdiff
path: root/obfs4proxy/obfs4proxy.go
AgeCommit message (Collapse)Author
2014-05-21Add support for a log scrubber and log a session id.Yawning Angel
This fixes #6.
2014-05-21Finish adding godoc comments to all public interfaces.Yawning Angel
2014-05-20Allow logging to be disabled (default).Yawning Angel
Part of #6, still need to make logs nicer.
2014-05-15Send the DRBG seed as a packetTypePrngSeed post server handshake.Yawning Angel
This fixes #3, and brings the code to be on par with the delopyed versions of ScrambleSuit in terms of features.
2014-05-15Load the drbg-seed from the ServerTransportOptions args.Yawning Angel
This also adds the drgb-seed option to the `-gen` obfs4proxy output.
2014-05-15Make the output from "-gen" be more useful.Yawning Angel
2014-05-15Use os.MkdirAll() for creating the pt state directory.Yawning Angel
2014-05-14Remove a newline to make godoc work (No functional changes).Yawning Angel
2014-05-13Add vim modelines to some files (No functional changes).Yawning Angel
2014-05-13Fix up import.Yawning Angel
2014-05-13Fix copyLoop to break out the other goroutine on graceful exit.Yawning Angel
This should fix sockets getting stuck in CLOSE_WAIT.
2014-05-12Fix logging again.Yawning Angel
On second thought instead of using log.Panicf(), panic() and do the logging with recover(). This somewhat centralizes logging in obfs4proxy, which will be easier to change when I invariably decide to do logging differently in the future.
2014-05-12Log and propagate errors between the 2 goroutines in copyLoop.Yawning Angel
This fixes #1.
2014-05-12Clean up the logging a bit.Yawning Angel
2014-05-12Run go fmt on obfs4proxy.go (No functional changes).Yawning Angel
2014-05-12Move to a unified client/server binary, and fix bugs.Yawning Angel
* The old and the busted: obfs4-[client,server]. * The new hotness: obfs4client. * Add obfs4.ServerHandshake() that servers need to call after a successful return from Accept(). This allows implementations to move the handshake into a goroutine or whatever.