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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址