Re: URL filtering / IP Filter NKE
Re: URL filtering / IP Filter NKE
- Subject: Re: URL filtering / IP Filter NKE
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Wed, 22 Jun 2011 23:00:29 +0100
On 22 Jun 2011, at 11:46, Deena Awate wrote:
> I had tried my hands on option B. Through socket filter I could get just the IP address and not the URL.
Well, the URL is not transmitted until the connection is complete, and you'd have to grovel through the HTTP header to find it. But that's not different from doing it at the IP layer.
> The error returned from socket filter was informative but I am unable to achieve the same through IP filter.
Correct.
> I looked around for synthesising a connection reset, but could not find how to do it.
This is just basic TCP. You will have to send 'back' (that is, up the kernel stack, towards the app) a TCP packet that has the RST flag set.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
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