02-27-2010
thanks i'll try that. Also wondering if fstat -p will reveal the inum for it also.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Im programming a perl script which will act as a daemon listening on a tcp port (2323) and will take (<stdin>) from the client (im going to use telnet) and run the arguments from (<stdin>) against an program already on the server, which is used to list books in the library at uni.
So far... (1 Reply)
Discussion started by: emcb
1 Replies
2. IP Networking
Hi..
I am using HPux11.0
i want to know if server not listening to a tcp port what should we do to resolve the problem....
in /etc/services tcp port 7108/tcp is mentioned for some perticular application..
while starting that application error is coming could not establish
listening address... (1 Reply)
Discussion started by: Prafulla
1 Replies
3. Shell Programming and Scripting
I am not what I would call an experienced programmer.
I know some ksh etc..
I need to be able to listening on a port for incoming data on a ultra 10 using solaris 9. Basically all that I need to do at the moment is to log the incoming data on a specific port number.
Any ideas on how I... (6 Replies)
Discussion started by: frustrated1
6 Replies
4. Linux
Hi All,
I'm running RH 9.0 on a PII box with 160MB RAM. Just downloaded RealVNC X86 Linux (version 3.3.7). How can I get the HTTP listening port up ?
Thanks,
KENT (6 Replies)
Discussion started by: kxchen_home
6 Replies
5. IP Networking
I want to write a program to list all port numbers a process like web server is listening to.Is there a any unix command to find the port numbers and the processes(pid) connected to that port. (6 Replies)
Discussion started by: laddu
6 Replies
6. AIX
Hi all, can anyone help me with this?
I'm running AIX 5L v5.3 base and installed CDE is 1.0. I've seen recommendations to add "-nolisten tcp" to the args for X but anytime I try that it simply fails to start. I've tried adding it as an arg to /usr/dt/config/Xservers as well as trying to add it... (0 Replies)
Discussion started by: AIXNewbie
0 Replies
7. Cybersecurity
Hi Pals
Consider a case where the network interface is there and it is connected to a network.
Only thing left here is I need to set a static ip/ip though dhcp (though ifconfig)
I heard that it is possible to listen even if the ip address is not set. So is there any possibility of an attack over... (1 Reply)
Discussion started by: sreejithc
1 Replies
8. HP-UX
Hi,
I have an application running on HP-UX, from this application I need to findout if the port number. lets say 7890,7891, 7892 are listening on the remote server running on HP-UX.
Is there any way of doing it using "system()" function or any other?
I noticed that nmap, netcat are not... (0 Replies)
Discussion started by: einsteinBrain
0 Replies
9. IP Networking
Hi,
I have an executable running on HP-UX, from this executable I need to findout if the portnumber. lets say 7890,7891, 7892 are listening on the remote server running on HP-UX.
I can do it by creating socket, connect etc. But is there any other way of doing it using "system()" function or... (3 Replies)
Discussion started by: einsteinBrain
3 Replies
10. AIX
Hello,
I was trying to find information about below rpcbind issue and how can I fix it so that, it wont happen again.
Below is the one of the vulnerability from my security team,
RPC
service name: portmapper
service protocal: udp
Portmapper found at: 327xx
service port: 327xx
... (2 Replies)
Discussion started by: system.engineer
2 Replies
LEARN ABOUT DEBIAN
lsdistcc
lsdistcc(1) General Commands Manual lsdistcc(1)
NAME
lsdistcc - simple distcc server discovery
SYNOPSIS
lsdistcc [OPTIONS] [FORMAT]
lsdistcc [OPTIONS] host1 ...
DESCRIPTION
lsdistcc autodetects listening distcc servers either by looking in DNS for hosts named according to a given FORMAT, or by checking the host
names given on the command line.
Hosts are considered good servers based solely on whether their name fits the format and whether they are listening on the right port (and
optionally whether they respond when you send them a compile job).
Scans for hosts named according to FORMAT (default is "distcc%d"; see printf(3)) and starting from 1, so hosts such as distcc1, distcc2,
and so on. Stops after 7 seconds or the first host name that does not resolve. Prints the names of all such servers listening on distcc's
port.
If a list of host names is given in the command line, lsdistcc will only check those hosts.
OPTIONS
--help Displays summary instructions
-l Output latency in milliseconds after each hostname (not including DNS latency)
-n Print IP address rather than name
-x Append ,down to down hosts in host list
-tTIMEOUT
Set number of seconds to stop searching after [7]
-hHTIMEOUT
Set number of milliseconds before retrying gethostbyname [500]
-cCTIMEOUT
Set number of milliseconds before giving up on connect [900] (0 to inhibit connect)
-kKTIMEOUT
Set number of milliseconds before giving up on compile [1500] (0 to inhibit compile)
-mBITS Set number of bits of address that must match first host found [0]
-oOVERLAP
Set number of extra DNS requests to send [1]
-gDNSGAP
Set number of missing DNS entries to tolerate [0]
-rPORT Port to connect to [3632]
-PPROTOCOL
Protocol version to use (1-3) [1]
-pCOMPILER
Name of compiler to use [none]
-d Append DNS domain name to format
-v Verbose
EXAMPLES
Scan for servers named distcc1, distcc2, ... that provide a compiler named gcc-4.6 and include their latencies in the output:
$ lsdistcc -l -pgcc-4.6
Scan for a compiler named gcc-4.6 on the servers hosta, somehost, hostx, and hosty:
$ lsdistcc -pgcc-4.6 hosta somehost hostx hosty
To use the program in a build script, add the lines:
DISTCC_HOSTS=`lsdistcc`
export DISTCC_HOSTS
before the line that invokes make. Or, in a Makefile, add the line:
export DISTCC_HOSTS = $(shell lsdistcc)
EXIT STATUS
The exit status is 0 if any servers were found, and 1 otherwise.
Uses 'for i=1... sprintf(format, i)' to construct names of servers, stops after 7 seconds or at second server that doesn't resolve, prints
the names of all such servers listening on distcc's port. Default format is distcc%d.
SEE ALSO
distcc(1), distccd(1), printf(3)
http://code.google.com/p/distcc/
AUTHOR
lsdistcc was written by Dan Kegel, Dongmin Zhang, and Manos Renieris.
This manual page was written by Daniel Hartwig for the Debian project.
1 May 2012 lsdistcc(1)