Results 1 to 3 of 3

Thread: netstat - Established Connection

  1. #1
    Join Date
    Nov 2009
    Beans
    31

    netstat - Established Connection

    I ran the following command:

    Code:
    netstat --ip -pan
    these two listing stood out to me in that output. Looks like these 91... IPs are Canonical. Anyone know what these are? I don't like the fact that python has an established connection. Is this normal or not for Ubuntu?

    Code:
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0    106 192.168.1.111:42486     91.189.89.76:443        ESTABLISHED 3263/python     
    tcp        1      0 192.168.1.111:42239     91.189.89.144:80        CLOSE_WAIT  3106/ubuntu-geoip-p
    Any assistance would be greatly appreciated.

    Thanks,

  2. #2
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    4,952

    Re: netstat - Established Connection

    Canonical servers provide LOTS of services to your system, including NTP, Geolocation, apt repositories, whoopsie/daisy error reporting, popularity contest, etc.

    Looks normal to me.
    Insufficient data to determine the first service beyond the obvious fact that it's an encrypted http connection.
    The second service is obviously http://geoip.ubuntu.com - some service you are using needs to know your approximate location. Insufficient data to determine the querant - you need to monitor dbus to determine that. IP location data is used for checking timezones, the weather applet, and other services.

    None of those services are secret, and client source code is 100% available.
    I have looked at a bunch of that source code over the past few years.
    Disabling or redirecting those service clients to some other provider that you prefer is usually trivial.
    Last edited by ian-weisser; March 20th, 2014 at 03:58 PM.

  3. #3
    Join Date
    Oct 2009
    Location
    Elgin, IL USA
    Beans
    3,363
    Distro
    Ubuntu 16.10 Yakkety Yak

    Re: netstat - Established Connection

    The whois command (like: whois 91.189.89.76) would show you that those IP addresses belong to in part:
    Code:
    inetnum:        91.189.88.0 - 91.189.95.255
    netname:        CANONICAL-CORE
    descr:          Canonical Ltd
    country:        GB
    which is related to Ubuntu. And as far as the port, grep 443 /etc/services
    Code:
    https        443/tcp                # http protocol over TLS/SSL
    https        443/udp
    encrypted web access
    Last edited by efflandt; March 20th, 2014 at 08:51 AM.
    i5 650 3.2 GHz upgraded to i7 870, 16 GB 1333 RAM, nvidia GTX 1060, 32" 1080p & assorted older computers

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
  •