iptablessync

package
v0.7.22 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package iptablessync is responsible for creating the necessary chains, ipsets, hooking them in the appropriate order and monitoring them

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultSyncInterval specifies the default value for arpsync interval in seconds
	DefaultSyncInterval = 120
)

Functions

func Watch

func Watch(syncInterval int, mc metadata.Client) error

Watch checks the iptables chains periodically

Types

type IPTablesWatcher

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

IPTablesWatcher makes sure the order of the chains is maintained

Jump to

Keyboard shortcuts

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