ovpnmcgen.rb 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -3
- data/ChangeLog.md +7 -1
- data/README.md +7 -3
- data/features/gen_basic.feature +1 -1
- data/lib/ovpnmcgen.rb +7 -7
- data/lib/ovpnmcgen/version.rb +1 -1
- metadata +10 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81014423745541cbf2aee3ebd024b941eb5091d505c7d3505511d4ed80ae0df2
|
4
|
+
data.tar.gz: e5cfca53a27b3d132ed502e49ccbdddbfb42606d266829830951d9a3aa1ddad1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b66f56555540930fb11bac82063397405aa81ce084ffbba6fbb4c021e0367113fe359e1a8bcec6b28248c6371644e0034984000994b19ad61e2a25d03903380
|
7
|
+
data.tar.gz: 1ed94cb01db3a364b3adfdb9406e283b0a4df73b4fb7bb1d93c5c5f6583ddfdff4e0d3ba77a0e2c7f6f18a5008c6274891e09582298c5a8516e73a875d79a841
|
data/.travis.yml
CHANGED
@@ -12,13 +12,11 @@ rvm:
|
|
12
12
|
- 2.5
|
13
13
|
- 2.6
|
14
14
|
- ruby-head
|
15
|
-
- jruby-19mode
|
16
15
|
|
17
16
|
matrix:
|
18
17
|
fast_finish: true
|
19
18
|
allow_failures:
|
20
19
|
- rvm: ruby-head
|
21
|
-
- rvm: jruby-19mode
|
22
20
|
|
23
21
|
deploy:
|
24
22
|
provider: rubygems
|
@@ -28,5 +26,5 @@ deploy:
|
|
28
26
|
on:
|
29
27
|
tags: true
|
30
28
|
repo: "iphoting/ovpnmcgen.rb"
|
31
|
-
ruby: 2.
|
29
|
+
ruby: 2.6
|
32
30
|
branch: master
|
data/ChangeLog.md
CHANGED
@@ -5,6 +5,11 @@
|
|
5
5
|
|
6
6
|
|
7
7
|
|
8
|
+
<a name="v0.7.1"></a>
|
9
|
+
## [v0.7.1] - 2019-09-09
|
10
|
+
|
11
|
+
- Bug fix: Do not disconnect from VPN over cellular if security level is medium ([#33](https://github.com/iphoting/ovpnmcgen.rb/issues/33))
|
12
|
+
|
8
13
|
|
9
14
|
<a name="v0.7.0"></a>
|
10
15
|
## [v0.7.0] - 2019-08-31
|
@@ -100,7 +105,8 @@
|
|
100
105
|
- Initial release
|
101
106
|
|
102
107
|
|
103
|
-
[Unreleased]: https://github.com/iphoting/ovpnmcgen.rb/compare/v0.7.
|
108
|
+
[Unreleased]: https://github.com/iphoting/ovpnmcgen.rb/compare/v0.7.1...HEAD
|
109
|
+
[v0.7.1]: https://github.com/iphoting/ovpnmcgen.rb/compare/v0.7.0...v0.7.1
|
104
110
|
[v0.7.0]: https://github.com/iphoting/ovpnmcgen.rb/compare/v0.6.0...v0.7.0
|
105
111
|
[v0.6.0]: https://github.com/iphoting/ovpnmcgen.rb/compare/v0.5.0...v0.6.0
|
106
112
|
[v0.5.0]: https://github.com/iphoting/ovpnmcgen.rb/compare/v0.5.0.pre...v0.5.0
|
data/README.md
CHANGED
@@ -2,10 +2,9 @@
|
|
2
2
|
|
3
3
|
OpenVPN iOS Configuration Profile Utility
|
4
4
|
|
5
|
-
[](http://waffle.io/iphoting/ovpnmcgen.rb)
|
6
5
|
[](http://badge.fury.io/gh/iphoting%2Fovpnmcgen.rb)
|
7
6
|
[](http://badge.fury.io/rb/ovpnmcgen.rb)
|
8
|
-
[](https://travis-ci.org/iphoting/ovpnmcgen.rb)
|
9
8
|
|
10
9
|
Generates iOS configuration profiles (.mobileconfig) that configures OpenVPN for use with VPN-on-Demand that are not accessible through the Apple Configurator or the iPhone Configuration Utility.
|
11
10
|
|
@@ -57,6 +56,7 @@ Usage: ovpnmcgen.rb generate [options] <user> <device>
|
|
57
56
|
-c, --config FILE Specify path to config file. [Default: .ovpnmcgen.rb.yml]
|
58
57
|
--cafile FILE Path to OpenVPN CA file. (Required)
|
59
58
|
--tafile FILE Path to TLS-Auth Key file.
|
59
|
+
--tlscryptfile FILE Path to TLS-Crypt Key file.
|
60
60
|
--cert FILE Path to Cert file.
|
61
61
|
--key FILE Path to Private Key file.
|
62
62
|
--host HOSTNAME Hostname of OpenVPN server. (Required)
|
@@ -71,14 +71,18 @@ Usage: ovpnmcgen.rb generate [options] <user> <device>
|
|
71
71
|
(changed since OpenVPN Connect 1.2.x). [Default: Disabled]
|
72
72
|
--security-level LEVEL Security level of VPN-On-Demand Behaviour: paranoid, high, medium. [Default: high]
|
73
73
|
--vpn-uuid UUID Override a VPN configuration payload UUID.
|
74
|
+
--vpn-name NAME Override a VPN configuration payload name displayed under
|
75
|
+
Settings.app > General > VPN.
|
74
76
|
--profile-uuid UUID Override a Profile UUID.
|
75
77
|
--cert-uuid UUID Override a Certificate payload UUID.
|
76
78
|
-t, --trusted-ssids SSIDS List of comma-separated trusted SSIDs.
|
77
79
|
-u, --untrusted-ssids SSIDS List of comma-separated untrusted SSIDs.
|
78
80
|
-d, --domains DOMAINS List of comma-separated domain names requiring VPN service.
|
79
81
|
--domain-probe-url PROBE An HTTP(S) URL to probe, using a GET request. If no HTTP response code is received from the server, a VPN connection is established in response.
|
82
|
+
--trusted-ssids-probe-url PROBE An HTTP(S) URL to probe, using a GET request. If no HTTP response code is received from the server, a VPN connection is established in response.
|
80
83
|
--url-probe URL This URL must return HTTP status 200, without redirection, before the VPN service will try establishing.
|
81
|
-
--remotes REMOTES
|
84
|
+
--remotes REMOTES List of comma-separated alternate remotes: "<host> <port> <proto>".
|
85
|
+
--idle-timer TIME Disconnect from VPN when idle for a certain period of time (in seconds) scenarios. Requires disabling "Reconnect On Wakeup" on OpenVPN.app.
|
82
86
|
--ovpnconfigfile FILE Path to OpenVPN client config file.
|
83
87
|
-o, --output FILE Output to file. [Default: stdout]
|
84
88
|
```
|
data/features/gen_basic.feature
CHANGED
data/lib/ovpnmcgen.rb
CHANGED
@@ -133,14 +133,14 @@ module Ovpnmcgen
|
|
133
133
|
vodCellularOnly = { # Trust Cellular
|
134
134
|
'InterfaceTypeMatch' => 'Cellular',
|
135
135
|
'Action' => case inputs[:security_level]
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
'Disconnect'
|
142
|
-
end
|
136
|
+
when 'paranoid'
|
137
|
+
'Connect'
|
138
|
+
else # high, medium
|
139
|
+
'Ignore'
|
140
|
+
end
|
143
141
|
}
|
142
|
+
|
143
|
+
# Default catch-all to prevent circular race.
|
144
144
|
vodDefault = { # Default catch-all
|
145
145
|
'Action' => 'Ignore'
|
146
146
|
}
|
data/lib/ovpnmcgen/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ovpnmcgen.rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ronald Ip
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -76,22 +76,22 @@ dependencies:
|
|
76
76
|
name: plist
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
|
-
- - ">="
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: 3.5.0
|
82
79
|
- - "~>"
|
83
80
|
- !ruby/object:Gem::Version
|
84
81
|
version: '3.5'
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: 3.5.0
|
85
85
|
type: :runtime
|
86
86
|
prerelease: false
|
87
87
|
version_requirements: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
|
-
- - ">="
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
version: 3.5.0
|
92
89
|
- - "~>"
|
93
90
|
- !ruby/object:Gem::Version
|
94
91
|
version: '3.5'
|
92
|
+
- - ">="
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: 3.5.0
|
95
95
|
- !ruby/object:Gem::Dependency
|
96
96
|
name: commander
|
97
97
|
requirement: !ruby/object:Gem::Requirement
|
@@ -182,7 +182,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
182
182
|
- !ruby/object:Gem::Version
|
183
183
|
version: '0'
|
184
184
|
requirements: []
|
185
|
-
|
185
|
+
rubyforge_project:
|
186
|
+
rubygems_version: 2.7.7
|
186
187
|
signing_key:
|
187
188
|
specification_version: 4
|
188
189
|
summary: An OpenVPN iOS Configuration Profile (.mobileconfig) Utility
|