ipsec

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddXFRMPolicy

func AddXFRMPolicy(myLease, remoteLease *subnet.Lease, dir netlink.Dir, reqID int) error

func DeleteXFRMPolicy

func DeleteXFRMPolicy(localSubnet, remoteSubnet *net.IPNet, localPublicIP, remotePublicIP net.IP, dir netlink.Dir, reqID int) error

func New

Types

type CharonIKEDaemon

type CharonIKEDaemon struct {
	// contains filtered or unexported fields
}

func NewCharonIKEDaemon

func NewCharonIKEDaemon(ctx context.Context, wg sync.WaitGroup, espProposal string) (*CharonIKEDaemon, error)

func (*CharonIKEDaemon) LoadConnection

func (charon *CharonIKEDaemon) LoadConnection(localLease, remoteLease *subnet.Lease,
	reqID, encap string) error

func (*CharonIKEDaemon) LoadSharedKey

func (charon *CharonIKEDaemon) LoadSharedKey(remotePublicIP, password string) error

func (*CharonIKEDaemon) UnloadCharonConnection

func (charon *CharonIKEDaemon) UnloadCharonConnection(localLease,
	remoteLease *subnet.Lease) error

type IPSECBackend

type IPSECBackend struct {
	// contains filtered or unexported fields
}

func (*IPSECBackend) RegisterNetwork

func (be *IPSECBackend) RegisterNetwork(
	ctx context.Context, wg sync.WaitGroup, config *subnet.Config) (backend.Network, error)

type Uri

type Uri struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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