The 'tcpaccept' bcc-tool fails to show an incoming connection details

Solution Verified - Updated -

Issue

  • The tcpaccept script didn't show anything when there was an incoming connection.
# /usr/share/bcc/tools/tcpaccept
PID     COMM         IP RADDR            RPORT LADDR            LPORT
<no-output>
  • The issue is not reproducible with upstream bcc-tools:
# ./tcpaccept.py 
PID     COMM         IP RADDR            RPORT LADDR            LPORT
917     sshd         4  10.74.16.4       38610 10.72.32.23      22   
1568    restraintd   6  ::1              39018 ::1              8081 

Environment

  • Red Hat Enterprise Linux 9
  • bcc-tools

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content