Post

Replies

Boosts

Views

Activity

Reply to Need to redirect some traffic to Physical adapter from tun interface.
what IP traffic are you trying to manipulate? Im not sure if I understand this correctly. what my requirement is to intercept the whole system traffic and dynamically decide whether to discard the traffic or send it to the server. For this transparent app proxy looks best option where I can filter both FQDN and ip address but it provides the data stream whereas we need ip packets. Is there a way we can convert layer 4 packet to layer 3?
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’23
Reply to Need to redirect some traffic to Physical adapter from tun interface.
Is that right? Yes, I want to achieve something similar. You may want to explore other NE provider types, such as a content filter or a transparent proxy. Actually, I need an IP packet for my use case, I looked into a transparent proxy but it provides TCP or UDP steam(data packets) which I believe are layer 4 packets. Also, looked into content filtering using NEFilterPacketProvider but I'm not sure how will I process the packets and write back to the interface. Do you have any suggestions to achieve this using a content filter?
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’23
Reply to Send serial task to background session iOS
@matt, I tried using "URLSessionUploadTask" with background configuration by using method func uploadTask(with request: URLRequest, from bodyData: Data) -> URLSessionUploadTask but it gives error Terminating app due to uncaught exception 'NSGenericException', reason: 'Upload tasks from NSData are not supported in background sessions. Please suggest.
Nov ’21
Reply to Need to redirect some traffic to Physical adapter from tun interface.
what IP traffic are you trying to manipulate? Im not sure if I understand this correctly. what my requirement is to intercept the whole system traffic and dynamically decide whether to discard the traffic or send it to the server. For this transparent app proxy looks best option where I can filter both FQDN and ip address but it provides the data stream whereas we need ip packets. Is there a way we can convert layer 4 packet to layer 3?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’23
Reply to Need to redirect some traffic to Physical adapter from tun interface.
Is that right? Yes, I want to achieve something similar. You may want to explore other NE provider types, such as a content filter or a transparent proxy. Actually, I need an IP packet for my use case, I looked into a transparent proxy but it provides TCP or UDP steam(data packets) which I believe are layer 4 packets. Also, looked into content filtering using NEFilterPacketProvider but I'm not sure how will I process the packets and write back to the interface. Do you have any suggestions to achieve this using a content filter?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’23
Reply to MetricKit available for NetworkExtension
@Matt Eaton Any update on FB8903549, FB8883832. How can we track these tickets?
Replies
Boosts
Views
Activity
Jul ’22
Reply to Send serial task to background session iOS
@matt, I tried using "URLSessionUploadTask" with background configuration by using method func uploadTask(with request: URLRequest, from bodyData: Data) -> URLSessionUploadTask but it gives error Terminating app due to uncaught exception 'NSGenericException', reason: 'Upload tasks from NSData are not supported in background sessions. Please suggest.
Replies
Boosts
Views
Activity
Nov ’21