common

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllowedPorts = map[int]bool{
	20: true, 21: true,
	22:    true,
	53:    true,
	80:    true,
	110:   true,
	143:   true,
	220:   true,
	443:   true,
	531:   true,
	873:   true,
	989:   true,
	990:   true,
	991:   true,
	992:   true,
	993:   true,
	995:   true,
	1194:  true,
	1293:  true,
	3690:  true,
	4321:  true,
	5222:  true,
	5322:  true,
	5228:  true,
	8080:  true,
	8332:  true,
	8333:  true,
	8888:  true,
	9418:  true,
	11371: true,
	19294: true,
	50002: true,
	64738: true,
}

AllowedPorts lists all the ports that Geph is allowed to tunnel.

Functions

func DeriveKey

func DeriveKey(uname, pwd string) natrium.EdDSAPrivate

DeriveKey derives an EdDSA key from a username and password.

Types

This section is empty.

Jump to

Keyboard shortcuts

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