OpenVPN-IOS icon indicating copy to clipboard operation
OpenVPN-IOS copied to clipboard

how to get amount of data which was uploaded and downloaded?

Open bizibizi opened this issue 7 years ago • 4 comments

bizibizi avatar Nov 02 '18 12:11 bizibizi

You can try to calculate in handleAppMessage in PacketTunnel.

yaooort avatar Nov 02 '18 16:11 yaooort

Do you have any sample code for that? Can not find anything for this topic

On 2 Nov 2018, at 19:11, YaoOort [email protected] wrote:

You can try to calculate in handleAppMessage in PacketTunnel.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yaooort/OpenVPN-IOS/issues/2#issuecomment-435428747, or mute the thread https://github.com/notifications/unsubscribe-auth/AF2TiqXN8BwpQ4avSOvE2MgVRRZJhm_5ks5urG7GgaJpZM4YLmF-.

bizibizi avatar Nov 02 '18 16:11 bizibizi

Sorry, all I know is that data in the data tunnel is all data that is downloaded and uploaded.

yaooort avatar Nov 03 '18 03:11 yaooort

One of the problem is that with the PacketTunnel I can not use connection by NetworkExtension with IPSec or IKEv2 right? I need to setup connection by proxy? I can not just plug in this PacketTunnel and listen to messages. Or do you know the scheme how it should work?

On 2 Nov 2018, at 19:11, YaoOort [email protected] wrote:

You can try to calculate in handleAppMessage in PacketTunnel.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yaooort/OpenVPN-IOS/issues/2#issuecomment-435428747, or mute the thread https://github.com/notifications/unsubscribe-auth/AF2TiqXN8BwpQ4avSOvE2MgVRRZJhm_5ks5urG7GgaJpZM4YLmF-.

bizibizi avatar Nov 03 '18 10:11 bizibizi