Results 1 to 5 of 5

Thread: Netstat (net-tools) not installed in 17.04?

  1. #1
    Join Date
    Aug 2017
    Beans
    7

    Netstat (net-tools) not installed in 17.04?

    Is net-tools not installed by default in Ubuntu 17.04? What alternative is there for seeing the IP addresses of active connections? I usually use [netstat -natpc]
    Last edited by yuki2005w; August 6th, 2017 at 03:47 AM.

  2. #2
    Join Date
    Aug 2017
    Beans
    7

    Re: Netstat (net-tools) not installed in 17.04?

    Looks like I can use; watch -n 1 ss -natp / while true; do ss -natp; sleep 1; done

  3. #3
    Join Date
    Dec 2016
    Beans
    275

    Re: Netstat (net-tools) not installed in 17.04?

    Quote Originally Posted by yuki2005w View Post
    Is net-tools not installed by default in Ubuntu 17.04? What alternative is there for seeing the IP addresses of active connections? I usually use [netstat -natpc]
    I guess you have to manually install it. Not a problem, is it?
    Code:
    apt policy net-tools
    Code:
    net-tools:
      Installed: 1.60-26ubuntu1
      Candidate: 1.60-26ubuntu1
      Version table:
     *** 1.60-26ubuntu1 500
            500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
            100 /var/lib/dpkg/status
    Code:
    apt show net-tools
    Code:
    Package: net-tools
    Version: 1.60-26ubuntu1
    Priority: important
    Section: net
    Origin: Ubuntu
    Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
    Original-Maintainer: net-tools Team <pkg-net-tools-maintainers@lists.alioth.debian.org>
    Bugs: https://bugs.launchpad.net/ubuntu/+filebug
    Installed-Size: 725 kB
    Depends: libc6 (>= 2.14)
    Conflicts: ja-trans (<= 0.8-2)
    Replaces: ja-trans (<= 0.8-2), netbase (<< 4.00)
    Homepage: http://net-tools.berlios.de/
    Task: minimal
    Supported: 5y
    Download-Size: 175 kB
    APT-Manual-Installed: yes
    APT-Sources: http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
    Description: NET-3 networking toolkit
     This package includes the important tools for controlling the network
     subsystem of the Linux kernel.  This includes arp, ifconfig, netstat,
     rarp, nameif and route.  Additionally, this package contains utilities
     relating to particular network hardware types (plipconfig, slattach,
     mii-tool) and advanced aspects of IP configuration (iptunnel, ipmaddr).
     .
     In the upstream package 'hostname' and friends are included. Those are
     not installed by this package, since there is a special "hostname*.deb".

  4. #4
    Join Date
    Aug 2017
    Beans
    7

    Re: Netstat (net-tools) not installed in 17.04?

    It it is not a problem to install it, but it gives me peace of mind to know that I am downloading from the correct mirror if I can see the ip address. Luckily I can use [ss -natp] before I have netstat installed.

  5. #5
    Join Date
    Sep 2017
    Beans
    1

    Re: Netstat (net-tools) not installed in 17.04?


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •