Re: xinetd.d listening twice on port 69

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Curry wrote:
| Andy Green wrote:
|
|>
|> But I am still bemused by the two listening sockets on the same port
|> being possible.  Maybe it is some kind of cool load balancing feature I
|> never heard of.  Can anyone else here explain how it can be?
|>
|> - -Andy
|
|
|
| May be this is a dumb question from a clueless neophyte, but does the
| phenomenon constitute a security problem that needs to be addressed?

Probably not, because I'm pretty sure it will only allow it if the two
listens are coming from inside the same process ID.

For example in one window

[root@server root]# nc -l -p 1234

works and is listening

[root@server root]# netstat -plutn | grep 1234
tcp        0      0 0.0.0.0:1234                0.0.0.0:*
~    LISTEN      19055/nc

If you try to start a second nc to the same port in another window...

[root@server root]# nc -l -p 1234
Can't grab 0.0.0.0:1234 with bind


So it seems that maybe it's just a (little-known?) feature for a single process rather than a bug?

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFCU+qkjKeDCxMJCTIRAm4kAJ9mDOp51l/lo5iZmVXoxxgCHXiisgCgg1NV
mSfTAYb4G+KFjwOclzAQDKQ=
=DS/E
-----END PGP SIGNATURE-----


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux