SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] [SCTP-Discussions] Why all SCTP examples should run as root privileges??


Chronological Thread 
  • From: Thomas Dreibholz <dreibh AT exp-math.uni-essen.de>
  • To: Yong-Hoon Choi <dearyonghoon AT yahoo.com>, discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] [SCTP-Discussions] Why all SCTP examples should run as root privileges??
  • Date: Tue Sep 3 10:07:00 2002
  • List-id: SCTP Discussions <discussion.sctp.de>
  • Organization: University of Essen, Institute for Experimental Mathematics

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

Am Dienstag, 3. September 2002 09:40 schrieb Yong-Hoon Choi:
> Hi all,
>
> I understood that SCTP daemon need "root" privilege since it uses raw
> socket. But I don't know why other client examples such as "test_tool"
> need root privileges.

The sctplib uses a raw socket to generate IP packets. Therefore, all programs
using the sctplib require root privileges. The sctpd daemon runs an SCTP
instance as separate program. Client programs access this deamon using UDP;
therefore, no root privileges are necessary for these programs.
Unfortunately, the sctpd daemon is not supported by newer versions of the
sctplib and socket API. Currently, we are looking for a new maintainer of the
sctpd daemon. Until then, you have to use sctplib directly and therefore you
need root privileges.


Best regards
- --
=======================================================================
Dipl.-Inform. Thomas Dreibholz

University of Essen, Room ES210
Inst. for Experimental Mathematics Ellernstraße 29
Computer Networking Technology Group D-45326 Essen/Germany
- -----------------------------------------------------------------------
E-Mail:
dreibh AT exp-math.uni-essen.de
Homepage: http://www.exp-math.uni-essen.de/~dreibh
=======================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9dG+C32BbsHYPLWURAqtrAKCek1elT8y2GtUrwPPhBaKxluKEngCfSSsy
GxuOyfWysUnz4/oDct6H6Tc=
=3Lwj
-----END PGP SIGNATURE-----




Archive powered by MHonArc 2.6.19+.

Top of page