objective-see / DNSMonitor

A DNS Monitor, leveraging Apple's NEDNSProxyProvider/Network Extension Framework
GNU General Public License v3.0
162 stars 19 forks source link

error logs from system extension process and potential memory leak #8

Open xilu-wang opened 10 months ago

xilu-wang commented 10 months ago

@objective-see , Thank you very much for providing the link Network Extensions for the Modern Mac.; the talk was truly excellent.

I try the DNSMonitor on my local laptop. I saw there are many os logs in error level dumped out, especially when I surfing the internet using browser, such as:

nw_path_necp_check_for_updates Failed to copy updated result (22)

(3808614902): flow is closed for writes, cannot write 578 bytes of data

writeDatagrams ERROR: Error Domain=NEAppProxyFlowErrorDomain Code=1 "The operation could not be completed because the flow is not connected" UserInfo={NSLocalizedDescription=The operation could not be completed because the flow is not connected}

nw_path_evaluator_create_flow_inner NECP_CLIENT_ACTION_ADD_FLOW C5B15EDA-0A1C-48E4-AA7E-A5CF7053D1B9 [28: No space left on device]

wondering if you have any clues about these errors ?

Also I saw the memory of the extension process keeps increasing after opening several web pages. It is potentially some memory leak (but I am not quite sure about this)

I am running the program on

14.1.1 (23B81)

xilu-wang commented 10 months ago

Screenshot 2023-12-03 at 22 55 28