icon

Situation

  • Home
  • Quick start
  • Setup
  • Security
  • CLI
  • Roadmap
API
  • Overview
  • PostgreSQL
  • SQLite
Deploy
  • Ansible
  • Limiting footprint
  • Scheduled task
  • Sentry
Developer
  • Overview
  • Architecture
  • Contributing
  • Module
  • Store
Modules
  • Reference
  • ARP
  • Chassis
  • Docker
  • DPKG
  • Fingerprint
  • HostBasic
  • HostCPU
  • HostDisk
  • HostGPU
  • HostNetwork
  • JA4
  • LocalUsers
  • MAC Vendor
  • MSI
  • Netstat
  • Ping
  • ReverseLookup
  • RPM
  • SaaS
  • StandardProtocol
  • TCP Scan
  • TLS
  • Users
  • Zypper

HostNetwork

Previous Next

Retrieves basic network information about the host.

windows linux

HostNetworkModule retrieves basic network information about the host.

Details

It uses the net standard library to grab interfaces along with their name, MAC address, IP addresses (IPv4 and IPv6), subnet masks and go-netroute for gateway detection.

On Linux, it uses the Netlink API. On Windows, it calls GetAdaptersAddresses.

Virtual interfaces (veth, qemu) are filtered out. The module also creates subnetwork records and links each network interface to its subnets.

Dependencies

  • context

  • fmt

  • net

  • strings

  • github.com/libp2p/go-netroute
HostGPU JA4
Menu
Home Quick start Setup Security CLI Roadmap
API
Overview PostgreSQL SQLite
Deploy
Ansible Limiting footprint Scheduled task Sentry
Developer
Overview Architecture Contributing Module Store
Modules
Reference ARP Chassis Docker DPKG Fingerprint HostBasic HostCPU HostDisk HostGPU HostNetwork JA4 LocalUsers MAC Vendor MSI Netstat Ping ReverseLookup RPM SaaS StandardProtocol TCP Scan TLS Users Zypper

On This Page

Details Dependencies
shadcn theme provided by @asiffer