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 ¶
View Source
const ( // HTTPPluginPathEnvName is the environment name that contains the path to a go plugin that is loaded by wallhack // for serving extra HTTP stuff. HTTPPluginPathEnvName = "WALLHACK_HTTP_PLUGIN" // HTTPPluginServerSetupSymbolName is the name of the symbol within the HTTP plugin that is responsible for // setting up a given http server for the plugins purpose. Needs to have the signature func(*http.Server) error. HTTPPluginServerSetupSymbolName = "SetupHTTPServer" // HTTPPluginTLSConfigSetupSymbolName is the name of the symbol within the HTTP plugin that is responsible for // setting up a given tls config for the plugins purpose. Needs to have the signature func(*tls.Config) error. HTTPPluginTLSConfigSetupSymbolName = "SetupTLSConfig" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.