Re: NewB needs help understanding 'netstat' output

From: ken king (kenkingNOSPAM@knology.net)
Date: 05/16/02


From: ken king <kenkingNOSPAM@knology.net>
Date: Thu, 16 May 2002 06:02:49 -0500

ken king wrote:

> I'm fairly new at Linux, so I really don't quite know what I'm doing,
> but....
> Occasionally I do "netstat -tuln" just to see that things don't change,
> but today this is what I got.....
>
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address Foreign Address
> State
> tcp 0 0 0.0.0.0:32768 0.0.0.0:*
> LISTEN
> ----The following line (Port 515) didn't use to be there, but I've
> installed a printer -- so that makes sense
> tcp 0 0 0.0.0.0:515 0.0.0.0:*
> LISTEN
> tcp 0 0 192.168.1.1:139 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:6000 0.0.0.0:*
> LISTEN
> tcp 0 0 0.0.0.0:25 0.0.0.0:*
> LISTEN
> udp 0 0 0.0.0.0:32768 0.0.0.0:*
> udp 0 0 192.168.1.1:137 0.0.0.0:*
> udp 0 0 0.0.0.0:137 0.0.0.0:*
> udp 0 0 192.168.1.1:138 0.0.0.0:*
> udp 0 0 0.0.0.0:138 0.0.0.0:*
> udp 0 0 0.0.0.0:111 0.0.0.0:*
> ---The following (port 635) USED to be "0.0.0.0:628" why would it
> change???
> udp 0 0 0.0.0.0:635 0.0.0.0:*

This morning the last line is port 636! I know I'm not dreaming because I
created a cron job to do netstat -tulnp each night and email me the diff
from the day before.

--kk



Relevant Pages

  • Re: NewB needs help understanding netstat output
    ... > I'm fairly new at Linux, so I really don't quite know what I'm doing, ... > Active Internet connections ... created a cron job to do netstat -tulnp each night and email me the diff ...
    (comp.os.linux.security)
  • Re: User-mode Linux (Was: modify syscall nr on-the-fly)
    ... retrieving revision 1.17 ... diff -u -r1.17 linux_ptrace.c ... Linux keeps debug registers at the following ... +struct linux_pt_lreg { ...
    (freebsd-hackers)
  • Re: Am I on the right track?
    ... At one time, there were a couple errors in Jeff's code, as available for download. ... diff -u orig/eat3.asm ./eat3.asm ... Segment of installed display buffer ... "Step by Step" gets into 32-bit code a little, in the Linux part, but is mostly 16-bit. ...
    (comp.lang.asm.x86)
  • Re: file-copy corruption
    ... I tend to disagree with the other who have replied so far, I've found NFS to be 100% reliable for many years, with large clusters of clients using many flavors of Unix, Whenever things have failed I've always being able to find the root cause. ... On any recent Linux, it would be very rare for there to be "no indication", so your log files are your friend. ... diff had an option to not follow symlinks..). ...
    (Fedora)
  • How to check network status on the Linux machine
    ... detect whether the machine is connected to the network. ... Linux netstat program with the –i option to do the trick. ... Gigabyte GA8IPE-1000G motherboard and updatched Redhat 9.0 OS ...
    (comp.os.linux.networking)