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.