Anyone know about Netstat? - Setup

This is a discussion on Anyone know about Netstat? - Setup ; Hi All, I'm trying to configure my new server to be like my old server. I'm having some issues with the output of Netstat. I do not understand the 3 colons (:: and why they do not have 0.0.0.0 ort# ...

+ Reply to Thread
Results 1 to 10 of 10

Thread: Anyone know about Netstat?

  1. Anyone know about Netstat?

    Hi All,

    I'm trying to configure my new server to be like my old server. I'm
    having some issues with the output of Netstat.

    I do not understand the 3 colons (:: and why they do not have
    0.0.0.0ort# as my old server does.....

    Does anyone understand this output? Where can I go to fix this?

    Thanks in advance!

    netstat -atn

    Proto Recv-Q Send-Q Local Address Foreign Address State
    tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:907 0.0.0.0:* LISTEN
    tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
    tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
    tcp 0 0 :::993 :::* LISTEN
    tcp 0 0 :::995 :::* LISTEN
    tcp 0 0 :::110 :::* LISTEN
    tcp 0 0 :::143 :::* LISTEN
    tcp 0 0 :::80 :::* LISTEN
    tcp 0 0 :::443 :::* LISTEN


  2. Re: Anyone able to halp?

    A couple of years ago I installed a Caldera CD with PartitionMagic etc on my
    Windows 98 machine. Mostly it went well except I couldn't get the Internet
    because I only had a WinModem. The sound card didn't work either.
    Having had a WindowsEP machine for a while now I decided to try it all
    again. Alas I have discovered there is now NTFS
    instead of FAT32. It just doesn't work.
    Now IF I get hold of PartitionMagic 8 which works with NTFS and partition
    my
    hard disk, can I then boot to the disk I have made or not?
    I have also downloaded all the Mandrake iso files (3) but haven't a clue how
    to set about using them, although I realise I still need a partition before
    I can do anything.
    I gather Partition Magic is a bit dated and I don't want to buy it if the
    whole exercise will be futile.
    Any guidance will be appreciated, any at all.
    Thanks Paul C



  3. Re: Anyone know about Netstat?


    Bill Marcum wrote:
    > On 28 Nov 2006 19:48:20 -0800, amerar@iwc.net
    > wrote:
    > > Hi All,
    > >
    > > I'm trying to configure my new server to be like my old server. I'm
    > > having some issues with the output of Netstat.
    > >
    > > I do not understand the 3 colons (:: and why they do not have
    > > 0.0.0.0ort# as my old server does.....
    > >
    > > Does anyone understand this output? Where can I go to fix this?
    > >

    >
    > The three colons represent ipv6 address 0:0:0:0:0:0:0:0ort
    > You can configure the daemons which listen on those ports to listen only
    > on ipv4.
    >
    > > Thanks in advance!
    > >
    > > netstat -atn
    > >
    > > Proto Recv-Q Send-Q Local Address Foreign Address State
    > > tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
    > > tcp 0 0 0.0.0.0:907 0.0.0.0:* LISTEN
    > > tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN
    > > tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
    > > tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
    > > tcp 0 0 :::993 :::* LISTEN
    > > tcp 0 0 :::995 :::* LISTEN
    > > tcp 0 0 :::110 :::* LISTEN
    > > tcp 0 0 :::143 :::* LISTEN
    > > tcp 0 0 :::80 :::* LISTEN
    > > tcp 0 0 :::443 :::* LISTEN
    > >

    >
    >
    > --
    > Faster, faster, you fool, you fool!
    > -- Bill Cosby


    Not sure what the differences between an ipv4 ad and ipv6 address is,
    or what it has to do with the colons. I'm curious if that means those
    ports are not configured properly or something........on my previous
    Linux, Red Hat 9.0, those colons were all replaced by 0.0.0.0. So,
    I'm a bit mystified.....


  4. Re: Anyone know about Netstat?

    On 2006-11-29, amerar@iwc.net wrote:

    >>> Proto Recv-Q Send-Q Local Address Foreign Address State
    >>> tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
    >>> tcp 0 0 0.0.0.0:907 0.0.0.0:* LISTEN
    >>> tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN
    >>> tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
    >>> tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
    >>> tcp 0 0 :::993 :::* LISTEN
    >>> tcp 0 0 :::995 :::* LISTEN
    >>> tcp 0 0 :::110 :::* LISTEN
    >>> tcp 0 0 :::143 :::* LISTEN
    >>> tcp 0 0 :::80 :::* LISTEN
    >>> tcp 0 0 :::443 :::* LISTEN
    >>>

    >
    > Not sure what the differences between an ipv4 ad and ipv6 address is,
    > or what it has to do with the colons. I'm curious if that means those
    > ports are not configured properly or something........on my previous
    > Linux, Red Hat 9.0, those colons were all replaced by 0.0.0.0. So,
    > I'm a bit mystified.....


    As far as i remember :: is an IPv6 equivalent to 0.0.0.0.
    If you don't want your services to listen on IPv6 addresses you
    can propably disable it when starting the daemon.

    Regards,
    Krzysztof

  5. Re: Anyone know about Netstat?


    Krzysztof Roburst wrote:
    > On 2006-11-29, amerar@iwc.net wrote:
    >
    > >>> Proto Recv-Q Send-Q Local Address Foreign Address State
    > >>> tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
    > >>> tcp 0 0 0.0.0.0:907 0.0.0.0:* LISTEN
    > >>> tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN
    > >>> tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
    > >>> tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
    > >>> tcp 0 0 :::993 :::* LISTEN
    > >>> tcp 0 0 :::995 :::* LISTEN
    > >>> tcp 0 0 :::110 :::* LISTEN
    > >>> tcp 0 0 :::143 :::* LISTEN
    > >>> tcp 0 0 :::80 :::* LISTEN
    > >>> tcp 0 0 :::443 :::* LISTEN
    > >>>

    > >
    > > Not sure what the differences between an ipv4 ad and ipv6 address is,
    > > or what it has to do with the colons. I'm curious if that means those
    > > ports are not configured properly or something........on my previous
    > > Linux, Red Hat 9.0, those colons were all replaced by 0.0.0.0. So,
    > > I'm a bit mystified.....

    >
    > As far as i remember :: is an IPv6 equivalent to 0.0.0.0.
    > If you don't want your services to listen on IPv6 addresses you
    > can propably disable it when starting the daemon.
    >
    > Regards,
    > Krzysztof



    So, is it a misconfiguration if it has the 3 colons (:: ??


  6. Re: Anyone know about Netstat?

    On 2006-11-29, amerar@iwc.net wrote:
    >
    > Krzysztof Roburst wrote:
    >> On 2006-11-29, amerar@iwc.net wrote:
    >>
    >> >>> Proto Recv-Q Send-Q Local Address Foreign Address State
    >> >>> tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
    >> >>> tcp 0 0 0.0.0.0:907 0.0.0.0:* LISTEN
    >> >>> tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN
    >> >>> tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
    >> >>> tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
    >> >>> tcp 0 0 :::993 :::* LISTEN
    >> >>> tcp 0 0 :::995 :::* LISTEN
    >> >>> tcp 0 0 :::110 :::* LISTEN
    >> >>> tcp 0 0 :::143 :::* LISTEN
    >> >>> tcp 0 0 :::80 :::* LISTEN
    >> >>> tcp 0 0 :::443 :::* LISTEN
    >> >>>
    >> >
    >> > Not sure what the differences between an ipv4 ad and ipv6 address is,
    >> > or what it has to do with the colons. I'm curious if that means those
    >> > ports are not configured properly or something........on my previous
    >> > Linux, Red Hat 9.0, those colons were all replaced by 0.0.0.0. So,
    >> > I'm a bit mystified.....

    >>
    >> As far as i remember :: is an IPv6 equivalent to 0.0.0.0.
    >> If you don't want your services to listen on IPv6 addresses you
    >> can propably disable it when starting the daemon.

    >
    > So, is it a misconfiguration if it has the 3 colons (:: ??


    No - the last colon in this case would be space delimiter after which
    port number is shown.

    Why you worried about that anyway? :-)

    Regards,
    Krzysztof

  7. Re: Anyone know about Netstat?


    Krzysztof Roburst wrote:
    > On 2006-11-29, amerar@iwc.net wrote:
    > >
    > > Krzysztof Roburst wrote:
    > >> On 2006-11-29, amerar@iwc.net wrote:
    > >>
    > >> >>> Proto Recv-Q Send-Q Local Address Foreign Address State
    > >> >>> tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
    > >> >>> tcp 0 0 0.0.0.0:907 0.0.0.0:* LISTEN
    > >> >>> tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN
    > >> >>> tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
    > >> >>> tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
    > >> >>> tcp 0 0 :::993 :::* LISTEN
    > >> >>> tcp 0 0 :::995 :::* LISTEN
    > >> >>> tcp 0 0 :::110 :::* LISTEN
    > >> >>> tcp 0 0 :::143 :::* LISTEN
    > >> >>> tcp 0 0 :::80 :::* LISTEN
    > >> >>> tcp 0 0 :::443 :::* LISTEN
    > >> >>>
    > >> >
    > >> > Not sure what the differences between an ipv4 ad and ipv6 address is,
    > >> > or what it has to do with the colons. I'm curious if that means those
    > >> > ports are not configured properly or something........on my previous
    > >> > Linux, Red Hat 9.0, those colons were all replaced by 0.0.0.0. So,
    > >> > I'm a bit mystified.....
    > >>
    > >> As far as i remember :: is an IPv6 equivalent to 0.0.0.0.
    > >> If you don't want your services to listen on IPv6 addresses you
    > >> can propably disable it when starting the daemon.

    > >
    > > So, is it a misconfiguration if it has the 3 colons (:: ??

    >
    > No - the last colon in this case would be space delimiter after which
    > port number is shown.
    >
    > Why you worried about that anyway? :-)
    >
    > Regards,
    > Krzysztof


    Well, it differs from my previous servers config and I just want to
    make sure everything is correct and not misconfigured.

    My previous server looked like this:

    Proto Recv-Q Send-Q Local Address Foreign Address State
    tcp 0 0 0.0.0.0:32768 0.0.0.0:* LISTEN
    tcp 0 0 127.0.0.1:32769 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
    tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN

    Notice that there are not repeating colons (::....... My new
    server looks like this:

    Proto Recv-Q Send-Q Local Address Foreign Address State
    tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:907 0.0.0.0:* LISTEN
    tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN
    tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
    tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
    tcp 0 0 :::993 :::* LISTEN
    tcp 0 0 :::995 :::* LISTEN
    tcp 0 0 :::110 :::* LISTEN
    tcp 0 0 :::143 :::* LISTEN
    tcp 0 0 :::80 :::* LISTEN
    tcp 0 0 :::443 :::* LISTEN

    So, I'm just a bit mystified and want to make sure everything is
    properly configured and that these are not signs of something
    wrong.......


  8. Re: Anyone know about Netstat?

    On 2006-11-29, amerar@iwc.net wrote:

    >> Why you worried about that anyway? :-)
    >>

    > Well, it differs from my previous servers config and I just want to
    > make sure everything is correct and not misconfigured.
    >
    > My previous server looked like this:
    >
    > Proto Recv-Q Send-Q Local Address Foreign Address State
    > tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN


    > Notice that there are not repeating colons (::....... My new
    > server looks like this:
    >
    > Proto Recv-Q Send-Q Local Address Foreign Address State
    > tcp 0 0 :::993 :::* LISTEN
    > tcp 0 0 :::995 :::* LISTEN


    > So, I'm just a bit mystified and want to make sure everything is
    > properly configured and that these are not signs of something
    > wrong.......


    No - nothing's wrong - that just means that your daemons binded to IPv6
    addresses. If you don't use IPv6 you can remove ipv6.o or consult the
    man page how do prevent daemon from binding to IPv6 address.

    Regards,
    Krzysztof

  9. Re: Anyone know about Netstat?


    Krzysztof Roburst wrote:
    > On 2006-11-29, amerar@iwc.net wrote:
    >
    > >> Why you worried about that anyway? :-)
    > >>

    > > Well, it differs from my previous servers config and I just want to
    > > make sure everything is correct and not misconfigured.
    > >
    > > My previous server looked like this:
    > >
    > > Proto Recv-Q Send-Q Local Address Foreign Address State
    > > tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN

    >
    > > Notice that there are not repeating colons (::....... My new
    > > server looks like this:
    > >
    > > Proto Recv-Q Send-Q Local Address Foreign Address State
    > > tcp 0 0 :::993 :::* LISTEN
    > > tcp 0 0 :::995 :::* LISTEN

    >
    > > So, I'm just a bit mystified and want to make sure everything is
    > > properly configured and that these are not signs of something
    > > wrong.......

    >
    > No - nothing's wrong - that just means that your daemons binded to IPv6
    > addresses. If you don't use IPv6 you can remove ipv6.o or consult the
    > man page how do prevent daemon from binding to IPv6 address.
    >
    > Regards,
    > Krzysztof


    Ok, then I'll assume everything is in good working order and that
    nothing is wrong......

    Guess I need to read more on the differences between ipv4 & ipv6......


  10. Re: Anyone know about Netstat?

    amerar@iwc.net wrote:
    > Hi All,
    >
    > I'm trying to configure my new server to be like my old server. I'm
    > having some issues with the output of Netstat.
    >
    > I do not understand the 3 colons (:: and why they do not have
    > 0.0.0.0ort# as my old server does.....
    >
    > Does anyone understand this output? Where can I go to fix this?
    >
    > Thanks in advance!
    >
    > netstat -atn
    >
    > Proto Recv-Q Send-Q Local Address Foreign Address State
    > tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
    > tcp 0 0 0.0.0.0:907 0.0.0.0:* LISTEN
    > tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN
    > tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
    > tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
    > tcp 0 0 :::993 :::* LISTEN
    > tcp 0 0 :::995 :::* LISTEN
    > tcp 0 0 :::110 :::* LISTEN
    > tcp 0 0 :::143 :::* LISTEN
    > tcp 0 0 :::80 :::* LISTEN
    > tcp 0 0 :::443 :::* LISTEN
    >

    Further to other peoples comments, if you want to stop references to
    IPV6 try putting

    #
    # please add local extensions to this file
    #
    alias net-pf-10 off
    alias ipv6 off

    into modprobe.conf.local

    Brian



+ Reply to Thread