tor-fw-helper.git

module
v0.0.0-...-481599e Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2015 License: BSD-3-Clause

README

tor-fw-helper - Go language tor-fw-helper rewrite.

Yawning Angel (yawning at torproject dot org)

This is a tor-fw-helper rewrite in Go that functions as a drop in replacement for the original C code.

Features:

  • Interface compatibility with the C tor-fw-helper.
  • UPnP based NAT traversal.
  • NAT-PMP based NAT traversal.

Limitations:

  • go-fw-helper's "-T" option does not write to the log file.
  • As the helper needs to be able to receive UDP packets, the local firewall's config may need to be altered.
  • Lease times are hardcoded to "0" for UPnP (Indefinite/1 week depending on the UPnP version) and 7200 seconds for NAT-PMP. RFC 6886 includes dire warnings about broken UPnP implementations that freak out for non-"0" lease times.

TODO:

  • Maybe also support PCP. Technically everything that speaks PCP should also speak NAT-PMP, so this is relatively low priority.

Further Reading:

Directories

Path Synopsis
Package natclient provides interfaces to various NAT port forwarding configuration methods.
Package natclient provides interfaces to various NAT port forwarding configuration methods.
base
Package base defines the common interface for the various NAT port forwarding configuration methods.
Package base defines the common interface for the various NAT port forwarding configuration methods.
natpmp
Package natpmp implements a NAT-PMP (RFC 6886) client suitable for NAT traversal.
Package natpmp implements a NAT-PMP (RFC 6886) client suitable for NAT traversal.
upnp
Package upnp implements a simple UPnP client suitable for NAT traversal.
Package upnp implements a simple UPnP client suitable for NAT traversal.
upnp/httpu
Package httpu implements a HTTP(M)U client as specified in the IETF draft "Multicast and Unicast UDP HTTP Messages".
Package httpu implements a HTTP(M)U client as specified in the IETF draft "Multicast and Unicast UDP HTTP Messages".
tor-fw-helper is a tool for opening firewalls with the various NAT traversal mechanisms.
tor-fw-helper is a tool for opening firewalls with the various NAT traversal mechanisms.

Jump to

Keyboard shortcuts

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