NEFilterBrowserFlow not available for macos? Is there any other way I can access http request object content ??

I am trying to use NEFilterBrowserFlow for macos?? But found that it is not availble for macos. Is there any way i can use access http request object for macos ??


Thanks !!

Replies

It kinda depends on what you’re looking for. The unique thing about

NEFilterBrowserFlow
is that it will give you the plaintext for requests that are protected by TLS (that it, it’ll give you the HTTP inside HTTPS). With
NEFilterBrowserFlow
, there’s no way to do that. However, if your concern is HTTP specifically, you can glean those requests by parsing the outbound stream.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Platform : macos


My concern is both HTTP & HTTPS

1) want to work with connections originating from Browser

2) I want the filename of file getting upload from the http header

Http request var is available in the NEFilterBrowserFlow

Now, as NEFilterBrowserFlow is not available for macos


Is it possible ??

I want the filename of file getting upload from the http header

OK. Assuming that the site is using HTTPS, that requires you to undo the TLS protection. Apple doesn’t provide any infrastructure to help you with that, but there are standard industry techniques that work at least some of the time (search the ’net for “HTTPS inspection”). It’s not something I’d recommend that, because it has a significant impact on the system overall.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

same above question

is it possible for http ??


Thanks !!!

HTTP is a strict subset of HTTPS, at least in this case. In HTTPS you have three challenges:

  • Bypassing the TLS protection (A)

  • Parsing HTTP/1.1 streams into HTTP messages (B)

  • Parsing HTTP 2 streams into HTTP messages (C)

In HTTP two of those go away (A and C), leaving just one (B).

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"