Skip to content
July 6, 2026
  • Linkedin
  • Twitter
  • Facebook
  • Youtube

Daily CyberSecurity

Zero-hour alerts. Unmatched analysis.

Primary Menu
  • Home
  • CVE Watchtower
  • Cyber Criminals
  • Data Leak
  • Linux
  • Malware
  • Vulnerability
  • Submit Press Release
  • Vulnerability Report
Light/Dark Button
  • Home
  • Linux
  • Linux commands to view all the connection process specified information
  • Linux

Linux commands to view all the connection process specified information

Do Son May 23, 2017 1 minute read
Add Daily CyberSecurity as a preferred
source on Google

A function that often needs to be used to locate a network failure in a process is to find information about all connections. Usually find a port connection information using ss or netstat can easily get, if it is active with other machines to establish the connection information can be obtained through the lsof command.

For example, I want to see the process frps all the current pid connection information, first obtain the process:

ps -ef|grep frps


The result is:

wcl 4721 1 0 10:27 ? 00:00:01 ./frps

 

You can see the process pid 4721 , and then through the lsof command to view all the TCP connection information :

lsof -p 4721 -nP | grep TCP



frps 4721 wcl 4u IPv6 117051764 0t0 TCP *:7000 (LISTEN)
frps 4721 wcl 6u IPv6 117051765 0t0 TCP *:7003 (LISTEN)
frps 4721 wcl 7u IPv6 117092563 0t0 TCP 139.129.11.120:7000->116.231.70.223:61545 (ESTABLISHED)
frps 4721 wcl 8u IPv6 117092565 0t0 TCP *:6000 (LISTEN)
frps 4721 wcl 9u IPv6 117334426 0t0 TCP 139.129.11.120:7000->116.237.93.230:64898 (ESTABLISHED)
frps 4721 wcl 10u IPv6 117053538 0t0 TCP 139.129.11.120:7000->115.231.20.123:41297 (ESTABLISHED)
frps 4721 wcl 11u IPv6 117053540 0t0 TCP *:6005 (LISTEN)
frps 4721 wcl 12u IPv6 117334428 0t0 TCP *:6004 (LISTEN)

 

From the lsof output can clearly see the frps process to monitor the five ports, and in the 7000 port on the establishment of the three connections , connect the two ends of the ip information can also be found.

The -nP parameter of lsof is used to display the ip address and port number as normal numeric types, otherwise it may be represented by aliases.

Get Zero-Hour Vulnerability Alerts

Critical CVEs, CVSS scores, and PoC updates — straight to your inbox every week.


We respect your inbox. Unsubscribe anytime.

Support Our Threat Intelligence

If you find our CVE report and cybersecurity news helpful, consider supporting our work.

Buy Me a Coffee Logo Buy Me a Coffee PayPal
Crypto QR Code
USDT (TRC20):
TN8BdV8cp4T1Cd28gK9qTAnZknzzuwyUtm
USDT (ERC20):
0x3725e1a7d3bc5765499fa6aaafe307fabcd75bce

Share this article:

Facebook Post LinkedIn Telegram
Written by
@DdoS · Security Researcher

Do Son

Do Son is the Founder and Editor of SecurityOnline.info. Working in cybersecurity since 2013, he reports on vulnerabilities, malware, and emerging threats, providing timely analysis to help organizations and individuals stay ahead of evolving risks.

Tags: Linux

Search

Translation

CVE WATCHTOWER
🚨

Receive alerts for vulnerabilities being exploited in the wild.

⚡

Get notified instantly when a Proof of Concept (PoC) exploit is published.

🔍

Access critical info on vulnerabilities even when marked as "RESERVED".

🧠

Insights powered by decades of expertise and global intelligence sources.

🎯

Customize alerts with up to 10 keywords for your specific tech stack.

📊

Export the raw CVE database for SIEM integration and reporting.

Upgrade Package

🚨 Active Exploits in the Wild

  • CVE-2026-20896CVSS 9.8
    Gitea Docker image: `REVERSE_PROXY_TRUSTED_PROXIES = *` default lets any source IP impersonate any user via `X-WEBAUTH-USER`
    Admin intel📅 Updated: Jul 6, 2026
  • CVE-2026-48282CVSS 10.0
    ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Limitation of a Pathname to a Restricted...
    Admin intel📅 Updated: Jul 3, 2026
  • CVE-2024-14037CVSS 9.8
    Redsea Cloud eHR contains an arbitrary file upload vulnerability that allows unauthenticated attackers to achieve remote code execution...
    Admin intel📅 Updated: Jul 3, 2026
  • CVE-2026-8451CVSS 8.8
    Insufficient input validation in NetScaler ADC and NetScaler Gateway leading to memory overread if NetScaler ADC or NetScaler Gateway is configured...
    Admin intel📅 Updated: Jul 2, 2026
  • CVE-2026-8037CVSS 9.6
    OS Command Injection Remote Code Execution Vulnerability in API in Progress ADC Products allows an un-authenticated attacker to...
    Admin intel📅 Updated: Jul 1, 2026
  • CVE-2026-45659CVSS 8.8
    Deserialization of untrusted data in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.
    CISA KEV📅 Added to KEV: Jul 1, 2026
  • CVE-2026-48558CVSS 10.0
    SimpleHelp versions 5.5.15 and prior and 6.0 pre-release versions contain an authentication bypass vulnerability in the OIDC authentication...
    Admin intelCISA KEV📅 Added to KEV: Jun 29, 2026📅 Updated: Jun 29, 2026
  • CVE-2026-46817CVSS 9.8
    Vulnerability in the Oracle Payments product of Oracle E-Business Suite (component: File Transmission). Supported versions that are affected...
    Admin intel📅 Updated: Jun 29, 2026
Powered by CVE Watchtower

🔴 Live Critical Threats

  • CVE-2026-9181CVSS 9.8
    ArcGIS Server contains a directory traversal vulnerability. An unauthenticated attacker could exploit...
  • CVE-2026-48614CVSS 9.9
    An improper authorization vulnerability in the Plesk XML API allows an authenticated...
  • CVE-2026-48316CVSS 10.0
    ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input...
  • CVE-2026-49445CVSS 9.2
    ### Impact When Cilium L7 functionality is enabled on a cluster, the...
  • CVE-2026-52889CVSS 9.8
    ## Summary Formie Hidden fields could evaluate request-derived values as Twig during...
  • CVE-2025-53830CVSS 9.1
    Anti-Virus for ownCloud is an anti-virus application for file storage, synchronization, and...
  • CVE-2025-53827CVSS 9.1
    ownCloud Core is the server-side component of the file storage, synchronization, and...
  • CVE-2026-6382CVSS 9.1
    The FileOrganizer WordPress plugin before 1.1.9, Advanced File Manager WordPress plugin before...
  • CVE-2026-14808CVSS 9.8
    Prog Management System developed by PROG MIS has a Exposure of Sensitive...
  • CVE-2026-14807CVSS 9.8
    ERP App developed by PROG MIS has a Use of Hard-coded Credentials...
Powered by CVE WATCHTOWER

Our Websites
  • Penetration Testing Tools
  • The Daily Information Technology
  • Daily CyberSecurity

    • About SecurityOnline.info
    • Advertise with us
    • Announcement
    • Contact
    • Contributor Register
    • Login
    • About SecurityOnline.info
    • Advertise on SecurityOnline.info
    • Contact Us

    When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works

    • Disclaimer
    • Privacy Policy
    • DMCA NOTICE
    • Linkedin
    • Twitter
    • Facebook
    • Youtube
    © 2017 - 2026 Daily CyberSecurity. All Rights Reserved.