wallhack

package module
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

README

Go Reference

wallhack

Connect two linux tun interfaces over a TLS connection together. Use systemd as hard as possible for that. I use this as a tunnel for wireguard connections from and to nodes that are behind insane network setups.

This project is released under GNU Affero General Public License v3.0, see LICENCE file in this repo for more info.

Documentation

Index

Constants

View Source
const (
	// PluginPathEnvName is the environment name that contains the path to a go plugin that is loaded by wallhack
	// for serving extra stuff.
	PluginPathEnvName = "WALLHACK_PLUGIN_PATH"

	// PluginNewSymbolName is the name of the symbol within the plugin that is responsible for
	// returning the Plugin interface. Needs to be NewPlugin.
	PluginNewSymbolName = "New"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin interface {
	TLSConfig() *tls.Config
	Listen(context.Context, net.Listener) error
}

Plugin defines what methods a wallhack plugin needs to implement.

Directories

Path Synopsis
cmd
Package internal is responsible for bootstrapping wallhack and run it.
Package internal is responsible for bootstrapping wallhack and run it.
bridge
Package bridge is responsible for bridging linux tuns over network connections.
Package bridge is responsible for bridging linux tuns over network connections.
client
Package client provides wallhack client mode.
Package client provides wallhack client mode.
server
Package server is running wallhack in server mode.
Package server is running wallhack in server mode.
server/listener
Package listener handles TLS ALPN routing magic.
Package listener handles TLS ALPN routing magic.

Jump to

Keyboard shortcuts

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