Commit Graph

31 Commits

Author SHA1 Message Date
Sergey Abramchuk
a753067e64 Increase input and output buffers of connected sockets 2017-05-10 11:36:10 +03:00
Sergey Abramchuk
adb995579e Rename tunnel settings class 2017-05-05 19:02:51 +03:00
Sergey Abramchuk
f7b168e114 Return the methods and configurations related to the tun builder which were removed after merging 2017-05-05 17:50:53 +03:00
Sergey Abramchuk
036e9f9ab4 Call clock_tick method 2017-05-01 13:07:07 +03:00
Sergey Abramchuk
1464cd1ce9 Reconnect vpn client 2017-05-01 12:48:24 +03:00
Sergey Abramchuk
a66c3eed27 Resume vpn client 2017-05-01 12:29:28 +03:00
Sergey Abramchuk
099309c498 Pause vpn client 2017-05-01 12:26:09 +03:00
Sergey Abramchuk
105810082f Call handleLog only if delegate responds to selector 2017-05-01 00:24:27 +03:00
Sergey Abramchuk
1cf30b1175 Return core copyright 2017-04-30 23:56:03 +03:00
Sergey Abramchuk
c05b7215eb Remove expiration class method and convert platform to class property 2017-04-30 23:51:24 +03:00
Sergey Abramchuk
7d9f0abe76 Return expiration and platform 2017-04-30 19:15:41 +03:00
Sergey Abramchuk
a195d65e96 Return session token 2017-04-30 18:25:48 +03:00
Sergey Abramchuk
b32f7e2496 Return transport stats and interface stats 2017-04-30 18:00:58 +03:00
Sergey Abramchuk
c3be418936 Return connection info 2017-04-30 17:28:01 +03:00
Sergey Abramchuk
0c1ce5037f Change queue name 2017-04-28 22:33:53 +03:00
Sergey Abramchuk
0b1e8117f0 Rename category from Client to Internal. Set tick and handleLog methods of adapter delegate as optional.
Delete unnecessary properties ad methods. Implement applying configuration and providing credentials.
2017-04-27 23:43:10 +03:00
Sergey Abramchuk
8cba80999b Clean up unnecessary methods and classes 2017-04-21 18:04:45 +03:00
Sergey Abramchuk
a51bedaef5 Delete extra lines and spaces 2017-04-15 14:17:50 +03:00
Sergey Abramchuk
be46d31c7e Add comment about waiting time 2017-04-15 10:39:54 +03:00
Sergey Abramchuk
e423ade642 Update name of configuration method and add templates for documentation 2017-03-22 19:22:47 +03:00
Sergey Abramchuk
a953a8ab24 Don’t clear username and password after disconnection 2017-03-22 19:15:05 +03:00
Sergey Abramchuk
6fa887de8d Fix format of returned subnet mask 2017-03-20 21:56:47 +03:00
Sergey Abramchuk
a5531f61fb Fix forgotten initialization of configuration 2017-03-20 21:31:21 +03:00
Sergey Abramchuk
40eeafc99d Add support of IPv6 addresses 2017-03-20 21:23:00 +03:00
Sergey Abramchuk
42c692b225 Add method for handling OpenVPN log to the adapter delegate 2017-03-17 20:12:07 +03:00
Sergey Abramchuk
c83816ce06 Discard username and password after disconnection 2017-03-16 20:09:08 +03:00
Sergey Abramchuk
d33692bf1d Add socket source to run loop with default mode 2017-03-16 19:59:53 +03:00
Sergey Abramchuk
efdc474411 Fix possible memory leaks and decrease timeout for establishing tunnel 2017-03-09 19:58:55 +03:00
Sergey Abramchuk
1e886eaca7 Define OpenVPNAdapterPacketFlow and use it instead of NEPacketTunnelFlow object to simplify testing 2017-03-09 19:16:08 +03:00
Sergey Abramchuk
3c840cd0f8 Declare variables for username, password and delegate.
Implement getters and setters for declared variables.
Fix deallocation issue when sockets are not configured.
Fix issue with username and password when they are nil.
2017-03-09 16:05:41 +03:00
Sergey Abramchuk
8903bb6fc6 Put OpenVPN adapter into separate framework and add libraries compiled for simulator 2017-03-09 15:06:12 +03:00