summaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2019-10-21Removed termmon and fixed compiler warningsBluesaxorcist
2019-10-21added dialer to the modes and removed unneccessary codeBluesaxorcist
2019-09-21added cases for parsing to OptimizerBluesaxorcist
2019-09-15Added Dust, Meeklite, and Replicant to dispatcher modesBluesaxorcist
Still needs fixing
2019-09-14refactoring the modesBluesaxorcist
2019-08-30adjusted the readme to give option of using -options or -optionsfileBluesaxorcist
2019-08-23Added a new way to parse transport options that allows for nested JSONDr. Brandon Wiley
2019-08-16made dispatcher operational for obfs4Bluesaxorcist
2017-02-22Implemented PT2 authentication modeBrandon Wiley
2017-02-22Added PT2 authentication protocolBrandon Wiley
2017-02-09Implemented -exit-on-sdin-close flagBrandon Wiley
2016-12-08Updated goptlib import paths to use shapeshifter-ipcBrandon Wiley
2016-11-16Added new command line flags and refactored ClientSetup to use themBrandon Wiley
2016-11-15Fixed import paths to use shapeshifter-dispatcher/shapeshifter-transports ↵Brandon Wiley
instead of obfs4
2016-03-31Fix package declaration in termmon_linux.goRobin Tarsiger
2016-03-31Changed import pathsBrandon Wiley
2016-03-31Moved pt_extras code from main into its own packageBrandon Wiley
2016-03-31Move termmon code from main into its own packageBrandon Wiley
2015-05-26Fix doc comment for log.Debugf.David Fifield
2015-04-15Use a built in SOCKS 5 server instead of goptlibs.Yawning Angel
Differences from my goptlib branch: * Instead of exposing a net.Listener, just expose a Handshake() routine that takes an existing net.Conn. (#14135 is irrelevant to this socks server. * There's an extra routine for sending back sensible errors on Dial failure instead of "General failure". * The code is slightly cleaner (IMO). Gotchas: * If the goptlib pt.Args datatype or external interface changes, args.go will need to be updated. Tested with obfs3 and obfs4, including IPv6.
2015-04-13Add routines for querying the log module state.Yawning Angel
Unless you have very good reason to do so, there should be no reason to actually call these ever, since the log messages are only generated if they will result in output being written to a log file.
2015-04-03Move logging wrappers into common/log, and add a DEBUG log level.Yawning Angel
Implements feature #15576.
2015-03-16Run go fmtDaniel Martí
2015-02-17Add support for acting as a ScrambleSuit client.Yawning Angel
This allows obfs4proxy to be used as a ScrambleSuit client that is wire compatible with the obfs4proxy implementation, including session ticket support, and length obfuscation. The current implementation has the following limitations: * IAT obfuscation is not supported (and is disabled in all other ScrambleSuit implementations by default). * The length distribution and probabilites are different from those generated by obfsproxy and obfsclient due to a different DRBG. * Server support is missing and is unlikely to be implemented.
2015-01-14Change the import path for go.crypto.Yawning Angel
The Go developers decided to move the go.crypto repository to golang.org/x/crypto, and also to transition from hg to git. The tip of tree code.google.com copy of the code is broken due to the import paths pointing at the new repository. While the change here is simple (just update the import location), this affects packagers as it now expects the updated package. Sorry for the inconveneince, I blame the Go people.
2014-08-23Change all the arguments to use base16 from base64.Yawning Angel
WARNING: THIS BREAKS BACKWARD COMPATIBILITY. This is primarily to work around bug #12930. Base16 was chosen over unpadded Base64 because the go runtime Base64 decoder does not handle omitting the padding. May $deity have mercy on anyone who needs to hand-enter an obfs4 bridge line because I will not.
2014-08-17Massive cleanup/code reorg.Yawning Angel
* Changed obfs4proxy to be more like obfsproxy in terms of design, including being an easy framework for developing new TCP/IP style pluggable transports. * Added support for also acting as an obfs2/obfs3 client or bridge as a transition measure (and because the code itself is trivial). * Massively cleaned up the obfs4 and related code to be easier to read, and more idiomatic Go-like in style. * To ease deployment, obfs4proxy will now autogenerate the node-id, curve25519 keypair, and drbg seed if none are specified, and save them to a JSON file in the pt_state directory (Fixes Tor bug #12605).