diff options
author | Alberto Gonzalez Iniesta <agi@inittab.org> | 2015-07-01 13:15:55 +0200 |
---|---|---|
committer | Alberto Gonzalez Iniesta <agi@inittab.org> | 2015-07-01 13:15:55 +0200 |
commit | 36e6270cd1fdac93994548f1563b4f5fd5c24628 (patch) | |
tree | 5cf1af61a6ccb24eae9c2e3e081e81c38f7e0e3f /debian | |
parent | db0b5876a982e93446fcc2df42c16d3e2b62dcfb (diff) | |
parent | b35ad09bfc4a26e7ea456f01596aa86576a62b3b (diff) |
Merge branch 'jessie'
Conflicts:
debian/changelog
debian/control
debian/patches/series
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 18 | ||||
-rw-r--r-- | debian/control | 2 | ||||
-rw-r--r-- | debian/default | 3 | ||||
-rw-r--r-- | debian/patches/0001-Drop-too-short-control-channel-packets-instead-of-as.patch | 42 | ||||
-rw-r--r-- | debian/patches/series | 2 | ||||
-rw-r--r-- | debian/patches/update_sample_certs.patch | 532 | ||||
-rwxr-xr-x | debian/rules | 5 |
7 files changed, 602 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index c69c7c8..de37804 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,24 @@ openvpn (2.3.5-1) unstable; urgency=medium -- Alberto Gonzalez Iniesta <agi@inittab.org> Wed, 29 Oct 2014 17:44:06 +0100 +openvpn (2.3.4-5) unstable; urgency=high + + * Apply upstream patch that fixes possible DoS by authenticated + clients. CVE-2014-8104 + * Patch sample certs since they were expired and made the package + build fail. (Closes: #770835) + + -- Alberto Gonzalez Iniesta <agi@inittab.org> Mon, 01 Dec 2014 16:10:37 +0100 + +openvpn (2.3.4-4) unstable; urgency=medium + + * Use dh-systemd in order to enable the service unit. + (Closes: #768411) + * Add comment on /etc/default/openvpn file about options + not supported on systemd. (Closes: #768384) + + -- Alberto Gonzalez Iniesta <agi@inittab.org> Fri, 07 Nov 2014 13:59:54 +0100 + openvpn (2.3.4-3) unstable; urgency=medium * Apply patch by Samuel Thibault to clean up temporary files. diff --git a/debian/control b/debian/control index 619daac..ca28f8a 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: openvpn Section: net Priority: optional Maintainer: Alberto Gonzalez Iniesta <agi@inittab.org> -Build-Depends: debhelper (>= 7.0.50~), libssl-dev (>> 0.9.8g-9), liblzo2-dev, libpam0g-dev, libpkcs11-helper1-dev, pkg-config, dpkg-dev (>= 1.16.1), iproute2 [linux-any], net-tools [!linux-any], libsystemd-daemon-dev +Build-Depends: debhelper (>= 7.0.50~), libssl-dev (>> 0.9.8g-9), liblzo2-dev, libpam0g-dev, libpkcs11-helper1-dev, pkg-config, dpkg-dev (>= 1.16.1), iproute2 [linux-any], net-tools [!linux-any], dh-systemd (>= 1.5), libsystemd-daemon-dev Standards-Version: 3.9.5 Homepage: http://www.openvpn.net/ Vcs-Git: git://anonscm.debian.org/collab-maint/openvpn.git diff --git a/debian/default b/debian/default index 0dfa6a1..e18e59d 100644 --- a/debian/default +++ b/debian/default @@ -16,6 +16,9 @@ #AUTOSTART="none" #AUTOSTART="home office" # +# WARNING: If you're running systemd the rest of the +# options in this file are ignored. +# # Refresh interval (in seconds) of default status files # located in /var/run/openvpn.$NAME.status # Defaults to 10, 0 disables status file generation diff --git a/debian/patches/0001-Drop-too-short-control-channel-packets-instead-of-as.patch b/debian/patches/0001-Drop-too-short-control-channel-packets-instead-of-as.patch new file mode 100644 index 0000000..0c80ee0 --- /dev/null +++ b/debian/patches/0001-Drop-too-short-control-channel-packets-instead-of-as.patch @@ -0,0 +1,42 @@ +From c5590a6821e37f3b29735f55eb0c2b9c0924138c Mon Sep 17 00:00:00 2001 +From: Steffan Karger <steffan.karger@fox-it.com> +Date: Thu, 20 Nov 2014 13:43:05 +0100 +Subject: [PATCH] Drop too-short control channel packets instead of asserting + out. + +This fixes a denial-of-service vulnerability where an authenticated client +could stop the server by triggering a server-side ASSERT(). + +OpenVPN would previously ASSERT() that control channel packets have a +payload of at least 4 bytes. An authenticated client could trigger this +assert by sending a too-short control channel packet to the server. + +Thanks to Dragana Damjanovic for reporting the issue. + +This bug has been assigned CVE-2014-8104. + +Signed-off-by: Steffan Karger <steffan.karger@fox-it.com> +Acked-by: Gert Doering <gert@greenie.muc.de> +Message-Id: <1CED409804E2164C8104F9E623B08B9018803B0FE7@FOXDFT02.FOX.local> +Signed-off-by: Gert Doering <gert@greenie.muc.de> +--- + src/openvpn/ssl.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +Index: openvpn/src/openvpn/ssl.c +=================================================================== +--- openvpn.orig/src/openvpn/ssl.c 2014-12-01 16:09:43.031080162 +0100 ++++ openvpn/src/openvpn/ssl.c 2014-12-01 16:09:43.027080161 +0100 +@@ -2028,7 +2028,11 @@ + ASSERT (session->opt->key_method == 2); + + /* discard leading uint32 */ +- ASSERT (buf_advance (buf, 4)); ++ if (!buf_advance (buf, 4)) { ++ msg (D_TLS_ERRORS, "TLS ERROR: Plaintext buffer too short (%d bytes).", ++ buf->len); ++ goto error; ++ } + + /* get key method */ + key_method_flags = buf_read_u8 (buf); diff --git a/debian/patches/series b/debian/patches/series index f37465a..bbf753a 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -6,3 +6,5 @@ route_default_nil.patch kfreebsd_support.patch accommodate_typo.patch manpage_fixes.patch +0001-Drop-too-short-control-channel-packets-instead-of-as.patch +update_sample_certs.patch diff --git a/debian/patches/update_sample_certs.patch b/debian/patches/update_sample_certs.patch new file mode 100644 index 0000000..38e49ef --- /dev/null +++ b/debian/patches/update_sample_certs.patch @@ -0,0 +1,532 @@ +Index: openvpn/sample/sample-keys/ca.crt +=================================================================== +--- openvpn.orig/sample/sample-keys/ca.crt 2014-12-01 17:35:28.603250441 +0100 ++++ openvpn/sample/sample-keys/ca.crt 2014-12-01 17:35:28.599250441 +0100 +@@ -1,19 +1,35 @@ + -----BEGIN CERTIFICATE----- +-MIIDBjCCAm+gAwIBAgIBADANBgkqhkiG9w0BAQQFADBmMQswCQYDVQQGEwJ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++BZswgZgGA1UdIwSBkDCBjYAUK0DlyX319JY46S/jL9lAZMmOBZuhaqRoMGYxCzAJ ++BgNVBAYTAktHMQswCQYDVQQIEwJOQTEQMA4GA1UEBxMHQklTSEtFSzEVMBMGA1UE ++ChMMT3BlblZQTi1URVNUMSEwHwYJKoZIhvcNAQkBFhJtZUBteWhvc3QubXlkb21h ++aW6CCQChTt76kPKugTAMBgNVHRMEBTADAQH/MAsGA1UdDwQEAwIBBjANBgkqhkiG ++9w0BAQsFAAOCAgEABc77f4C4P8fIS+V8qCJmVNSDU44UZBc+D+J6ZTgW8JeOHUIj ++Bh++XDg3gwat7pIWQ8AU5R7h+fpBI9n3dadyIsMHGwSogHY9Gw7di2RVtSFajEth ++rvrq0JbzpwoYedMh84sJ2qI/DGKW9/Is9+O52fR+3z3dY3gNRDPQ5675BQ5CQW9I ++AJgLOqzD8Q0qrXYi7HaEqzNx6p7RDTuhFgvTd+vS5d5+28Z5fm2umnq+GKHF8W5P ++ylp2Js119FTVO7brusAMKPe5emc7tC2ov8OFFemQvfHR41PLryap2VD81IOgmt/J ++kX/j/y5KGux5HZ3lxXqdJbKcAq4NKYQT0mCkRD4l6szaCEJ+k0SiM9DdTcBDefhR ++9q+pCOyMh7d8QjQ1075mF7T+PGkZQUW1DUjEfrZhICnKgq+iEoUmM0Ee5WtRqcnu ++5BTGQ2mSfc6rV+Vr+eYXqcg7Nxb3vFXYSTod1UhefonVqwdmyJ2sC79zp36Tbo2+ ++65NW2WJK7KzPUyOJU0U9bcu0utvDOvGWmG+aHbymJgcoFzvZmlXqMXn97pSFn4jV ++y3SLRgJXOw1QLXL2Y5abcuoBVr4gCOxxk2vBeVxOMRXNqSWZOFIF1bu/PxuDA+Sa ++hEi44aHbPXt9opdssz/hdGfd8Wo7vEJrbg7c6zR6C/Akav1Rzy9oohIdgOw= + -----END CERTIFICATE----- +Index: openvpn/sample/sample-keys/ca.key +=================================================================== +--- openvpn.orig/sample/sample-keys/ca.key 2014-12-01 17:35:28.603250441 +0100 ++++ openvpn/sample/sample-keys/ca.key 2014-12-01 17:35:28.599250441 +0100 +@@ -1,15 +1,52 @@ +------BEGIN RSA PRIVATE KEY----- +-MIICXQIBAAKBgQCo+NYmd6w+7ptH+J5zgUzPeilVo90EfGD45Eo2audVk+HS3z9l +-PfgpeRigj0Hzaxy6unxSVlVcbwl1SzP7JqLy2L36Du9y7IpS1wIiOfQcuCZ0+7mA +-VfbmUHSlfD5chTTfV058++1E50blhk3nIISuALLtMTvOe0ueQQO5GbJTpwIDAQAB +-AoGAQuVREyWp4bhhbZr2UFBOco2ws6EOLWp4kdD/uI+WSoEjlHKiDJj+GJ1CrL5K +-o+4yD5MpCQf4/4FOQ0ukprfjJpDwDinTG6vzuWSLTHNiTgvksW3vy7IsNMJx97hT +-4D2QOOl9HhA50Qqg70teMPYXOgLRMVsdCIV7p7zDNy4nM+ECQQDX8m5ZcQmPtUDA +-38dPTfpL4U7kMB94FItJYH/Lk5kMW1/J33xymNhL+BHaG064ol9n2ubGW4XEO5t2 +-qE1IOsVpAkEAyE/x/OBVSI1s75aYGlEwMd87p3qaDdtXT7WzujjRY7r8Y1ynkMU6 +-GtMeneBX/lk4BY/6I+5bhAzce+hqhaXejwJBAL5Wg+c4GApf41xdogqHm7doNyYw +-OHyZ9w9NDDc+uGbI30xLPSCxEe0cEXgiG6foDpm2uzRZFTWaqHPU8pFYpAkCQGNX +-cpWM0/7VVK9Fqk1y8knpgfY/UWOJ4jU/0dCLGR0ywLSuYNPlXDmtdkOp3TnhGW14 +-x/9F2NEWZ8pzq1B4wHUCQQC5ztD4m/rpiIpinoewUJODoeBJXYBKqx1+mdrALCq6 +-ESvK1WRiusMaY3xmsdv4J2TB5iUPryELbn3jU12WGcQc +------END RSA PRIVATE KEY----- ++-----BEGIN PRIVATE KEY----- ++MIIJQwIBADANBgkqhkiG9w0BAQEFAASCCS0wggkpAgEAAoICAQCwlU8Kq3e+2gNb ++ZTQMgjVAiHZCzR2qHzzyeK/EAibYtO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client.crt +=================================================================== +--- openvpn.orig/sample/sample-keys/client.crt 2014-12-01 17:35:28.603250441 +0100 ++++ openvpn/sample/sample-keys/client.crt 2014-12-01 17:35:28.599250441 +0100 +@@ -2,64 +2,102 @@ + Data: + Version: 3 (0x2) + Serial Number: 2 (0x2) +- Signature Algorithm: md5WithRSAEncryption ++ Signature Algorithm: sha256WithRSAEncryption + Issuer: C=KG, ST=NA, L=BISHKEK, O=OpenVPN-TEST/emailAddress=me@myhost.mydomain + Validity +- Not Before: Nov 25 14:46:49 2004 GMT +- Not After : Nov 23 14:46:49 2014 GMT ++ Not Before: Oct 22 21:59:53 2014 GMT ++ Not After : Oct 19 21:59:53 2024 GMT + Subject: C=KG, ST=NA, O=OpenVPN-TEST, CN=Test-Client/emailAddress=me@myhost.mydomain + Subject Public Key Info: + Public Key Algorithm: rsaEncryption +- RSA Public Key: (1024 bit) +- Modulus (1024 bit): +- 00:d2:12:5c:c6:4d:13:34:ae:cf:fa:ab:fe:cb:de: +- 8c:f1:4b:4a:95:28:60:87:82:2c:b8:c1:e5:8e:c6: +- 5d:11:58:61:a4:a5:f1:42:d7:86:74:6c:9d:9c:7a: +- f0:3a:5c:29:e6:53:3b:5e:6d:d8:f0:45:06:2c:23: +- ee:09:bc:02:8f:0e:b8:d5:33:1f:c3:4a:11:02:48: +- 0b:cc:4b:ad:6e:74:e0:a2:53:b1:d6:cc:89:b9:e2: +- 6f:db:15:b3:19:1e:57:04:79:48:3a:da:76:31:fc: +- bf:d3:34:21:e7:32:d8:9e:06:4e:be:f3:e3:79:b0: +- 54:fd:d1:42:32:aa:3e:7a:c1 ++ Public-Key: (2048 bit) ++ Modulus: ++ 00:ec:65:8f:e9:12:c2:1a:5b:e6:56:2a:08:a9:82: ++ 3a:2d:44:78:a3:00:3b:b0:9f:e7:27:10:40:93:ef: ++ f1:cc:3e:a0:aa:04:a2:80:1b:13:a9:e6:fe:81:d6: ++ 70:90:a8:d8:d4:de:30:d8:35:00:d2:be:62:f0:48: ++ da:fc:15:8d:c4:c6:6d:0b:99:f1:2b:83:00:0a:d3: ++ 2a:23:0b:e5:cd:f9:35:df:43:61:15:72:ad:95:98: ++ f6:73:21:41:5e:a0:dd:47:27:a0:d5:9a:d4:41:a8: ++ 1c:1d:57:20:71:17:8f:f7:28:9e:3e:07:ce:ec:d5: ++ 0e:42:4f:1e:74:47:8e:47:9d:d2:14:28:27:2c:14: ++ 10:f5:d1:96:b5:93:74:84:ef:f9:04:de:8d:4a:6f: ++ df:77:ab:ea:d1:58:d3:44:fe:5a:04:01:ff:06:7a: ++ 97:f7:fd:e3:57:48:e1:f0:df:40:13:9f:66:23:5a: ++ e3:55:54:3d:54:39:ee:00:f9:12:f1:d2:df:74:2e: ++ ba:d7:f0:8d:c6:dd:18:58:1c:93:22:0b:75:fa:a8: ++ d6:e0:b5:2f:2d:b9:d4:fe:b9:4f:86:e2:75:48:16: ++ 60:fb:3f:c9:b4:30:42:29:fb:3b:b3:2b:b9:59:81: ++ 6a:46:f3:45:83:bf:fd:d5:1a:ff:37:0c:6f:5b:fd: ++ 61:f1 + Exponent: 65537 (0x10001) + X509v3 extensions: + X509v3 Basic Constraints: + CA:FALSE +- Netscape Comment: +- OpenSSL Generated Certificate + X509v3 Subject Key Identifier: +- 17:B7:3F:C7:62:A0:A9:FD:A4:31:0E:58:D7:D9:94:7B:4B:3F:CB:56 ++ D2:B4:36:0F:B1:FC:DD:A5:EA:2A:F7:C7:23:89:FA:E3:FA:7A:44:1D + X509v3 Authority Key Identifier: +- keyid:89:A6:60:E3:BA:EA:3E:AF:FC:64:7F:4C:BD:8C:D2:48:8D:E0:CC:46 ++ keyid:2B:40:E5:C9:7D:F5:F4:96:38:E9:2F:E3:2F:D9:40:64:C9:8E:05:9B + DirName:/C=KG/ST=NA/L=BISHKEK/O=OpenVPN-TEST/emailAddress=me@myhost.mydomain +- serial:00 ++ serial:A1:4E:DE:FA:90:F2:AE:81 + +- Signature Algorithm: md5WithRSAEncryption +- 61:c6:d1:fa:24:0f:c7:be:09:3b:d8:04:17:63:31:17:07:f9: +- 56:99:af:4c:67:fa:db:cb:94:cf:55:a5:7b:16:20:8b:42:64: +- 13:23:62:45:28:93:5e:36:f7:db:02:95:a1:e9:fd:e3:0f:8d: +- 73:a1:7b:0e:55:78:4d:a5:c4:b7:22:12:a0:ee:55:e0:b8:0e: +- c9:9b:12:e3:b0:ef:9b:68:93:57:6e:6c:ad:16:68:8e:8d:30: +- 33:fe:2a:1b:c3:03:8f:b6:0a:2d:0c:b1:3c:bb:f9:58:3f:8c: +- 81:59:6b:14:dd:62:b5:c2:93:ed:5d:c6:19:0f:9b:4b:52:b3: +- 7c:78 ++ Signature Algorithm: sha256WithRSAEncryption ++ 7f:e0:fe:84:a7:ec:df:62:a5:cd:3c:c1:e6:42:b1:31:12:f0: ++ b9:da:a7:9e:3f:bd:96:52:b6:fc:55:74:64:3e:e4:ff:7e:aa: ++ f7:3e:06:18:5f:73:85:f8:c8:e0:67:1b:4d:97:ca:05:d0:37: ++ 07:33:64:9b:e6:78:77:14:9a:55:bb:2a:ac:c3:7f:c9:15:08: ++ 83:5c:c8:c2:61:d3:71:4c:05:0b:2b:cb:a3:87:6d:a0:32:ed: ++ b0:b3:27:97:4a:55:8d:01:2a:30:56:68:ab:f2:da:5c:10:73: ++ c9:aa:0a:9c:4b:4c:a0:5b:51:6e:0a:7e:6c:53:80:b0:00:e1: ++ 1e:9a:4c:0a:37:9e:20:89:bc:c5:e5:79:58:b7:45:ff:d3:c4: ++ a1:fd:d9:78:3d:45:16:74:df:82:44:1d:1d:81:50:5a:b9:32: ++ 4c:e2:4f:3f:0e:3a:65:5a:64:83:3b:29:31:c4:99:88:bc:c5: ++ 84:39:f2:19:12:e1:66:d0:ea:fb:75:b1:d2:27:be:91:59:a3: ++ 2b:09:d5:5c:bf:46:8e:d6:67:d6:0b:ec:da:ab:f0:80:19:87: ++ 64:07:a9:77:b1:5e:0c:e2:c5:1d:6a:ac:5d:23:f3:30:75:36: ++ 4e:ca:c3:4e:b0:4d:8c:2c:ce:52:61:63:de:d5:f5:ef:ef:0a: ++ 6b:23:25:26:3c:3a:f2:c3:c2:16:19:3f:a9:32:ba:68:f9:c9: ++ 12:3c:3e:c6:1f:ff:9b:4e:f4:90:b0:63:f5:d1:33:00:30:5a: ++ e8:24:fa:35:44:9b:6a:80:f3:a6:cc:7b:3c:73:5f:50:c4:30: ++ 71:d8:74:90:27:0a:01:4e:a5:5e:b1:f8:da:c2:61:81:11:ae: ++ 29:a3:8f:fa:7e:4c:4e:62:b1:00:de:92:e3:8f:6a:2e:da:d9: ++ 38:5d:6b:7c:0d:e4:01:aa:c8:c6:6d:8b:cd:c0:c8:6e:e4:57: ++ 21:8a:f6:46:30:d9:ad:51:a1:87:96:a6:53:c9:1e:c6:bb:c3: ++ eb:55:fe:8c:d6:5c:d5:c6:f3:ca:b0:60:d2:d4:2a:1f:88:94: ++ d3:4c:1a:da:0c:94:fe:c1:5d:0d:2a:db:99:29:5d:f6:dd:16: ++ c4:c8:4d:74:9e:80:d9:d0:aa:ed:7b:e3:30:e4:47:d8:f5:15: ++ c1:71:b8:c6:fd:ee:fc:9e:b2:5f:b5:b7:92:ed:ff:ca:37:f6: ++ c7:82:b4:54:13:9b:83:cd:87:8b:7e:64:f6:2e:54:3a:22:b1: ++ c5:c1:f4:a5:25:53:9a:4d:a8:0f:e7:35:4b:89:df:19:83:66: ++ 64:d9:db:d1:61:2b:24:1b:1d:44:44:fb:49:30:87:b7:49:23: ++ 08:02:8a:e0:25:f3:f4:43 + -----BEGIN CERTIFICATE----- +-MIIDNTCCAp6gAwIBAgIBAjANBgkqhkiG9w0BAQQFADBmMQswCQYDVQQGEwJLRzEL ++MIIFFDCCAvygAwIBAgIBAjANBgkqhkiG9w0BAQsFADBmMQswCQYDVQQGEwJLRzEL + MAkGA1UECBMCTkExEDAOBgNVBAcTB0JJU0hLRUsxFTATBgNVBAoTDE9wZW5WUE4t +-VEVTVDEhMB8GCSqGSIb3DQEJARYSbWVAbXl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x0ie+kVmjKwnVXL9GjtZn1gvs2qvwgBmH ++ZAepd7FeDOLFHWqsXSPzMHU2TsrDTrBNjCzOUmFj3tX17+8KayMlJjw68sPCFhk/ ++qTK6aPnJEjw+xh//m070kLBj9dEzADBa6CT6NUSbaoDzpsx7PHNfUMQwcdh0kCcK ++AU6lXrH42sJhgRGuKaOP+n5MTmKxAN6S449qLtrZOF1rfA3kAarIxm2LzcDIbuRX ++IYr2RjDZrVGhh5amU8kexrvD61X+jNZc1cbzyrBg0tQqH4iU00wa2gyU/sFdDSrb ++mSld9t0WxMhNdJ6A2dCq7XvjMORH2PUVwXG4xv3u/J6yX7W3ku3/yjf2x4K0VBOb ++g82Hi35k9i5UOiKxxcH0pSVTmk2oD+c1S4nfGYNmZNnb0WErJBsdRET7STCHt0kj ++CAKK4CXz9EM= + -----END CERTIFICATE----- +Index: openvpn/sample/sample-keys/client.key +=================================================================== +--- openvpn.orig/sample/sample-keys/client.key 2014-12-01 17:35:28.603250441 +0100 ++++ openvpn/sample/sample-keys/client.key 2014-12-01 17:35:28.599250441 +0100 +@@ -1,15 +1,28 @@ +------BEGIN RSA PRIVATE KEY----- +-MIICXAIBAAKBgQDSElzGTRM0rs/6q/7L3ozxS0qVKGCHgiy4weWOxl0RWGGkpfFC +-14Z0bJ2cevA6XCnmUztebdjwRQYsI+4JvAKPDrjVMx/DShECSAvMS61udOCiU7HW +-zIm54m/bFbMZHlcEeUg62nYx/L/TNCHnMtieBk6+8+N5sFT90UIyqj56wQIDAQAB +-AoGBAK8RoIGekCfym99DYYfTg9A/t/tQeAnWYaDj7oSrKbqf1lgZ91OGPEZgkoVr +-KzLnxf9uU+bhUs8CJx+4HdO8/L9rAJA+oD9QNuMp0elN4AKuEGE1Eq3a0e3cmgPI +-+VIoXM6WVAGgK9I03Zu/UerYQ/DdXWGOIsKhFe8qyQoG9pKxAkEA9ld6O9MHQt3d +-JAjJkgCNn4psozxjrfLWy2huXd3H3CRqGMjLITDGzdkVSgXjHokBYroi0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dOVe2BOKQ8NlPUDmE ++/1XNIDaE3s6uvUaoFfwowzsCCwN2/8QrRMMKkjvV+lEVtNmQdYxj5Xj5IwS0vkK0 ++6icsngW87cpZxxc1zsRWcSTloy5ohub4FgKhlolmigECgYEA+cBlxzLvaMzMlBQY ++kCac9KQMvVL+DIFHlZA5i5L/9pRVp4JJwj3GUoehFJoFhsxnKr8HZyLwBKlCmUVm ++VxnshRWiAU18emUmeAtSGawlAS3QXhikVZDdd/L20YusLT+DXV81wlKR97/r9+17 ++klQOLkSdPm9wcMDOWMNHX8bUg8kCgYEA8k+hQv6+TR/+Beao2IIctFtw/EauaJiJ ++wW5ql1cpCLPMAOQUvjs0Km3zqctfBF8mUjdkcyJ4uhL9FZtfywY22EtRIXOJ/8VR ++we65mVo6RLR8YVM54sihanuFOnlyF9LIBWB+9pUfh1/Y7DSebh7W73uxhAxQhi3Y ++QwfIQIFd8OkCgYBalH4VXhLYhpaYCiXSej6ot6rrK2N6c5Tb2MAWMA1nh+r84tMP ++gMoh+pDgYPAqMI4mQbxUmqZEeoLuBe6VHpDav7rPECRaW781AJ4ZM4cEQ3Jz/inz ++4qOAMn10CF081/Ez9ykPPlU0bsYNWHNd4eB2xWnmUBKOwk7UgJatVPaUiQKBgQCI ++f18CVGpzG9CHFnaK8FCnMNOm6VIaTcNcGY0mD81nv5Dt943P054BQMsAHTY7SjZW ++HioRyZtkhonXAB2oSqnekh7zzxgv4sG5k3ct8evdBCcE1FNJc2eqikZ0uDETRoOy ++s7cRxNNr+QxDkyikM+80HOPU1PMPgwfOSrX90GJQ8QKBgEBKohGMV/sNa4t14Iau ++qO8aagoqh/68K9GFXljsl3/iCSa964HIEREtW09Qz1w3dotEgp2w8bsDa+OwWrLy ++0SY7T5jRViM3cDWRlUBLrGGiL0FiwsfqiRiji60y19erJgrgyGVIb1kIgIBRkgFM ++2MMweASzTmZcri4PA/5C0HYb ++-----END PRIVATE KEY----- +Index: openvpn/sample/sample-keys/server.crt +=================================================================== +--- openvpn.orig/sample/sample-keys/server.crt 2014-12-01 17:35:28.603250441 +0100 ++++ openvpn/sample/sample-keys/server.crt 2014-12-01 17:35:28.599250441 +0100 +@@ -2,25 +2,34 @@ + Data: + Version: 3 (0x2) + Serial Number: 1 (0x1) +- Signature Algorithm: md5WithRSAEncryption ++ Signature Algorithm: sha256WithRSAEncryption + Issuer: C=KG, ST=NA, L=BISHKEK, O=OpenVPN-TEST/emailAddress=me@myhost.mydomain + Validity +- Not Before: Nov 25 14:42:22 2004 GMT +- Not After : Nov 23 14:42:22 2014 GMT ++ Not Before: Oct 22 21:59:52 2014 GMT ++ Not After : Oct 19 21:59:52 2024 GMT + Subject: C=KG, ST=NA, O=OpenVPN-TEST, CN=Test-Server/emailAddress=me@myhost.mydomain + Subject Public Key Info: + Public Key Algorithm: rsaEncryption +- RSA Public Key: (1024 bit) +- Modulus (1024 bit): +- 00:cb:4e:ac:f9:83:57:f6:69:d2:32:29:b4:bc:ad: +- e6:f7:26:21:89:33:30:43:40:a3:35:d9:de:26:01: +- d6:b4:f0:bc:0a:19:55:99:3b:f1:4c:91:60:b6:fd: +- 74:34:8d:5a:c7:62:ec:ce:f2:d6:02:ce:57:32:f4: +- 35:8c:71:a0:6d:65:2a:e7:80:ae:29:59:cf:36:73: +- f8:7c:4a:73:90:fc:30:28:d5:46:7d:35:a4:4e:c9: +- 9f:90:7b:e2:09:21:36:c5:a8:ec:85:82:9a:32:b4: +- 91:3b:c1:d6:4f:9f:d1:f8:6f:68:f4:1d:d2:06:91: +- 32:cc:9a:48:fd:cd:98:7f:2f ++ Public-Key: (2048 bit) ++ Modulus: ++ 00:a5:b8:a2:ee:ce:b1:a6:0f:6a:b2:9f:d3:22:17: ++ 79:de:09:98:71:78:fa:a7:ce:36:51:54:57:c7:31: ++ 99:56:d1:8a:d6:c5:fd:52:e6:88:0e:7b:f9:ea:27: ++ 7a:bf:3f:14:ec:aa:d2:ff:8b:56:58:ac:ca:51:77: ++ c5:3c:b6:e4:83:6f:22:06:2d:5b:eb:e7:59:d4:ab: ++ 42:c8:d5:a9:87:73:b3:73:36:51:2f:a5:d0:90:a2: ++ 87:64:54:6c:12:d3:b8:76:47:69:af:ae:8f:00:b3: ++ 70:b9:e7:67:3f:8c:6a:3d:79:5f:81:27:a3:0e:aa: ++ a7:3d:81:48:10:b1:18:6c:38:2e:8f:7a:7b:c5:3d: ++ 21:c8:f9:a0:7f:17:2b:88:4f:ba:f2:ec:6d:24:8e: ++ 6c:f1:0a:5c:d9:5b:b1:b0:fc:49:cb:4a:d2:58:c6: ++ 2a:25:b0:97:84:c3:9e:ff:34:8c:10:46:7f:0f:fb: ++ 3c:59:7a:a6:29:0c:ae:8e:50:3a:f2:53:84:40:2d: ++ d5:91:7b:0a:37:8e:82:77:ce:66:2f:34:77:5c:a5: ++ 45:3b:00:19:a7:07:d1:92:e6:66:b9:3b:4e:e9:63: ++ fc:33:98:1a:ae:7b:08:7d:0a:df:7a:ba:aa:59:6d: ++ 86:82:0a:64:2b:da:59:a7:4c:4e:ef:3d:bd:04:a2: ++ 4b:31 + Exponent: 65537 (0x10001) + X509v3 extensions: + X509v3 Basic Constraints: +@@ -30,38 +39,75 @@ + Netscape Comment: + OpenSSL Generated Server Certificate + X509v3 Subject Key Identifier: +- 69:11:FE:E7:9F:89:7B:71:34:69:C0:DC:82:F8:D0:5D:4D:FB:78:DF ++ B3:9D:81:E6:16:92:64:C4:86:87:F5:29:10:1B:5E:2F:74:F7:ED:B1 + X509v3 Authority Key Identifier: +- keyid:89:A6:60:E3:BA:EA:3E:AF:FC:64:7F:4C:BD:8C:D2:48:8D:E0:CC:46 ++ keyid:2B:40:E5:C9:7D:F5:F4:96:38:E9:2F:E3:2F:D9:40:64:C9:8E:05:9B + DirName:/C=KG/ST=NA/L=BISHKEK/O=OpenVPN-TEST/emailAddress=me@myhost.mydomain +- serial:00 ++ serial:A1:4E:DE:FA:90:F2:AE:81 + +- Signature Algorithm: md5WithRSAEncryption +- 35:5c:75:da:57:ef:b5:79:f2:a2:db:36:e4:75:e8:c7:bc:73: +- 26:cf:30:36:4b:2e:51:46:37:60:2f:4e:2b:f6:71:a2:23:db: +- 8e:d8:5c:d5:af:2e:22:28:dd:30:a8:89:66:3a:cc:5b:3c:0f: +- 96:12:20:de:5e:41:52:74:35:ed:4c:26:40:19:ca:73:df:54: +- b1:30:96:9c:a5:14:d0:38:28:3f:ab:30:07:d7:de:98:d2:7f: +- 7f:90:b2:52:1d:e5:95:88:ed:ba:8a:6a:14:85:66:76:ec:75: +- 30:e8:ae:94:f4:e1:76:fa:4b:0e:f1:53:d7:95:be:fb:69:fa: +- 3d:32 ++ X509v3 Extended Key Usage: ++ TLS Web Server Authentication ++ X509v3 Key Usage: ++ Digital Signature, Key Encipherment ++ Signature Algorithm: sha256WithRSAEncryption ++ 4e:25:80:1b:cb:b0:42:ff:bb:3f:e8:0d:58:c1:80:db:cf:d0: ++ 90:df:ca:c1:e6:41:e1:48:7f:a7:1e:c7:35:9f:9c:6d:7c:3e: ++ 82:e8:de:7e:ae:82:16:00:33:0f:02:23:f1:9d:fe:2b:06:16: ++ 05:55:16:89:dc:63:ac:5f:1a:31:13:79:21:a3:6e:60:28:e8: ++ e7:6b:54:00:22:a1:b7:69:5a:17:31:ce:0f:c2:a6:dd:a3:6f: ++ de:ea:19:6c:d2:d2:cb:35:9d:dd:87:51:33:68:cd:c3:9b:90: ++ 55:f1:80:3d:5c:b8:09:b6:e1:3c:13:a4:5d:4a:ce:a5:11:9e: ++ f9:08:ee:be:e3:54:1d:06:4c:bb:1b:72:13:ee:7d:a0:45:cc: ++ fe:d1:3b:02:03:c1:d4:ea:45:2d:a8:c9:97:e7:f3:8a:7a:a0: ++ 2f:dd:48:3a:75:c9:42:28:94:fc:af:44:52:16:68:98:d6:ad: ++ a8:65:b1:cd:ac:60:41:70:e5:44:e8:5a:f2:e7:fc:3b:fe:45: ++ 89:17:1d:6d:85:c6:f0:fc:69:87:d1:1d:07:f3:cb:7b:54:8d: ++ aa:a3:cc:e3:c6:fc:d6:05:76:35:d0:26:63:8e:d1:a8:b7:ff: ++ 61:42:8a:2c:63:1f:d4:ec:14:47:6b:1e:e3:81:61:12:3b:8c: ++ 16:b5:cf:87:6a:2d:42:21:83:9c:0e:3a:90:3a:1e:c1:36:61: ++ 41:f9:fb:4e:5d:ea:f4:df:23:92:33:2b:9b:14:9f:a0:f5:d3: ++ c4:f8:1f:2f:9c:11:36:af:2a:22:61:95:32:0b:c4:1c:2d:b1: ++ c1:0a:2a:97:c0:43:4a:6c:3e:db:00:cd:29:15:9e:7e:41:75: ++ 36:a8:56:86:8c:82:9e:46:20:e5:06:1e:60:d2:03:5f:9f:9e: ++ 69:bb:bf:c2:b4:43:e2:7d:85:17:83:18:41:b0:cb:a9:04:1b: ++ 18:52:9f:89:8b:76:9f:94:59:81:4f:60:5b:33:18:fc:c7:52: ++ d0:d2:69:fc:0b:a2:63:32:75:43:99:e9:d7:f8:6d:c7:55:31: ++ 0c:f3:ef:1a:71:e1:0a:57:e1:9d:13:b2:1e:fe:1d:ef:e4:f1: ++ 51:d9:95:b3:fd:28:28:93:91:4a:29:c5:37:0e:ab:d8:85:6a: ++ fe:a8:83:1f:7b:80:5d:1f:04:79:b7:a9:08:6e:0d:d6:2e:aa: ++ 7c:f6:63:7d:41:de:70:13:32:ce:dd:58:cc:a6:73:d4:72:7e: ++ d7:ac:74:a8:35:ba:c3:1b:2a:64:d7:5a:37:97:56:94:34:2b: ++ 2a:71:60:bc:69:ab:00:85:b9:4f:67:32:17:51:c3:da:57:3a: ++ 37:89:66:c4:7a:51:da:5f + -----BEGIN CERTIFICATE----- +-MIIDUTCCArqgAwIBAgIBATANBgkqhkiG9w0BAQQFADBmMQswCQYDVQQGEwJLRzEL ++MIIFgDCCA2igAwIBAgIBATANBgkqhkiG9w0BAQsFADBmMQswCQYDVQQGEwJLRzEL + MAkGA1UECBMCTkExEDAOBgNVBAcTB0JJU0hLRUsxFTATBgNVBAoTDE9wZW5WUE4t +-VEVTVDEhMB8GCS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AzDwIj8Z3+KwYWBVUWidxj ++rF8aMRN5IaNuYCjo52tUACKht2laFzHOD8Km3aNv3uoZbNLSyzWd3YdRM2jNw5uQ ++VfGAPVy4CbbhPBOkXUrOpRGe+QjuvuNUHQZMuxtyE+59oEXM/tE7AgPB1OpFLajJ ++l+fzinqgL91IOnXJQiiU/K9EUhZomNatqGWxzaxgQXDlROha8uf8O/5FiRcdbYXG ++8Pxph9EdB/PLe1SNqqPM48b81gV2NdAmY47RqLf/YUKKLGMf1OwUR2se44FhEjuM ++FrXPh2otQiGDnA46kDoewTZhQfn7Tl3q9N8jkjMrmxSfoPXTxPgfL5wRNq8qImGV ++MgvEHC2xwQoql8BDSmw+2wDNKRWefkF1NqhWhoyCnkYg5QYeYNIDX5+eabu/wrRD ++4n2FF4MYQbDLqQQbGFKfiYt2n5RZgU9gWzMY/MdS0NJp/AuiYzJ1Q5np1/htx1Ux ++DPPvGnHhClfhnROyHv4d7+TxUdmVs/0oKJORSinFNw6r2IVq/qiDH3uAXR8Eebep ++CG4N1i6qfPZjfUHecBMyzt1YzKZz1HJ+16x0qDW6wxsqZNdaN5dWlDQrKnFgvGmr ++AIW5T2cyF1HD2lc6N4lmxHpR2l8= + -----END CERTIFICATE----- +Index: openvpn/sample/sample-keys/server.key +=================================================================== +--- openvpn.orig/sample/sample-keys/server.key 2014-12-01 17:35:28.603250441 +0100 ++++ openvpn/sample/sample-keys/server.key 2014-12-01 17:35:28.599250441 +0100 +@@ -1,15 +1,28 @@ +------BEGIN RSA PRIVATE KEY----- +-MIICXgIBAAKBgQDLTqz5g1f2adIyKbS8reb3JiGJMzBDQKM12d4mAda08LwKGVWZ +-O/FMkWC2/XQ0jVrHYuzO8tYCzlcy9DWMcaBtZSrngK4pWc82c/h8SnOQ/DAo1UZ9 +-NaROyZ+Qe+IJITbFqOyFgpoytJE7wdZPn9H4b2j0HdIGkTLMmkj9zZh/LwIDAQAB +-AoGBAKP1ljA/iY/zNY447kZ/5NWKzd7tBk4mcbl7M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++4Nql6mXEVhHCvS4hdFCGaNF0z9A6eBORKJpdLWnqhpquDQDsghWE+Ga4QKSNFIi1 ++fnAaykmZuY3ToqNOIaVlYM6HpMEz0wHQbTWfDLGcTFcElLZgMAk7VlDyiYVOco+E ++QX9lXOO1PGpLzXhlDxSe63Y= ++-----END PRIVATE KEY----- diff --git a/debian/rules b/debian/rules index c5d982d..ba759c2 100755 --- a/debian/rules +++ b/debian/rules @@ -11,7 +11,7 @@ endif export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: - dh $@ + dh $@ --with systemd override_dh_auto_configure: dh_auto_configure -- $(shell dpkg-buildflags --export=configure) --enable-password-save --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --with-ifconfig-path=/sbin/ifconfig $(ROUTE_ARGS) --with-plugindir=\$${prefix}/lib/openvpn --includedir=\$${prefix}/include/openvpn --enable-pkcs11 --enable-x509-alt-username --enable-systemd @@ -70,3 +70,6 @@ override_dh_installinit: override_dh_compress: dh_compress --exclude=.cnf --exclude=pkitool +override_dh_systemd_start: + dh_systemd_start --restart-after-upgrade + |