Received: from msux-gh1-uea02.nsa.gov (msux-gh1-uea02.nsa.gov [63.239.67.2]) by tarius.tycho.ncsc.mil (8.13.1/8.13.1) with ESMTP id n97BdElu014452 for ; Wed, 7 Oct 2009 07:39:14 -0400 Received: from ey-out-1920.google.com (localhost [127.0.0.1]) by msux-gh1-uea02.nsa.gov (8.12.10/8.12.10) with ESMTP id n97Beo1L003819 for ; Wed, 7 Oct 2009 11:40:50 GMT Received: by ey-out-1920.google.com with SMTP id 3so1026374eyh.32 for ; Wed, 07 Oct 2009 04:39:11 -0700 (PDT) MIME-Version: 1.0 Date: Wed, 7 Oct 2009 15:09:11 +0330 Message-ID: Subject: get request context From: michel m To: selinux@tycho.nsa.gov Content-Type: multipart/alternative; boundary=000e0ce04088b1ed30047556cbd5 Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov --000e0ce04088b1ed30047556cbd5 Content-Type: text/plain; charset=ISO-8859-1 Hi, Is there any way that I can get context for incoming http requests from selinux API. that is I want to classify requests based on some criteria like origin`s IP address or any thing that can help me to know what context the request is coming from. is there such an API for this is libselinux? If not, how can I have this knowledge by using existing API? Best regards. --000e0ce04088b1ed30047556cbd5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

Is there any way that I can get context for incoming http reques= ts from selinux API. that is I want to classify requests based on some crit= eria like origin`s IP address or any thing that can help me to know what co= ntext the request is coming from.

is there such an API for this is libselinux? If not, how can I have thi= s knowledge by using existing API?

Best regards.
--000e0ce04088b1ed30047556cbd5-- -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.