← Back to team overview

touch-packages team mailing list archive

[Bug 657270] Re: Netstat not displaying all listening ports when using IPv4 and IPv6

 

ipv6 to ipv6 rdesktop is possible.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to net-tools in Ubuntu.
https://bugs.launchpad.net/bugs/657270

Title:
  Netstat not displaying all listening ports when using IPv4 and IPv6

Status in net-tools package in Ubuntu:
  Confirmed

Bug description:
  I am running a machine with both IPv4 and IPv6.

  I noticed earlier that when doing a 'netstat -anl4' (or just grepping
  through 'netstat -an' output) that not all listening IPv4 ports are
  displayed.  Example:

  # netstat -anl4 | grep external_ipv4_address | grep 80

  Yet, it is definitely listening:

  > telnet external_ipv4_address 80
  Trying external_ipv4_address...
  Connected to external_ipv4_address.
  Escape character is '^]'.

  It definitely seems like for applications that listen on both IPv4 and
  IPv6 that only the IPv6 listening socket is displayed, as if they are
  aggregated together.  This is a problem because we can no longer trust
  netstat to properly display all listening sockets.

  I would suggest that netstat always show every port that is listening
  on both the IPv4 and IPv6 stack.  Having more data seems like a good
  thing here since netstat is the primary tool for determining which
  ports a machine is listening on.

  Distributor ID:	Ubuntu
  Description:	Ubuntu 10.04.1 LTS
  Release:	10.04
  Codename:	lucid

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-tools/+bug/657270/+subscriptions