URL filtering / IP Filter NKE
URL filtering / IP Filter NKE
- Subject: URL filtering / IP Filter NKE
- From: Deena Awate <email@hidden>
- Date: Tue, 21 Jun 2011 04:57:32 -0700 (PDT)
Hello,
Aim is to achieve URL filtering. For this I have written an IP Filter NKE. Currently the packets that I get in the IP filter in the IPF_output callback are passed to the user mode daemon using Kernel Control API and I wait in the callback to get the result. The daemon processes the packet to extract the URL and decides whether to block it or not. This result is passed down to the IP filter. If the result is to BLOCK access then the IP filter should deny access for the connection.
I have tried returning -1, ECONNABORT and many other return values. What I observe is I keep on getting the packet in the IP filter and after sometime connection is refused for the URL and the reason that safari shows is "The server where this page is located is not responding"
Is what I am trying to do feasible with the way I am doing it. What is the return value to be returned from ipf_output callback to deny access.
Thanks,
Deena |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden