Commit Graph

157 Commits (816cff15f425d0cb87a1b996366989aa01833f99)
 

Author SHA1 Message Date
Yawning Angel 06a95ff1e0 Close connections that fail to authenticate after a while.
Like ScrambleSuit, a random interval between 1x and 5x of additional
data from the peer is read and immediately discarded before closing.

Additionally, obfs4 will close off invalid connections anywhere between
0 and 60 seconds after it determines that the incoming connection will
never complete the handshake successfully.
11 years ago
Yawning Angel c2f1e8ecb7 Clean up the logging a bit. 11 years ago
Yawning Angel 68c48cb383 Run go fmt on obfs4proxy.go (No functional changes). 11 years ago
Yawning Angel 8e14ed44ad Move to a unified client/server binary, and fix bugs.
* 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.
11 years ago
Yawning Angel f76f142340 Change documentation/comments to reflect reality (No functional changes). 11 years ago
Yawning Angel e6a8d57a23 Remove a comment that I forgot to delete, no functional changes. 11 years ago
Yawning Angel ef38b844f9 Initial import. 11 years ago