• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: URL filtering / IP Filter NKE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: URL filtering / IP Filter NKE
      • From: Deena Awate <email@hidden>
    • Re(2): URL filtering / IP Filter NKE
      • From: Peter Lovell <email@hidden>
References: 
 >Re: URL filtering / IP Filter NKE (From: Deena Awate <email@hidden>)

  • Prev by Date: Re: NSURLDownload and http proxy username/password
  • Next by Date: Re(2): URL filtering / IP Filter NKE
  • Previous by thread: Re: URL filtering / IP Filter NKE
  • Next by thread: Re(2): URL filtering / IP Filter NKE
  • Index(es):
    • Date
    • Thread