I'm using NETransparentProxyProvider
to intercept udp sockets using the method handleNewUDPFlow
.
If an application create a UDP socket and set the DONTFRAG
using setsockopt method
setsockopt(s, IPPROTO_IP, IP_DONTFRAG, &val, sizeof(val))
Do I have option in this case, to get the connection settings inside the callback
- (void)handleNewUDPFlow:(NEAppProxyUDPFlow *)flow initialRemoteEndpoint:(NWEndpoint *)remoteEndpoint;
So in this case, I would be able to create the outgoing socket with the exact same characteristics, after the original app socket got intercepted by my proxy provider ?