Complete.Org: Mailing Lists: Archives: linux-help: June 2006:
[linux-help] Re: Protocols running?
Home

[linux-help] Re: Protocols running?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: linux-help@xxxxxxxxx
Subject: [linux-help] Re: Protocols running?
From: Steven Saner <ssaner@xxxxxxxxxxxxxxx>
Date: Thu, 01 Jun 2006 15:38:51 -0500
Reply-to: linux-help@xxxxxxxxx

Ace wrote:
> OK, I'll check it out.  So to see what's currently running I use ps or top? 
> Thanks!

Another thing you can do is type the command netstat -a. Look for the lines 
that 
have LISTEN under the State column (netstat -a | grep LISTEN might be useful). 
This will tell you what services are listening. Another way to say that is that 
it will tell you want protocols for which your computer will accept connections.

Steve


> ----- Original Message ----- 
> From: "Jonathan Hall" <flimzy@xxxxxxxxxx>
> To: <linux-help@xxxxxxxxx>
> Sent: Thursday, June 01, 2006 12:51 PM
> Subject: [linux-help] Re: Protocols running?
> 
> 
>> I'm not exactly sure what you're looking for... You probably mean what
>> daemons are running, and what versions they are.  Although most protocols
>> do have versions, the versions change very very rarely, and there are many
>> programs that use the same version of the protocol, and many programs use
>> multiple protocols.  Since you mentioned SSH, for instance, I'll use that
>> as an example.  There are two (common) SSH protocols... SSH version 1, and
>> SSH version 2.  Any modern version of OpenSSH can use both protocol
>> versions (although version 2 is prefered nowdays, as its more secure).
>>
>> OpenSSH is not the only program that uses SSH, though.  There's also the
>> "standard" version of SSH (which is nowdays used less frequently than
>> OpenSSH), and there are also SSH servers and clients available from many
>> other vendors.  Which protocols these servers and clients use will
>> obviously vary by the vendor.  putty is a common SSH client for Windows.
>> It supports both SSH protocols v1 and v2, as well as telnet, and probably
>> rsh and other protocols as well.
>>
>> I suspect what you want to know is how to tell which daemons (servers) are
>> running on your machine.  Although there is no single file that can
>> possibly tell you this, one place to look is /etc/inetd.conf.  This will
>> (generally) tell you which programs are set to run as services.  It is
>> also possible to run a daemon in... well... daemon mode.  In which case
>> it's running constantly, and won't show up in that file.  This is more
>> common nowdays than it was way-back-in-the-day when computer systems had
>> very little memory, so having a daemon running all the time was a waste of
>> memory.  To see what programs are running at the moment (including
>> daemons) something like 'top' or 'ps' are probably your best bet.
>>
>> I hope this helps.
>>
>> -- Jonathan
>>
>>
>>> Hi,
>>> Does someone know what file is used to configure protocols that run on
>>> Linux
>>> and how to check if they are runnning and their current version?  I am
>>> running Red Hat 7.2 on an EMC Celerra network attached storage box and 
>>> I'm
>>> trying to see if OpenSSH and RPC are running, and their versions.
>>> Thanks!
>>> Adam
>>>
>>>
>>> -- This is the linux-help@xxxxxxxxx list.  To unsubscribe,
>>> visit http://www.complete.org/cgi-bin/listargate-aclug.cgi
>>>
>>>
>>
>> -- This is the linux-help@xxxxxxxxx list.  To unsubscribe,
>> visit http://www.complete.org/cgi-bin/listargate-aclug.cgi
>>
>>
> 
> 
> -- This is the linux-help@xxxxxxxxx list.  To unsubscribe,
> visit http://www.complete.org/cgi-bin/listargate-aclug.cgi
> 


-- 
--------------------------------------------------------------------------
Steven Saner <ssaner@xxxxxxxxxxxxxxx>

-- This is the linux-help@xxxxxxxxx list.  To unsubscribe,
visit http://www.complete.org/cgi-bin/listargate-aclug.cgi


[Prev in Thread] Current Thread [Next in Thread]