ipsec

package
v1.13.2-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Overview

Package ipsec provides networkservice.NetworkService{Client,Server} chain elements for the ipsec mechanism The implementation is based on IKEv2 protocol

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateRSAKey added in v1.11.0

func GenerateRSAKey() (privateKeyFileName string, err error)

GenerateRSAKey generates RSA private key

func NewClient

func NewClient(vppConn api.Connection, tunnelIP net.IP, options ...Option) networkservice.NetworkServiceClient

NewClient - returns a new client for the IPSec remote mechanism

func NewServer

func NewServer(vppConn api.Connection, tunnelIP net.IP, options ...Option) networkservice.NetworkServiceServer

NewServer - returns a new server for the IPSec remote mechanism

Types

type Option added in v1.11.0

type Option func(o *ipsecOptions)

Option is an option pattern for ipsec chain element

func WithIKEv2PrivateKey added in v1.11.0

func WithIKEv2PrivateKey(privateKeyFileName string) Option

WithIKEv2PrivateKey - sets private key paths

Directories

Path Synopsis
Package mtu computes the mtu for the ipsec tunnel and adds it to the mechanism
Package mtu computes the mtu for the ipsec tunnel and adds it to the mechanism

Jump to

Keyboard shortcuts

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