Skip to main content

I2P bindings for Twisted

Project description

txi2p is a set of I2P bindings for Twisted 10.1 or greater.

APIs

I2P endpoints will be backed by several APIs. BOB is the only one implemented.

The Twisted plugin for clientFromString() and serverFromString() will not work until Twisted ticket #5069 has landed.

BOB

BOBI2PClientEndpoint parameters:

  • bobEndpoint - An endpoint that will connect to the BOB API.

  • dest - The I2P Destination to connect to.

  • tunnelNick (optional) - The tunnel nickname to use. If a tunnel with this nickname already exists, it will be used. The default is an auto-generated nickname.

  • inhost (optional) - The host that the tunnel created by BOB will listen on. Defaults to localhost.

  • inport (optional) - The port that the tunnel created by BOB will listen on. Defaults to a port over 9000.

BOBI2PServerEndpoint parameters:

  • bobEndpoint - An endpoint that will connect to the BOB API.

  • keypairPath - Path to a local file containing the keypair to use for the server Destination. If non-existent, new keys will be generated and stored.

  • tunnelNick (optional) - The tunnel nickname to use. If a tunnel with this nickname already exists, it will be used. The default is an auto-generated nickname.

  • outhost (optional) - The host that the tunnel created by BOB will forward data to. Defaults to localhost.

  • outport (optional) - The port that the tunnel created by BOB will forward data to. Defaults to a port over 9000.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

txi2p-0.1.2.tar.gz (15.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page