Hello, everyone ~~
I am developing an App with Network Extension which runs in App Extension. When execute the app and it made a tunnel connection to the server. Routing Table is correct. Send a PING to my server through the tunnel, It works fine.
After then, I try to distribute (Notarized) my APP with "Developer ID" and TEST it on my Dev iMac, But It didn't work. (In this time, I didn't move the Network Extension from App Extension to System Extension)
Because, The developer Try to distribute an app offline who has to move the Network Extension from App Extension to System Extension.
Finally I got the right CODESIGN to the APP and notarized by Apple.
My App is working, I got my System Extension which appears in the list who was typing the command as below in the "Terminal.app"
And I saw the System Extension process also appears in "Activity Monitor.app"
After then, I send a PING to my server. It seems to the server got the ICMP request packets and response to the App. At App side(Client Side), real NIC interface (eth0) seems to got the packets but those packets was not read by my program which is running inside Network Extension.
And uTun virtual interface also are not seems to got any packets. I watched those behaviors by "Wireshark".
I assumed that may be CODESIGN caused those problems. So, I unchecked those options in "Hardened Runtime" as below. But It doesn't works.
What's problem with Routing Table? (May be Routing Table is not the suspect)
If no one has been distributed the app with Network Extension which runs in System Extension. It's a kind of disaster to me.
If so, I have to report this issue to my boss with an evidence why It's impossible to distribute offline.
And then I have to change entire program process without Network Extension.
If someone knows the reason, please tell me.
Help!!!!
I am developing an App with Network Extension which runs in App Extension. When execute the app and it made a tunnel connection to the server. Routing Table is correct. Send a PING to my server through the tunnel, It works fine.
After then, I try to distribute (Notarized) my APP with "Developer ID" and TEST it on my Dev iMac, But It didn't work. (In this time, I didn't move the Network Extension from App Extension to System Extension)
Because, The developer Try to distribute an app offline who has to move the Network Extension from App Extension to System Extension.
Finally I got the right CODESIGN to the APP and notarized by Apple.
Code Block thank you eskimo
My App is working, I got my System Extension which appears in the list who was typing the command as below in the "Terminal.app"
Code Block $ systemextensionctrl list
And I saw the System Extension process also appears in "Activity Monitor.app"
After then, I send a PING to my server. It seems to the server got the ICMP request packets and response to the App. At App side(Client Side), real NIC interface (eth0) seems to got the packets but those packets was not read by my program which is running inside Network Extension.
And uTun virtual interface also are not seems to got any packets. I watched those behaviors by "Wireshark".
I assumed that may be CODESIGN caused those problems. So, I unchecked those options in "Hardened Runtime" as below. But It doesn't works.
Allow Unsigned Executable Memory
Disable Library Validation
Disable Executable Memory protection
What's problem with Routing Table? (May be Routing Table is not the suspect)
If no one has been distributed the app with Network Extension which runs in System Extension. It's a kind of disaster to me.
If so, I have to report this issue to my boss with an evidence why It's impossible to distribute offline.
And then I have to change entire program process without Network Extension.
If someone knows the reason, please tell me.
Help!!!!