KYSDK-NET(8) System Administration Utilities KYSDK-NET(8)

kysdk-net - KYLIN SDK Network Information Service

kysdk-net

kysdk-net is a network information service daemon in the KYLIN SDK system. This service provides comprehensive network information query functionality, including collection and management of network-related data such as port status, routing information, firewall rules, network connections, and DNS configuration.

The service provides its functionality through a D-Bus interface with the service name `com.kylin.kysdk.Net`, allowing other applications to obtain system network information through D-Bus calls.

Provides TCP/UDP port status query functionality, including specific port status and port range status queries
Obtains system routing table information, particularly default gateway information
Retrieves firewall chain and rule information through iptables
Obtains information about processes occupying network ports
Retrieves network configuration information such as hosts file and resolv.conf
Detects network link types (Ethernet/WiFi), link status, etc.
Obtains wireless network interface information including operating mode, frequency, channel, and rate
Retrieves IPv4 and IPv6 DHCP configuration information

Retrieves status information for the specified port number
Retrieves status information for the specified port range
Retrieves routing table information
Retrieves iptables firewall rules
Retrieves network port to process association information
Retrieves list of ports in listening state
Retrieves hosts file content
Retrieves DNS resolution configuration
Retrieves network link type
Checks connection status with specified IP and port
Retrieves various WiFi-related information (mode, frequency, channel, rate, etc.)
Retrieves IPv4 DHCP configuration information
Retrieves IPv6 DHCP configuration information

/usr/bin/kysdk-net
Executable file path
/etc/systemd/system/kysdk-net.service
systemd service configuration file

This tool runs as a systemd service with the service file kysdk-net.service, communicating through D-Bus interface with service name `com.kylin.kysdk.Net`.

The service provides the following interfaces through D-Bus: - getFirewallState: Retrieve firewall status - getProcPort: Retrieve process port information

KylinSoft Co., Ltd.

Copyright (C) 2023-2025, KylinSoft Co., Ltd.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

systemd(1), dbus-daemon(1), iptables(8), NetworkManager(8)

2025 Version 1.0