server

package
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: 14 Imported by: 0

Documentation

Overview

Package server is running wallhack in server mode. It listens on a listener given by systemd and attempts to attach tun interfaces identified by the certificate of connecting clients. It then streams frames between the connection and the tun.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server added in v0.0.6

type Server struct {
	Cert string `yaml:"cert"`
	Key  string `yaml:"key"`
	CA   string `yaml:"ca"`
}

Server represents the credentials for running in server mode.

func (Server) Run added in v0.0.6

func (s Server) Run(ctx context.Context, log logr.Logger, service *service.Service) error

Run wallhack in server mode.

Directories

Path Synopsis
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