The crash Built-in net -s command fails to display IPv6 addresses

Solution Verified - Updated -

Issue

  • The crash built-in net -s command fails to display IPv6 addresses in the output.
crash> set 627911
    PID: 627911
COMMAND: "sshd"
   TASK: ffff937889131c40  [THREAD_INFO: ffff937889131c40]
    CPU: 5
  STATE: TASK_INTERRUPTIBLE 

crash> net -s 627911
PID: 627911   TASK: ffff937889131c40  CPU: 5    COMMAND: "sshd"
FD      SOCKET            SOCK       FAMILY:TYPE SOURCE-PORT DESTINATION-PORT
 3 ffff937ca75d8380 ffff937b565eb740 UNIX:DGRAM  
 4 ffff937c45537380 ffff937cf0b630c0 INET6:STREAM   <<< - - - 
 6 ffff937ca75d8000 ffff937886359980 UNIX:STREAM 
 8 ffff937ca75db800 ffff93788635ea40 UNIX:STREAM 
  • How can users determine the source and destination IPv6 addresses of a connection?

Environment

  • Red Hat Enterprise Linux release 9
  • crash utility
  • IPv6

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