bind()


From: Jörgen Sigvardsson <jorgen.sigvardsson@kau.se>
Subject: bind()
Date: Thu, 26 Oct 2000 12:17:29 +0200

Next Article (by Subject): Broken patch. To: rsbac@rsbac.org
Previous Article (by Subject): bind() Jörgen Sigvardsson
Top of Thread: bind() Jörgen Sigvardsson
Articles sorted by: [Date] [Author] [Subject]


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

Is there any particular reason why bind() is not available as an ADF-requ=
est?
There is an ADF-request for listen() (READ&WRITE-OPEN).

The reason why I am asking is that I am trying regulate UDP communication=
=20
(actually I am trying to regulate all socket communication, but UDP is a =
good=20
example in this case). When you setup a UDP socket, you have to bind it. =
Then=20
the UDP socket can receive packets with the destination equal to the boun=
d=20
adress. All subsequent send requests on that socket will have the source=20
address equal to that of the bound adress.

TCP is very easy to regulate as it is now, connect and listen are enough=20
(which are covered by the ADF). However, I think listen() is not appropri=
ate=20
since it does not cover all protocols. Clearly, it does not cover UDP, ra=
w IP=20
and possibly other protocols.

Comments on my comments? ;-)

<woops>
Disregard my earlier non-finished message. I accidently managed to send t=
he=20
email. I don't know how I did it, but I guess it's a new "feature" in KMa=
il=20
for KDE2 ;)
</woops>
- --=20
J=F6rgen Sigvardsson, B. Sc.
Lecturer, Computer Science Dept. Karlstad University
Tel: +46-(0)54-700 1786
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.3 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE5+AS5JtcD8rikkmwRApeoAJ0aMI913aQG6A0kT8rp15nyQj6QlwCeI2eh
INLhVjv7/o9BpunPw8DVNC0=3D
=3De6Is
-----END PGP SIGNATURE-----
-
To unsubscribe from the rsbac list, send a mail to
majordomo@rsbac.org with
unsubscribe rsbac
as single line in the body.

Next Article (by Subject): Broken patch. To: rsbac@rsbac.org
Previous Article (by Subject): bind() Jörgen Sigvardsson
Top of Thread: bind() Jörgen Sigvardsson
Articles sorted by: [Date] [Author] [Subject]


Go to Compuniverse LWGate Home Page.