I was evaluating NEFilterDataProvider through Network Extension on macOS what details are available for inbound and outbound traffic. I see the following behaviour with Safari browser,
For a new flow : There is no URL details available.
For Inbound and outbound traffic: There is no URL details and I don't see data bytes that are received or sent.
I am not sure what exactly is supported there on macOS through NEFilterDataProvider. If someone has already used NEFilterDataProvider to monitor network traffic please provide some pointers here.
Post
Replies
Boosts
Views
Activity
The application is getting hung on startup, I could manage to get the system spindump. I see two threads of the application in waiting state, please refer the following call stack extract from the spin dump,
thread 0x1f44ee(main thread)
2 CFRunLoopObserverInvalidate + 277 (CoreFoundation + 528065) [0x7fff2041dec1]
1 -[_NSArrayM dealloc] + 309 (CoreFoundation + 140978) [0x7fff203bf6b2]
1 freetiny + 134 (libsystemmalloc.dylib + 24773) [0x7fff201510c5]
1 ulockwait + 10 (libsystemkernel.dylib + 9678) [0x7fff202f35ce]
*1 ??? (kernel + 6750000) [0xffffff800087ff30] (blocked by turnstile waiting for CUI [28858] [unique pid 128518] thread 0x1f456b)
thread 0x1f456b
1 -[SBPropertyThunk initWithElement:inDocument:] + 314 (ScriptingBridge + 62301) [0x7fff5379d35d]
1 squish3 + 588 (ScriptingBridge + 68213) [0x7fff5379ea75]
1 +[NSString stringWithUTF8String:] + 68 (Foundation + 150974) [0x7fff2116bdbe]
1 CFStringCreateWithBytes + 27 (CoreFoundation + 64294) [0x7fff203acb26]
1 CFStringCreateImmutableFunnel3 + 2126 (CoreFoundation + 14583) [0x7fff203a08f7]
1 CFRuntimeCreateInstance + 293 (CoreFoundation + 16753) [0x7fff203a1171]
1 malloczonecalloc + 59 (libsystemmalloc.dylib + 114359) [0x7fff20166eb7]
1 szonemallocshouldclear + 66 (libsystemmalloc.dylib + 10131) [0x7fff2014d793]
1 tinymallocshouldclear + 142 (libsystemmalloc.dylib + 14363) [0x7fff2014e81b]
1 _ulockwait + 10 (libsystem_kernel.dylib + 9678) [0x7fff202f35ce]
*1 ??? (kernel + 6750000) [0xffffff800087ff30] (blocked by turnstile waiting for CUI [28858] [unique pid 128518] thread 0x1f44ee)
I am not sure but suspecting that it might be causing that hang issue