Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Only in openvpn-2.3.11/distro/rpm: openvpn.spec
- diff -ur openvpn-2.3.11/doc/openvpn.8 ./openvpn-2.3.x/doc/openvpn.8
- --- openvpn-2.3.11/doc/openvpn.8 2016-05-10 09:02:33.000000000 +0300
- +++ ./openvpn-2.3.x/doc/openvpn.8 2016-08-29 13:37:50.264794318 +0300
- @@ -5622,10 +5622,7 @@
- Specify an IPv6 address pool for dynamic assignment to clients. The
- pool starts at
- .B ipv6addr
- -and increments by +1 for every new client (linear mode). The
- -.B /bits
- -setting controls the size of the pool. Due to implementation details,
- -the pool size must be between /64 and /112.
- +and matches the offset determined from the start of the IPv4 pool.
- .TP
- .B \-\-ifconfig\-ipv6\-push ipv6addr/bits ipv6remote
- for ccd/ per-client static IPv6 interface configuration, see
- diff -ur openvpn-2.3.11/.gitignore ./openvpn-2.3.x/.gitignore
- --- openvpn-2.3.11/.gitignore 2016-05-10 09:02:33.000000000 +0300
- +++ ./openvpn-2.3.x/.gitignore 2016-08-29 13:37:50.192792687 +0300
- @@ -20,30 +20,14 @@
- .deps
- .libs
- Makefile
- -Makefile.in
- -aclocal.m4
- autodefs.h
- autom4te.cache
- -config.guess
- config.h
- -config.h.in
- config.log
- config.status
- -config.sub
- -configure
- configure.h
- -depcomp
- doxygen/
- stamp-h1
- -install-sh
- -missing
- -ltmain.sh
- -libtool
- -m4/libtool.m4
- -m4/ltoptions.m4
- -m4/ltsugar.m4
- -m4/ltversion.m4
- -m4/lt~obsolete.m4
- version.sh
- msvc-env-local.bat
- diff -ur openvpn-2.3.11/Makefile.in ./openvpn-2.3.x/Makefile.in
- --- openvpn-2.3.11/Makefile.in 2016-05-10 09:02:54.000000000 +0300
- +++ ./openvpn-2.3.x/Makefile.in 2016-08-29 13:37:50.200792869 +0300
- @@ -484,7 +484,7 @@
- .SUFFIXES:
- am--refresh: Makefile
- @:
- -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
- +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- @@ -512,8 +512,6 @@
- $(top_srcdir)/configure: $(am__configure_deps)
- $(am__cd) $(srcdir) && $(AUTOCONF)
- -$(ACLOCAL_M4): $(am__aclocal_m4_deps)
- - $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
- $(am__aclocal_m4_deps):
- config.h: stamp-h1
- @@ -523,10 +521,6 @@
- stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
- @rm -f stamp-h1
- cd $(top_builddir) && $(SHELL) ./config.status config.h
- -$(srcdir)/config.h.in: $(am__configure_deps)
- - ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
- - rm -f stamp-h1
- - touch $@
- distclean-hdr:
- -rm -f config.h stamp-h1
- diff -ur openvpn-2.3.11/src/openvpn/init.c ./openvpn-2.3.x/src/openvpn/init.c
- --- openvpn-2.3.11/src/openvpn/init.c 2016-05-10 09:02:33.000000000 +0300
- +++ ./openvpn-2.3.x/src/openvpn/init.c 2016-08-29 13:37:50.376796854 +0300
- @@ -2525,8 +2525,10 @@
- msg (M_WARN, "WARNING: using --pull/--client and --ifconfig together is probably not what you want");
- #if P2MP_SERVER
- +#if 0
- if (o->server_bridge_defined | o->server_bridge_proxy_dhcp)
- msg (M_WARN, "NOTE: when bridging your LAN adapter with the TAP adapter, note that the new bridge adapter will often take on its own IP address that is different from what the LAN adapter was previously set to");
- +#endif
- if (o->mode == MODE_SERVER)
- {
- diff -ur openvpn-2.3.11/src/openvpn/multi.c ./openvpn-2.3.x/src/openvpn/multi.c
- --- openvpn-2.3.11/src/openvpn/multi.c 2016-05-10 09:02:33.000000000 +0300
- +++ ./openvpn-2.3.x/src/openvpn/multi.c 2016-08-29 13:37:50.416797759 +0300
- @@ -1354,7 +1354,7 @@
- mi->context.c2.push_ifconfig_ipv6_remote =
- mi->context.c1.tuntap->local_ipv6;
- mi->context.c2.push_ifconfig_ipv6_netbits =
- - mi->context.options.ifconfig_ipv6_pool_netbits;
- + mi->context.options.ifconfig_ipv6_netbits;
- mi->context.c2.push_ifconfig_ipv6_defined = true;
- }
- }
- diff -ur openvpn-2.3.11/src/openvpn/ssl.c ./openvpn-2.3.x/src/openvpn/ssl.c
- --- openvpn-2.3.11/src/openvpn/ssl.c 2016-05-10 09:02:33.000000000 +0300
- +++ ./openvpn-2.3.x/src/openvpn/ssl.c 2016-08-29 13:37:50.464798846 +0300
- @@ -150,6 +150,7 @@
- {"DHE-RSA-CAMELLIA128-SHA", "TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA"},
- {"DHE-RSA-CAMELLIA256-SHA256", "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256"},
- {"DHE-RSA-CAMELLIA256-SHA", "TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA"},
- + {"DHE-RSA-CHACHA20-POLY1305", "TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256"},
- {"DHE-RSA-SEED-SHA", "TLS-DHE-RSA-WITH-SEED-CBC-SHA"},
- {"DH-RSA-SEED-SHA", "TLS-DH-RSA-WITH-SEED-CBC-SHA"},
- {"ECDH-ECDSA-AES128-GCM-SHA256", "TLS-ECDH-ECDSA-WITH-AES-128-GCM-SHA256"},
- @@ -178,6 +179,7 @@
- {"ECDHE-ECDSA-CAMELLIA128-SHA", "TLS-ECDHE-ECDSA-WITH-CAMELLIA-128-CBC-SHA"},
- {"ECDHE-ECDSA-CAMELLIA256-SHA256", "TLS-ECDHE-ECDSA-WITH-CAMELLIA-256-CBC-SHA256"},
- {"ECDHE-ECDSA-CAMELLIA256-SHA", "TLS-ECDHE-ECDSA-WITH-CAMELLIA-256-CBC-SHA"},
- + {"ECDHE-ECDSA-CHACHA20-POLY1305", "TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256"},
- {"ECDHE-ECDSA-DES-CBC3-SHA", "TLS-ECDHE-ECDSA-WITH-3DES-EDE-CBC-SHA"},
- {"ECDHE-ECDSA-DES-CBC-SHA", "TLS-ECDHE-ECDSA-WITH-DES-CBC-SHA"},
- {"ECDHE-ECDSA-RC4-SHA", "TLS-ECDHE-ECDSA-WITH-RC4-128-SHA"},
- @@ -193,6 +195,7 @@
- {"ECDHE-RSA-CAMELLIA128-SHA", "TLS-ECDHE-RSA-WITH-CAMELLIA-128-CBC-SHA"},
- {"ECDHE-RSA-CAMELLIA256-SHA256", "TLS-ECDHE-RSA-WITH-CAMELLIA-256-CBC-SHA256"},
- {"ECDHE-RSA-CAMELLIA256-SHA", "TLS-ECDHE-RSA-WITH-CAMELLIA-256-CBC-SHA"},
- + {"ECDHE-RSA-CHACHA20-POLY1305", "TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256"},
- {"ECDHE-RSA-DES-CBC3-SHA", "TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA"},
- {"ECDHE-RSA-DES-CBC-SHA", "TLS-ECDHE-RSA-WITH-DES-CBC-SHA"},
- {"ECDHE-RSA-RC4-SHA", "TLS-ECDHE-RSA-WITH-RC4-128-SHA"},
- diff -ur openvpn-2.3.11/src/openvpn/ssl_polarssl.c ./openvpn-2.3.x/src/openvpn/ssl_polarssl.c
- --- openvpn-2.3.11/src/openvpn/ssl_polarssl.c 2016-05-10 09:02:33.000000000 +0300
- +++ ./openvpn-2.3.x/src/openvpn/ssl_polarssl.c 2016-08-29 13:37:50.480799209 +0300
- @@ -176,7 +176,12 @@
- {
- char *tmp_ciphers, *tmp_ciphers_orig, *token;
- int i, cipher_count;
- - int ciphers_len = strlen (ciphers);
- + int ciphers_len;
- +
- + if (NULL == ciphers)
- + return; /* Nothing to do */
- +
- + ciphers_len = strlen (ciphers);
- ASSERT (NULL != ctx);
- ASSERT (0 != ciphers_len);
- diff -ur openvpn-2.3.11/src/openvpn/tun.c ./openvpn-2.3.x/src/openvpn/tun.c
- --- openvpn-2.3.11/src/openvpn/tun.c 2016-05-10 09:02:33.000000000 +0300
- +++ ./openvpn-2.3.x/src/openvpn/tun.c 2016-08-29 13:37:50.496799570 +0300
- @@ -62,7 +62,7 @@
- const in_addr_t ip,
- const in_addr_t netmask,
- const unsigned int flags);
- -static void netsh_command (const struct argv *a, int n);
- +static void netsh_command (const struct argv *a, int n, int msglevel);
- static const char *netsh_get_id (const char *dev_node, struct gc_arena *gc);
- @@ -1246,7 +1246,7 @@
- NETSH_PATH_SUFFIX,
- win32_version_info() == WIN_XP ? actual : iface,
- ifconfig_ipv6_local);
- - netsh_command (&argv, 4);
- + netsh_command (&argv, 4, M_FATAL);
- /* explicit route needed */
- /* on windows, OpenVPN does ifconfig first, open_tun later, so
- @@ -4246,7 +4246,7 @@
- */
- static void
- -netsh_command (const struct argv *a, int n)
- +netsh_command (const struct argv *a, int n, int msglevel)
- {
- int i;
- for (i = 0; i < n; ++i)
- @@ -4261,7 +4261,7 @@
- return;
- openvpn_sleep (4);
- }
- - msg (M_FATAL, "NETSH: command failed");
- + msg (msglevel, "NETSH: command failed");
- }
- void
- @@ -4411,7 +4411,7 @@
- NETSH_PATH_SUFFIX,
- type,
- flex_name);
- - netsh_command (&argv, 2);
- + netsh_command (&argv, 2, M_FATAL);
- }
- /* add new DNS/WINS settings to TAP interface */
- @@ -4432,7 +4432,7 @@
- type,
- flex_name,
- print_in_addr_t (addr_list[i], 0, &gc));
- - netsh_command (&argv, 2);
- + netsh_command (&argv, 2, M_FATAL);
- ++count;
- }
- @@ -4507,7 +4507,7 @@
- print_in_addr_t (ip, 0, &gc),
- print_in_addr_t (netmask, 0, &gc));
- - netsh_command (&argv, 4);
- + netsh_command (&argv, 4, M_FATAL);
- }
- }
- @@ -4553,7 +4553,7 @@
- NETSH_PATH_SUFFIX,
- actual_name);
- - netsh_command (&argv, 4);
- + netsh_command (&argv, 4, M_FATAL);
- argv_reset (&argv);
- }
- @@ -5269,7 +5269,7 @@
- tt->actual_name,
- ifconfig_ipv6_local );
- - netsh_command (&argv, 1);
- + netsh_command (&argv, 1, M_WARN);
- argv_reset (&argv);
- }
- #if 1
- Only in openvpn-2.3.11/tests: t_client.sh
Advertisement
Add Comment
Please, Sign In to add comment