Commit Graph

298 Commits

Author SHA1 Message Date
Sylvain Lamontagne
72a3c8a001 Fix for regression
As I reworked the push options, a bug got introduced where a duplication
of push in the config for the DNS dhcp-options would make it to fail.
There was no tests covering this, so I did not catch it earlier.

I've add the missing tests and fix the bug
2016-09-22 18:12:45 -04:00
Sylvain Lamontagne
2e943378d1 Too many arguments while pushing route
So I was trying to push a route to my client and the script failed with
'too many arguments', I reworked this part and took the opportunity to
rework a little bit the way push and routes were handled.

I also added some tests and validated that what I changed would not
break what was there before.
2016-09-22 16:02:59 -04:00
Sylvain Lamontagne
3f3a4ea9be Fix Markdown for easier display 2016-09-20 13:01:29 -04:00
Sylvain Lamontagne
e8eb1dda0c Added extra config doc in faqs and fixed an unlikely unbound variable 2016-09-20 12:53:29 -04:00
Sylvain Lamontagne
ac3cb44d85 Added test for multiple extra options 2016-09-20 12:01:56 -04:00
Sylvain Lamontagne
39996ed568 Fix Unbound Variables 2016-09-16 18:50:48 -04:00
Sylvain Lamontagne
1807bc6dc4 Add multiple extra config option
Add bash traceback in case an error occured
2016-09-16 18:42:45 -04:00
Kyle Manna
62b6cc3db9 docs: paranoid: Describe how to do 4096 RSA keys
* For the paranoid of course. :)
* Someday elliptic curve?
* Closes #154
2016-09-03 16:26:31 -07:00
Kyle Manna
379766fc5e misc: Switch from data container to data volume
* Use the `docker volume` mechanism.
* Less confusing and makes more sense.
* Released in ~ docker v1.9
2016-09-03 16:17:50 -07:00
Kyle Manna
9e7b363758 genconfig: Clean-up usage() display
* Semi-sorted order.
* Move arguments with flags up.
2016-09-03 15:45:55 -07:00
Kyle Manna
0c743d91b6 Merge pull request #156 from fabn/patch-1
Updated otp documentation with right repository name and debug info
2016-09-03 10:48:04 -07:00
Fabio Napoleoni
a3d5ac8e90 Updated otp documentation with right repository name and debug info 2016-09-03 13:23:19 +02:00
Kyle Manna
8027454cb5 google-auth: Pull from community repository again
* Pull from upstream community repository instead of building inline.
2016-09-02 21:57:23 -07:00
Kyle Manna
e3a68c784a CONTRIBUTING: Update test path
* Update to follow new testing scheme.
2016-08-31 12:44:57 -07:00
Kyle Manna
bcf8dc51eb test: Migrate from old test scripts
* Switch to upstream Docker inspired test suite.
* Major disadvantage:  Seeing the stdout log. To be researched later.
2016-08-31 12:42:53 -07:00
Kyle Manna
65bebaebd8 test: Migrate conf_options test
* Move the configuration options to new docker test suite.
2016-08-31 11:53:03 -07:00
Kyle Manna
93098fb165 travis: Call docker test suite run.sh
* Invoke the same as the upstream repo.
2016-08-31 11:41:39 -07:00
Kyle Manna
ee5d6a6b8a test: Start to migrate to docker's upstream tests
* Follow the upstream test suite's conventions.
* More migration to follow.
2016-08-31 11:39:36 -07:00
Kyle Manna
e700aa1f9f travis: Use upstream docker tests
* Run the upstream docker unit tests
2016-08-31 11:12:38 -07:00
Kyle Manna
96668fedbb travis: Clean-up docker containers
* Clean-up containers that just display the version.
2016-08-31 11:08:08 -07:00
Kyle Manna
dc9c30ff5a google-authenticator: Manually build Alpine package
* Build the Alpine package directly
* Resolves #153
2016-08-31 09:57:42 -07:00
Kyle Manna
baf9504875 Merge pull request #149 from myplacedk/master
README: Add info on docker-compose
2016-08-04 17:46:20 -07:00
Niels Ulrik Andersen
438316a895 docs: docker-compose bugfix 2016-08-04 21:23:10 +02:00
Niels Ulrik Andersen
85680566d3 Add info on docker-compose 2016-08-04 20:16:42 +02:00
Kyle Manna
6899426152 README: Update image layers badge
* RIP Image Layers
2016-08-03 15:32:59 -07:00
Kyle Manna
698be88ce0 tests: Fix harmless typo in options test
* Fix a minor typo, use a name to avoid a namespace clash
* Closes #144
2016-07-08 10:44:37 -07:00
Kyle Manna
a1071add9e README: Update Image Layers shield
* Switch to a different provider for the image layer shield.
2016-07-07 12:42:22 -07:00
Kyle Manna
dcc33e2483 Merge pull request #143 from sandhu/master
Fix for Windows 10 DNS Leak
2016-07-05 11:44:18 -07:00
Kyle Manna
0a5a792519 Merge pull request #138 from Caerbannog/patch-1
Add "key-direction 1" to client .ovpn
2016-07-05 11:44:05 -07:00
Achint Sandhu
bcedc8d6d6 Fix for Windows 10 DNS Leak
The patch includes an update to the OpenVPN server config to
address a DNS leak when using Windows 10, as documented at:
https://community.openvpn.net/openvpn/ticket/605
2016-07-05 13:29:45 -04:00
Kyle Manna
ff731723d4 Merge pull request #141 from meonkeys/upgrade-base-alpine
Derive from alpine 3.4 instead of 3.2
2016-06-25 21:09:47 -07:00
Adam Monsen
b81b2dd472 Derive from alpine 3.4 instead of 3.2
To work around known vulnerabilities in alpine 3.2 such as CVE-2016-2177
and CVE-2016-2178.

See https://github.com/kylemanna/docker-openvpn/issues/140
2016-06-24 13:53:45 -07:00
Kyle Manna
4f269704c4 Merge pull request #135 from efrecon/master
Automatically creating CCD directory
2016-06-23 06:28:05 -07:00
Emmanuel Frecon
3e747b353e Sending key to proper location! 2016-06-23 12:20:13 +02:00
Martin d'Allens
dac38246bd Add "key-direction 1" to client .ovpn
Adding this setting avoids connection errors on some clients, when the .ovpn file is imported directly in Gnome NetworkManager.

Server logs:
    Authenticate/Decrypt packet error: packet HMAC authentication failed
    TLS Error: incoming packet authentication failed from ...

Client logs:
    nm-openvpn: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
    nm-openvpn: TLS Error: TLS handshake failed

NetworkManager version: 1.2.0
openvpn version: OpenVPN 2.3.10
2016-06-13 12:09:54 +02:00
Emmanuel Frecon
c12fdcd83f Automatically creating CCD directory 2016-06-08 09:14:08 +02:00
Kyle Manna
50f387169a tests: dual-proto: Kill both background servers
* Kill both the udp and tcp background jobs.
2016-06-01 15:05:41 -07:00
Kyle Manna
22cc82d21d tests: dual-proto: Fail gracefully on firewall
* Firewall was already configured, don't exit the unit test.
2016-06-01 14:44:35 -07:00
Kyle Manna
14827df71d Merge branch 'dual-proto' of git://github.com/dave-burke/docker-openvpn into dave-burke-dual-proto 2016-06-01 14:44:16 -07:00
Kyle Manna
e8eb47ef2b test: Add a simple completion message and test cnt
* Simplify the review of the test log by looking for a magic line.
2016-06-01 14:43:28 -07:00
Kyle Manna
30adfd5632 tests: basic: Fail gracefully on firewall
* Firewall was already configured, don't exit the unit test.
2016-06-01 13:41:25 -07:00
Kyle Manna
f3a24fee60 travis: Fail when a unit test fails
* Oops, this never actually aborted when something went wrong.
* Fix that and abort.
* Print a brief message about the last script run that blew up.
2016-06-01 13:36:31 -07:00
Kyle Manna
61bb4a933c travis: Add test header
* Print a brief header to describe the test about to be run
2016-06-01 12:40:00 -07:00
Dave Burke
a5b9ade314 Add dual protocol documentation 2016-05-31 21:12:30 -05:00
Dave Burke
5d436643b2 Add dual protocol test 2016-05-31 21:12:30 -05:00
Dave Burke
d77ba5e1e8 Combine user args with generated args
Generated arguments will be added only if matching arguments were not
specified by the user. User arguments will be placed after generated
arguments. This allows the user to override any generated configuration
values.
2016-05-31 21:11:03 -05:00
Dave Burke
097376db75 Set working dir in ovpn_run instead of Dockerfile 2016-05-28 22:34:41 -05:00
Kyle Manna
caffc0b715 Merge pull request #130 from rgarrigue/patch-1
Update README.md
2016-05-25 22:18:36 -07:00
Rémy G
7eede0d8e5 Update README.md
Typo fix
2016-05-25 20:44:12 +02:00
Kyle Manna
22f90831cf Merge pull request #127 from mediatemple/add_extra_config
allow specifying extra config
2016-05-17 21:26:14 -07:00