[SunHELP] BOUND for int

DAUBIGNE Sebastien - BOR sunhelp at sunhelp.org
Mon Jun 18 04:32:12 CDT 2001


The standards calls to create a TCP server are :=20

Call				resulting socket state (call succeeded)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
socket()			-
bind()			BOUND
listen()			LISTEN
accept()		ESTABLISHED

Your bound socket is quite strange, as i don't understand the goal to =
issue
a bind(), without doing the following listen().

I don't know any tool included in Solaris to associate socket with =
process,
so you should install "lsof" which can do this task :=20

Here is a lsof trace for process bound to TCP port 23 (telnet) :

[iris] (root) / # lsof | fgrep .23      =20
in.telnet  5592     root    0u  inet 0x7a347200        0t83        TCP
iris_smhd
:telnet->10.163.195.237:1047 (ESTABLISHED)
in.telnet  5592     root    1u  inet 0x7a347200        0t83        TCP
iris_smhd
:telnet->10.163.195.237:1047 (ESTABLISHED)
in.telnet  5592     root    2u  inet 0x7a347200        0t83        TCP
iris_smhd
:telnet->10.163.195.237:1047 (ESTABLISHED)

**********************************************************************
| The latest release of lsof is always available via anonymous ftp   |
| from vic.cc.purdue.edu.  Look in pub/lsof.README for its location. |
**********************************************************************


---
Sebastien DAUBIGNE=20
sebastien.daubigne at sema.fr - 05.57.26.56.36
Sema Global Services - AFM/DW/Pessac


	-----Message d'origine-----
	De:	Dicu Silviu [SMTP:linuxsil at yahoo.com]
	Date:	vendredi 15 juin 2001 18:56
	=C0:	sunhelp
	Objet:	[SunHELP] BOUND for int

	Hi,

	I have a e250 with a RealServer and a webserver.
	when I do a netstat -na I get
	 *.36062              *.*                0      0   =20
	0      0 BOUND

	I don't understand why this port is into the state
	BOUND, more strange is that it opens other ports with
	this state and after a while I don't see them. What
	kind of a process could do that ?

	thanks

	=3D=3D=3D=3D=3D
	Silviu Dicu

	__________________________________________________
	Do You Yahoo!?
	Spot the hottest trends in music, movies, and more.
	http://buzz.yahoo.com/
	_______________________________________________
	SunHELP maillist  -  SunHELP at sunhelp.org
	http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list