Results 1 to 10 of 10

Thread: Strange Connections Detected.

  1. #1
    Join Date
    Feb 2010
    Location
    Toronto
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Exclamation Strange Connections Detected.

    Hey community, got some weird connections on ubuntu today
    Ubuntu 10.04
    Started noticing memory running out somehow... Without my consent. When i ran

    Code:
    netstat -ln
    There is one at the top (that i left out) but i believe that its just my regular internet connection

    Code:
    tcp6       0      0 ::1:631                 :::*      LISTEN                        
    udp        0      0 0.0.0.0:68              0.0.0.0:*                          
    udp        0      0 0.0.0.0:5353            0.0.0.0:*                          
    udp        0      0 0.0.0.0:58016           0.0.0.0:*
    Only one internet connection, no VNC or SSH connections.
    Samba is installed im not sure if its by default in ubuntu 10.04.
    Getting kinda worried here ubuntu community
    Please Help!

    Edit : Also what is
    Code:
    /org/freedesktop/ConsoleKit/Session2
    I found that in my auth.log apparently it gained temporary root permissions something to do with software center?
    Im guessing its just to install with aptitude or to download and install a program.
    Last edited by Snowboi; July 10th, 2011 at 08:59 PM.

  2. #2
    Join Date
    Jun 2011
    Location
    Atlanta Georgia
    Beans
    1,771
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Strange Connections Detected.

    Quote Originally Posted by Snowboi View Post
    Hey community, got some weird connections on ubuntu today
    Ubuntu 10.04
    Started noticing memory running out somehow... Without my consent. When i ran

    Code:
    netstat -ln
    There is one at the top (that i left out) but i believe that its just my regular internet connection

    Code:
    tcp6       0      0 ::1:631                 :::*      LISTEN                        
    udp        0      0 0.0.0.0:68              0.0.0.0:*                          
    udp        0      0 0.0.0.0:5353            0.0.0.0:*                          
    udp        0      0 0.0.0.0:58016           0.0.0.0:*
    Only one internet connection, no VNC or SSH connections.
    Samba is installed im not sure if its by default in ubuntu 10.04.
    Getting kinda worried here ubuntu community
    Please Help!
    68/udp - dhcp/bootp
    631/tcp - cups
    5353/udp - avahi-daemon
    58016/udp - unassigned used for an arbitrary service.

    Try
    Code:
    sudo netstat -alnp
    Might help determine what program is using each
    Last edited by Dangertux; July 10th, 2011 at 09:09 PM.

  3. #3
    Join Date
    Feb 2010
    Location
    Toronto
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Question Re: Strange Connections Detected.

    Quote Originally Posted by Dangertux View Post
    68/udp - dhcp/bootp
    631/tcp - CUPS
    5353/udp - avahi-daemon
    58016/udp - unassigned used for an arbitrary service.

    Try
    Code:
    sudo netstat -alnp
    Might help determine what program is using each
    Alright thanks i guess there is not that much to worry about
    Still does not answer two of my questions tho

    Started noticing memory running out somehow... Without my consent. When i ran
    Could be possible temporary files from browsers, but in any case is there any logs that i can use to track where data has recently been put or stored?

    And

    Samba is installed im not sure if its by default in ubuntu 10.04.
    Found out that it is a cross platform printing program ?
    Is there any need for this since i am using a desktop computer and do not need any wireless connections ?

  4. #4
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    5,571
    Distro
    Xubuntu 14.10 Utopic Unicorn

    Re: Strange Connections Detected.

    Your memory usage probably isn't as bad as you think. Linux likes to use unused memory as disk cache. This isn't a problem because if it's needed for something else like a running program wants memory, it just reduces the size of the cache again. In fact it's a good thing because otherwise all that memory would be wasted, completely unused.

    When you look at the output of the command free, the top Mem: line shows memory usage including memory that's being used as disk cache. The free memory tends to get very small as more spare memory gets used towards disk caching. If you want to know how much memory is free if a program should want it, you should look at the second line, -/+ buffers/cache: which shows memory usage as though the disk caching wasn't happening.


    Samba is a file and printer sharing program for sharing with windows servers. But it doesn't seem to be running on your machine (the ports aren't showing in your netstat output). What makes you think is is installed?

  5. #5
    Join Date
    Feb 2010
    Location
    Toronto
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Red face Re: Strange Connections Detected.

    Quote Originally Posted by The Cog View Post
    Your memory usage probably isn't as bad as you think. Linux likes to use unused memory as disk cache. This isn't a problem because if it's needed for something else like a running program wants memory, it just reduces the size of the cache again. In fact it's a good thing because otherwise all that memory would be wasted, completely unused.

    When you look at the output of the command free, the top Mem: line shows memory usage including memory that's being used as disk cache. The free memory tends to get very small as more spare memory gets used towards disk caching. If you want to know how much memory is free if a program should want it, you should look at the second line, -/+ buffers/cache: which shows memory usage as though the disk caching wasn't happening.


    Samba is a file and printer sharing program for sharing with windows servers. But it doesn't seem to be running on your machine (the ports aren't showing in your netstat output). What makes you think is is installed?
    I understand how linux uses cache, but its a strange jump from around 1.7gb free space to 1.1gb of free space

    Samba-common and samba-common-bin is installed.
    "Intelligence is the ability to avoid doing work, yet getting the work done."
    Free Webhost, Click Here

  6. #6
    Join Date
    Dec 2008
    Location
    Deep Woods of PA
    Beans
    699
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Re: Strange Connections Detected.

    Quote Originally Posted by Snowboi View Post
    I understand how linux uses cache, but its a strange jump from around 1.7gb free space to 1.1gb of free space

    Samba-common and samba-common-bin is installed.
    You can use top for memory to see the biggest users. Just sort the output by the VIRT column.
    Regards,

    Karlson

  7. #7
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    5,571
    Distro
    Xubuntu 14.10 Utopic Unicorn

    Re: Strange Connections Detected.

    I understand how linux uses cache, but its a strange jump from around 1.7gb free space to 1.1gb of free space
    Well, I don't think that's at all strange. If anything reads anything on the disk, then those disk contents are retained in the cache in case they are wanted again. Anything reading the disk - check for updates reads the apt database, there is a file indexing utility that reads the entire directory structure occasionally, etc.

  8. #8
    Join Date
    Feb 2010
    Location
    Toronto
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Strange Connections Detected.

    You can use top for memory to see the biggest users. Just sort the output by the VIRT column.
    Talking about hard drive space =/, top just displays running processes.

    Well, I don't think that's at all strange. If anything reads anything on the disk, then those disk contents are retained in the cache in case they are wanted again. Anything reading the disk - check for updates reads the apt database, there is a file indexing utility that reads the entire directory structure occasionally, etc.
    alright, seems effective. I will monitor my computer and possibly try to expand my partitions again. (sadly have a wubi install, need to create a seperate partition). Thanks.
    "Intelligence is the ability to avoid doing work, yet getting the work done."
    Free Webhost, Click Here

  9. #9
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Strange Connections Detected.

    You can check disk usage with:

    Code:
    df -h
    Code:
    du -h
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  10. #10
    Join Date
    Feb 2010
    Location
    Toronto
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Strange Connections Detected.

    Quote Originally Posted by CharlesA View Post
    You can check disk usage with:

    Code:
    df -h
    Code:
    du -h
    Well thanks guys iv had my question answered ill post a new topic for a different question thanks for answers guys.
    "Intelligence is the ability to avoid doing work, yet getting the work done."
    Free Webhost, Click Here

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
  •