Нет описания

eugene b97bbbfe20 go fmt'ed 11 лет назад
psiphon b97bbbfe20 go fmt'ed 11 лет назад
.gitignore 713c12cfa2 Added config and db files to gitignore 11 лет назад
LICENSE 878ccd5658 initial version 11 лет назад
README.md fbd5a23b90 Fixed: poor meek performance due sending only one Write() buffer per round trip instead of consolidating buffers up to max payload size. Now using a single, synchronized write buffer. Also implemented blocking on full receive buffer. 11 лет назад
psiphonTunnelCore.go 878ccd5658 initial version 11 лет назад
psiphonTunnelCore_test.go 878ccd5658 initial version 11 лет назад

README.md

Psiphon 3 Tunnel Core README

Overview

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.

Status

This project is currently at the proof-of-concept stage. Current production Psiphon client code is available at our main repository.

TODO (proof-of-concept)

  • PendingConns: is interrupting connection establishment worth the extra code complexity?
  • prefilter entries by capability; don't log "server does not have sufficient capabilities"
  • log noise: "use of closed network connection"
  • log noise(?): 'Unsolicited response received on idle HTTP channel starting with "H"'
  • use ContextError in more places
  • build/test on Android and iOS
  • disconnect all local proxy clients when tunnel disconnected
  • add connection and idle timeouts to proxied connections where appropriate

TODO (future)

  • SOCKS5 support
  • SSH compression
  • preemptive reconnect functionality
    • unfronted meek almost makes this obsolete, since meek sessions survive underlying HTTP transport socket disconnects. The client could prefer unfronted meek protocol when handshake returns a preemptive_reconnect_lifetime_milliseconds.
  • split tunnel support
  • implement page view stats
  • implement local traffic stats (e.g., to display bytes sent/received)
  • control interface (w/ event messages)?
  • VpnService compatibility
  • upstream proxy support
  • support upgrades
    • download entire client
    • download core component only
  • try multiple protocols for each server (currently only tries one protocol per server)
  • consider ability to multiplex across multiple tunnel sessions
  • support a config pushed by the network
    • server can push preferred/optimized settings; client should prefer over defaults
    • e.g., etablish worker pool size; multiplex tunnel pool size
  • overlap between httpProxy.go and socksProxy.go: refactor?

Licensing

Please see the LICENSE file.

Contacts

For more information on Psiphon Inc, please visit our web site at:

www.psiphon.ca