|
|
5 лет назад | |
|---|---|---|
| ClientLibrary | 5 лет назад | |
| ConsoleClient | 5 лет назад | |
| MobileLibrary | 5 лет назад | |
| Server | 5 лет назад | |
| contributors | 7 лет назад | |
| psiphon | 5 лет назад | |
| vendor | 5 лет назад | |
| .gitignore | 7 лет назад | |
| .travis.yml | 6 лет назад | |
| CLA-entity.md | 10 лет назад | |
| CLA-individual.md | 10 лет назад | |
| CONTRIBUTING.md | 10 лет назад | |
| LICENSE | 11 лет назад | |
| README.md | 5 лет назад |
Psiphon is an Internet censorship circumvention system.
The tunnel core project includes tunneling clients and a server, which together implement all aspects of evading blocking and relaying traffic through Psiphon.
All Psiphon open source projects, including the complete open source code for Android, iOS, and Windows clients may be found at www.github.com/Psiphon-Inc/psiphon.
For more information about Psiphon Inc., please visit our web site at www.psiphon.ca.
psiphon-tunnel-core
└── ClientLibrary General client libraries
└── ConsoleClient CLI client program
└── MobileLibrary Android/iOS client libraries
└── Server Server program
└── psiphon Client code package
└── common\... Common code packages
└── server Server code package
Official binaries are avaiable at:
For these instructions, use:
Run the "generate" mode of psiphond to generate configs, setting the IP address as appropriate; this is the address the client will use to connect to the server.
$ ./psiphond -ipaddress 127.0.0.1 -protocol OSSH:9999 -protocol generate
$ ls
psiphond
psiphond.config
psiphond-osl.config
psiphond-tactics.config
psiphond-traffic-rules.config
server-entry.dat
Create a client config file, copying the contents of server-entry.dat to the TargetServerEntry field.
$ cat server-entry.dat
3132372e302e302e31202020207b22746167223a22222c2269[...]
$ cat client.config
{
"LocalHttpProxyPort" : 8080,
"LocalSocksProxyPort" : 1080,
"PropagationChannelId" : "24BCA4EE20BEB92C",
"SponsorId" : "721AE60D76700F5A",
"TargetServerEntry" : "3132372e302e302e31202020207b22746167223a22222c2269[...]"
}
$ ./psiphond run
{"localAddress":"127.0.0.1:9999","msg":"listening","tunnelProtocol":"OSSH",[...]}
{"localAddress":"127.0.0.1:9999","msg":"running","tunnelProtocol":"OSSH",[...]}
[...]
$ ./ConsoleClient -config ./client.config
{"data":{"port":1080},"noticeType":"ListeningSocksProxyPort",[...]}
{"data":{"port":8080},"noticeType":"ListeningHttpProxyPort",[...]}
[...]
{"data":{"count":1},"noticeType":"Tunnels",[...]}
Use the local SOCKS proxy (port 1080) or HTTP proxy (port 8080) to tunnel traffic.
Psiphon Tunnel Core uses: