|
|
11 سال پیش | |
|---|---|---|
| AndroidApp | 11 سال پیش | |
| AndroidLibrary | 11 سال پیش | |
| ConsoleClient | 11 سال پیش | |
| psiphon | 11 سال پیش | |
| .gitignore | 11 سال پیش | |
| LICENSE | 11 سال پیش | |
| README.md | 11 سال پیش |
A Psiphon client component implemented in Go. This component provide core tunnel functionality, handling all aspects of connecting to Psiphon servers and relaying traffic through those servers. Local proxies provide an interface for routing traffic through the tunnel.
This component does not include a UI and does not handle capturing or routing local traffic. These major aspects are handled by other parts of Psiphon client applications.
This project is currently at the proof-of-concept stage. Current production Psiphon client code is available at our Psiphon 3 repository.
go build to make the psiphon-tunnel-core binary.psiphon package is imported using the absolute path github.com/Psiphon-Labs/psiphon-tunnel-core/psiphon; without further local configuration, go will use this version of the code and not the local copy in the repository.Run ./psiphon-tunnel-core --config psiphon.config where the config file looks like this:
{
"PropagationChannelId" : "<placeholder>",
"SponsorId" : "<placeholder>",
"RemoteServerListUrl" : "<placeholder>",
"RemoteServerListSignaturePublicKey" : "<placeholder>",
"DataStoreDirectory" : "",
"DataStoreTempDirectory" : "",
"LogFilename" : "",
"LocalHttpProxyPort" : 0,
"LocalSocksProxyPort" : 0,
"EgressRegion" : "",
"TunnelProtocol" : "",
"ConnectionWorkerPoolSize" : 10,
"TunnelPoolSize" : 1,
"PortForwardFailureThreshold" : 10,
"UpstreamHttpProxyAddress" : ""
}
Replace each <placeholder> with a value from your Psiphon network. The Psiphon server-side stack is open source and can be found in our Psiphon 3 repository. If you would like to use the Psiphon Inc. network, contact developer-support@psiphon.ca.
The project builds and runs on Android. See the AndroidLibrary README for more information about building the Go component, and the AndroidApp README for a sample Android app that uses it.
Please see the LICENSE file.
For more information on Psiphon Inc, please visit our web site at: