06-03-2012
Hi,
not very clear what are you really looking for, but maybe this can help:
If you're trying to look for what network services the server is acting as a client (that is, applications running on the server that are acting as clients with regard to some network services):
1. netstat: look at external ports/services the server has in state ESTABLISHED or CLOSE_WAIT; run this command if you have a login account on the server. You could find services provided by the server itself (i.e. applications from the monitored server connecting to TCP/UDP sockets on the server itself).
2. a network traffic sniffing tool (i.e. tcpdump, wireshark, etc.) may also do the job, provided they are run for a sufficiently long time (many applications may have permanet traffic with external services while others may just connect once in a while). You don't have to run tcpdump or wireshark on the machine itself, as long as you have a machine in the same subnet as the server you are monitoring with a network interface capable of 'promiscuous mode'.
When you asked for nmap usage, remember that nmap is generally used to discover what network services are listening on the target server. Unless you run nmap on the target server itself, the results returned by nmap may be less comprehensive than the results returned by running netstat (this time, you would look to results with TCP/UDP sockets in state LISTENING), because a firewall may filter some sockets.
see ya
fra
This User Gave Thanks to frappa For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
On what factors does the cksum depend.
If i build 2 machines exactly the same, then can i get the checksum of 2 compiled files same.
Thanks (3 Replies)
Discussion started by: vibhor_agarwali
3 Replies
2. Solaris
How does one determine what software dependenices are required for a software package? I looked up the command pkginfo in the man pages, but could not find anything to answer this question... Thanks
Rob (1 Reply)
Discussion started by: RobSand
1 Replies
3. Solaris
Question: What do you do when you have a software dependency conflict?
Case in point, according to Freeware for Solaris, before one can install
tcl, tk must be installed first. And then when I go to investigate dependencies for tk, it says that tcl must be installed first!!!
Its like... (2 Replies)
Discussion started by: RobSand
2 Replies
4. Red Hat
Hello
Sorry, I am not to well versed in RHE and I am having some issues.
I have doen a cursury look around and could not find an answer.
I have 2 RHE4 servers. Both have old versions of OPENSSH along with , server, askpass, askpass-gnome, etc.
I cannot upgrade to our new pkg release of... (8 Replies)
Discussion started by: mhenryj
8 Replies
5. Red Hat
Dear Friends ,
I am using RHEL 5 server . In Linux when I am going to install 'mod_ssl' rpm then I got the following error :
# rpm -ivh mod_ssl-2.2.3-6.el5.i386.rpm --aid --force
warning: mod_ssl-2.2.3-6.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed... (5 Replies)
Discussion started by: shipon_97
5 Replies
6. Red Hat
Hello,
I am trying to install krb5-libs-1.4-4.pp-rh73.i386.rpm on my Red Hat 7.X server, however while installing/upgrading it fails due to dependencies.
I checked for these dependencies and i already found them on the server.
I wonder why it is giving these errors.
I tried copying these... (1 Reply)
Discussion started by: sunny_a_j
1 Replies
7. UNIX and Linux Applications
Hello everyone,
This is my problem: I'm installing RT (Request Tracker) when I found the firsts difficulties with package that must be configured. I could resolve them :). The real problem are the missing dependencies. The command perl -MCPAN -e"install denpendency" resolved some missing... (0 Replies)
Discussion started by: journey
0 Replies
8. Linux
Hi all,
i'm trying to upgrade pandorafms to the new version 4.0.3-130118,
actually i have installed on my machine the version 3.0.0-8.1.el5,
the error i'm getting when trying to update its the following
rpm -Uvh pandorafms_agent_unix-4.0.3-130118.noarch.rpm
error: Failed dependencies:
... (1 Reply)
Discussion started by: charli1
1 Replies
9. Red Hat
I'm trying to package the latest Oracle JDK (1.7.0_51) into an RPM. Packaging works fine but when i try to install via rpm -Uvh xxx.rpm, i get the following:
#sudo rpm -ivh Sun_JDK7-1.7.0-51.x86_64.rpm
error: Failed dependencies:
libavcodec.so.52()(64bit) is needed by Sun_JDK7-1.7.0-51.x86_64... (3 Replies)
Discussion started by: asc123321
3 Replies
10. AIX
Hi guys
when I'm trying to install some RPMs file I got this errors
# rpm -ivh DSM-IBMAIXServer-7.2-796075.noarch.rpm
error: failed dependencies:
perl(Digest::MD5) is needed by DSM-IBMAIXServer-7.2-796075
perl(Exporter) is needed by DSM-IBMAIXServer-7.2-796075
... (1 Reply)
Discussion started by: khaled_ly84
1 Replies
ypset(1M) ypset(1M)
NAME
ypset - bind to particular Network Information Service server
SYNOPSIS
host] domain] server
Remarks
The Network Information Service (NIS) was formerly known as Yellow Pages (YP). Although the name has changed, the functionality of the
service remains the same.
DESCRIPTION
tells to get Network Information Service (NIS) services for the specified domain from the process running on server (see ypserv(1M) and
ypbind(1M)). server is the NIS server that the NIS client binds to, and is specified as either a host name or an IP address. If server is
down or is not running this is not discovered until a local NIS client process tries to obtain a binding for the domain. The daemon then
tests the binding set by If the binding cannot be made to the requested server, attempts to rebind to another server in the same domain
present in the ypservers file.
NOTE: In order to run must be initiated with the or options. For more information on how to initiate see ypbind(1M).
The command is useful for binding a client node that is not on a broadcast network. If a client node exists on a broadcast network which
has no NIS server running, and if there is a network with one running that is available via a gateway, can establish a binding through that
gateway. It is also useful for debugging NIS client applications such as when a NIS map exists only at a single NIS server.
In cases where several hosts on the local net are supplying NIS services, it is possible for to rebind to another host, even while you
attempt to find out if the operation succeeded. For example, typing followed by and receiving the reply may be confusing. It could occur
when host1 does not respond to because its process is not running or is overloaded, and host2, running gets the binding.
The server is the NIS server to bind to, specified as either a host name or an IP address.
Refer to ypfiles(4) and ypserv(1M) for an overview of the Network Information Service.
Options
recognizes the following options and command-line arguments:
Bind server for the Version 2 NIS protocol.
Set the binding on
host instead of locally. host can be specified as a host name or an IP address.
Use domain instead of the default domain returned by (see domainname(1)).
DIAGNOSTICS
The user is not root, or ypbind was run without the
flags. See ypserv(1M) for explanations of the flags.
The user is not root, or ypbind was run without one of the
flags. See ypserv(1M) for explanations of the flags.
WARNINGS
Starting with ONCplus version B.11.31.02, the NIS Version 1 protocol is no longer available.
AUTHOR
was developed by Sun Microsystems, Inc.
SEE ALSO
domainname(1), ypwhich(1), ypserv(1M), ypfiles(4).
ypset(1M)