Commit Graph

201 Commits

Author SHA1 Message Date
Sergey Abramchuk
13f4e2305d Update project configuration 2017-07-18 17:27:49 +03:00
Sergey Abramchuk
1126b7f413 Add reachability test 2017-07-18 17:27:32 +03:00
Sergey Abramchuk
95d2ec6d17 Add explicit modifiers to the vpnClient property 2017-07-18 17:27:16 +03:00
Sergey Abramchuk
c02376339a Implement internet reachability monitor 2017-07-18 17:26:39 +03:00
Sergey Abramchuk
6edc5e3fe2 Add missing public modifier 2017-07-18 17:25:45 +03:00
Sergey Abramchuk
79da4b7571 Update project configuration 2017-07-17 20:25:44 +03:00
Sergey Abramchuk
94397bdbce Add reachability status and class to the umbrella header 2017-07-17 20:25:27 +03:00
Sergey Abramchuk
df6bee8862 Update header comments 2017-07-17 20:24:44 +03:00
Sergey Abramchuk
d2d46640db Implement abstract tracker class 2017-07-17 20:22:03 +03:00
Sergey Abramchuk
a9629cdf86 Declare properties and methods of reachability class 2017-07-17 20:17:29 +03:00
Sergey Abramchuk
a773a7f8a0 Define reachability statuses 2017-07-17 20:16:28 +03:00
Sergey Abramchuk
e745b43d52 Refactor TUN packets reading 2017-07-06 16:16:19 +03:00
Sergey Abramchuk
248585943e Fix broken reader of VPN traffic on iOS 2017-06-23 17:44:59 +03:00
Sergey Abramchuk
700c3aad70 Fix incorrect protocol versions for outgoing packets 2017-06-23 17:14:07 +03:00
Sergey Abramchuk
445545c57a Merge branch 'feature/incorrect-packet' into develop 2017-06-22 21:22:35 +03:00
Sergey Abramchuk
0714a6d0f6 Return protocol family depending on version 2017-06-22 21:19:19 +03:00
Sergey Abramchuk
6d2de5cb4e Fix incorrect macro 2017-06-22 20:55:34 +03:00
Sergey Abramchuk
76413feea7 Get protocol version from header if a target is macOS 2017-06-22 20:50:23 +03:00
Sergey Abramchuk
b0756eae4c Don't add protocol prefix if a target other than iPhone 2017-06-22 20:02:52 +03:00
Sergey Abramchuk
545098ea0e Use openvpn helper to convert prefix length to subnet and call adapter delegate methods within main queue 2017-06-18 14:21:11 +03:00
Sergey Abramchuk
8fd29acf1c Update project configuration 2017-06-05 16:42:13 +03:00
Sergey Abramchuk
f3c85a5d1b Use macros for export instead of keyword extern 2017-06-05 16:41:59 +03:00
Sergey Abramchuk
d2ddcbbd5b Add dots to the event description 2017-06-02 14:50:24 +03:00
Sergey Abramchuk
db8424c620 Provide error reason 2017-06-02 14:26:19 +03:00
Sergey Abramchuk
f1d681c145 Put definition of error values into separate file 2017-06-02 14:24:00 +03:00
Sergey Abramchuk
203089f1fd Add new events 2017-06-02 14:11:34 +03:00
Sergey Abramchuk
812e9351ef Fix type in a method description 2017-06-01 10:59:38 +03:00
Sergey Abramchuk
fcad409b63 Merge branch 'feature/update-dependencies' into develop 2017-05-31 13:24:43 +03:00
Sergey Abramchuk
3432d2828a Enable bitcode for framework 2017-05-27 17:44:04 +03:00
Sergey Abramchuk
1fbadb9e97 Update lz4 library to 1.7.5 and embed bitcode 2017-05-27 17:43:44 +03:00
Sergey Abramchuk
62e3e65a67 Update mbedTLS library to 2.5.0 and embed bitcode 2017-05-27 17:42:26 +03:00
Sergey Abramchuk
7e0bf6a2ab Fix missing semicolon 2017-05-20 12:28:55 +03:00
Sergey Abramchuk
37cfcbd0b2 Check for UNSPEC gateway within adapter 2017-05-20 11:21:38 +03:00
Sergey Abramchuk
07c9058554 Add space 2017-05-19 23:53:06 +03:00
Sergey Abramchuk
cf7f911397 Provide nil if gateway value empty or "UNSPEC" 2017-05-19 23:52:30 +03:00
Sergey Abramchuk
90c6a18ba6 Break proto string into components in the properties class instead of configuration class 2017-05-10 18:02:09 +03:00
Sergey Abramchuk
a128cf248f Merge branch 'feature/buffer-increase' into develop 2017-05-10 14:58:14 +03:00
Sergey Abramchuk
ecb4f7d0e3 Fix crash during parsing tcp-client value 2017-05-10 14:53:01 +03:00
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
bf97b12bc1 Fix NSInteger warnings 2017-05-05 17:57:54 +03:00
Sergey Abramchuk
e22dd3c179 Merge branch 'feature/extended-configuration' into develop 2017-05-05 17:52:09 +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
a71b90bd17 Merge branch 'feature/custom-factory' into feature/extended-configuration
* feature/custom-factory: (75 commits)
  Update configuration tests
  Update adapter tests
  Delete templates for enum elements
  Remove unnecessary link to sstream
  Update project configuration
  Call clock_tick method
  Reconnect vpn client
  Resume vpn client
  Pause vpn client
  Call handleLog only if delegate responds to selector
  Return core copyright
  Remove expiration class method and convert platform to class property
  Return expiration and platform
  Rename openvpn configuration file
  Return session token
  Remove "defined" property
  Return transport stats and interface stats
  Fix incorrect header
  Return connection info
  Change queue name
  ...

# Conflicts:
#	OpenVPN Adapter Tests/OpenVPNAdapterTests.swift
#	OpenVPN Adapter Tests/Resources/free_openvpn_udp_us.ovpn
#	OpenVPN Adapter/OpenVPNAdapter.mm
2017-05-05 17:19:26 +03:00
Sergey Abramchuk
29ff8c315f Merge branch 'develop' of github.com:ss-abramchuk/openvpn-adapter into develop
* 'develop' of github.com:ss-abramchuk/openvpn-adapter:
  convert 'packet' to 'data'
2017-05-05 17:02:16 +03:00
Sergey Abramchuk
228df6ede3 Update configuration tests 2017-05-05 17:01:35 +03:00
Sergey Abramchuk
e9db078ab0 Update adapter tests 2017-05-05 17:01:17 +03:00
Sergey Abramchuk
5488eae00a Delete templates for enum elements 2017-05-05 17:00:52 +03:00
Sergey Abramchuk
2a052ef558 Remove unnecessary link to sstream 2017-05-05 17:00:12 +03:00
Sergey Abramchuk
af5fb0583c Update project configuration 2017-05-01 13:18:20 +03:00