obfs2

package
v0.0.0-...-7ea316a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2024 License: BSD-2-Clause, BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

Package obfs2 provides an implementation of the Tor Project's obfs2 obfuscation protocol. This protocol is considered trivially broken by most sophisticated adversaries.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transport

type Transport struct{}

Transport is the obfs2 implementation of the base.Transport interface.

func (*Transport) ClientFactory

func (t *Transport) ClientFactory(stateDir string) (base.ClientFactory, error)

ClientFactory returns a new obfs2ClientFactory instance.

func (*Transport) Name

func (t *Transport) Name() string

Name returns the name of the obfs2 transport protocol.

func (*Transport) ServerFactory

func (t *Transport) ServerFactory(stateDir string, args *pt.Args) (base.ServerFactory, error)

ServerFactory returns a new obfs2ServerFactory instance.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL