network

package
v0.0.0-...-ee18996 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Conns

func Conns(d *data.DiscoverJSON)

Conns fetches ports open with listening address and other process information

func DNS

func DNS(d *data.DiscoverJSON)

DNS fetches all the DNS servers in resolv.conf

func DomainName

func DomainName(d *data.DiscoverJSON)

DomainName fetches the domain name used on system

func IP

func IP(d *data.DiscoverJSON)

IP fetches the local IP address used for outbound connections

func IPRoutes

func IPRoutes(d *data.DiscoverJSON)

IPRoutes fetches the IP routes on NIX systems

func IPTables

func IPTables(d *data.DiscoverJSON)

IPTables fetches all iptables rules

func IfaceStats

func IfaceStats(d *data.DiscoverJSON)

IfaceStats fetches the Kernel Network Interface Table

func NTPRunning

func NTPRunning(d *data.DiscoverJSON)

NTPRunning detects if NTPD is running

func NTPServers

func NTPServers(d *data.DiscoverJSON)

NTPServers gets NTP servers listed in /etc/ntp.conf

Types

This section is empty.

Jump to

Keyboard shortcuts

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