Socket
Socket
Sign inDemoInstall

git.torproject.org/pluggable-transports/goptlib.git

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    git.torproject.org/pluggable-transports/goptlib.git

Package pt implements the Tor pluggable transports specification. Sample client usage: Sample server usage: Some additional care is needed to handle signals and shutdown properly. See the example programs dummy-client and dummy-server. Tor pluggable transports specification: https://spec.torproject.org/pt-spec Extended ORPort: https://gitweb.torproject.org/torspec.git/tree/ext-orport-spec.txt The package implements a SOCKS5 server sufficient for a Tor client transport plugin. https://www.ietf.org/rfc/rfc1928.txt https://www.ietf.org/rfc/rfc1929.txt


Version published

Readme

Source

goptlib is a library for writing Tor pluggable transports in Go.

https://spec.torproject.org/pt-spec https://gitweb.torproject.org/torspec.git/tree/ext-orport-spec.txt

To download a copy of the library into $GOPATH: go get git.torproject.org/pluggable-transports/goptlib.git

See the included example programs for examples of how to use the library. To build them, enter their directory and run "go build". examples/dummy-client/dummy-client.go examples/dummy-server/dummy-server.go The recommended way to start writing a new transport plugin is to copy dummy-client or dummy-server and make changes to it.

There is browseable documentation here: https://godoc.org/git.torproject.org/pluggable-transports/goptlib.git

Report bugs to the tor-dev@lists.torproject.org mailing list or to the bug tracker at https://trac.torproject.org/projects/tor.

To the extent possible under law, the authors have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty. See COPYING.

FAQs

Last updated on 16 Nov 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc