jail

package module
v0.0.0-...-5f2806f Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 License: MIT Imports: 17 Imported by: 0

README

jail-program

Put a program into networking jail. see what it is doing over the network

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Keeper map[string]map[string]map[int]packetCounter

Keeper map["8.8.8.8"]["udp"][53].xxx

Functions

func NewJailInterface

func NewJailInterface() string

NewJailInterface to add correct veth pair names

func TrapCommandLine

func TrapCommandLine(str string)

TrapCommandLine Trap program traffic by spwn a process from command lin

func TrapPID

func TrapPID()

TrapPID Trap program traffic by PID

Types

This section is empty.

Directories

Path Synopsis
cmd
iptables command
jail command

Jump to

Keyboard shortcuts

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