<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wireless.subsignal.org/index.php?action=history&amp;feed=atom&amp;title=OpenVPN_SSL_obfuscation</id>
	<title>OpenVPN SSL obfuscation - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wireless.subsignal.org/index.php?action=history&amp;feed=atom&amp;title=OpenVPN_SSL_obfuscation"/>
	<link rel="alternate" type="text/html" href="https://wireless.subsignal.org/index.php?title=OpenVPN_SSL_obfuscation&amp;action=history"/>
	<updated>2026-10-17T02:59:44Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Weimarnetz Wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://wireless.subsignal.org/index.php?title=OpenVPN_SSL_obfuscation&amp;diff=20020&amp;oldid=prev</id>
		<title>Fries43: minor</title>
		<link rel="alternate" type="text/html" href="https://wireless.subsignal.org/index.php?title=OpenVPN_SSL_obfuscation&amp;diff=20020&amp;oldid=prev"/>
		<updated>2015-12-12T16:03:06Z</updated>

		<summary type="html">&lt;p&gt;minor&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 12. Dezember 2015, 16:03 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Zeile 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ziel: eine ordentliche Patchdatei bauen, die man fuer OpenWrt verwenden kann.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ziel: eine ordentliche Patchdatei bauen, die man fuer OpenWrt verwenden kann.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Wir &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ueber &lt;/del&gt;mal mit folgendem commit den ich gefunden habe:&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Wir &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;üben &lt;/ins&gt;mal mit folgendem commit den ich gefunden habe:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;https://github.com/hizukiayaka/openvpn/commit/2eb2234f28d176a74d949f8563eb11ac2ad70bb8&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;https://github.com/hizukiayaka/openvpn/commit/2eb2234f28d176a74d949f8563eb11ac2ad70bb8&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l29&quot; &gt;Zeile 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 29:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;bastian@X301:~/software$ mkdir openvpn&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;bastian@X301:~/software$ mkdir openvpn&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;bastian@X301:~/software$ cd openvpn/&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;bastian@X301:~/software$ cd openvpn/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;bastian@X301:~/software/openvpn$ git init&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Initialized empty Git repository in /home/bastian/software/openvpn/.git/&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;bastian@X301:~/software/openvpn$ wget http://swupdate.openvpn.net/community/releases/openvpn-2.3.7.tar.gz&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;bastian@X301:~/software/openvpn$ wget http://swupdate.openvpn.net/community/releases/openvpn-2.3.7.tar.gz&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;bastian@X301:~/software/openvpn$ tar xzf openvpn-2.3.7.tar.gz  &lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;bastian@X301:~/software/openvpn$ tar xzf openvpn-2.3.7.tar.gz  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key subsignal_wireless:diff::1.12:old-20019:rev-20020 --&gt;
&lt;/table&gt;</summary>
		<author><name>Fries43</name></author>
	</entry>
	<entry>
		<id>https://wireless.subsignal.org/index.php?title=OpenVPN_SSL_obfuscation&amp;diff=20019&amp;oldid=prev</id>
		<title>Fries43: initial</title>
		<link rel="alternate" type="text/html" href="https://wireless.subsignal.org/index.php?title=OpenVPN_SSL_obfuscation&amp;diff=20019&amp;oldid=prev"/>
		<updated>2015-12-12T16:01:12Z</updated>

		<summary type="html">&lt;p&gt;initial&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Ziel: eine ordentliche Patchdatei bauen, die man fuer OpenWrt verwenden kann.&lt;br /&gt;
Wir ueber mal mit folgendem commit den ich gefunden habe:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
https://github.com/hizukiayaka/openvpn/commit/2eb2234f28d176a74d949f8563eb11ac2ad70bb8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
erstmal OpenWrt holen und schauen wo &amp;#039;openvpn&amp;#039; liegt:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bastian@X301:~/software$ git clone git://git.openwrt.org/openwrt.git&lt;br /&gt;
bastian@X301:~/software$ cd openwrt&lt;br /&gt;
bastian@X301:~/software/openwrt$ find . -type d -name openvpn&lt;br /&gt;
./package/network/services/openvpn&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
OK, wir schauen uns das Makefile an und den Downloadlink/Version:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bastian@X301:~/software/openwrt$ grep -m6 ^[A-Z] ./package/network/services/openvpn/Makefile&lt;br /&gt;
PKG_NAME:=openvpn&lt;br /&gt;
PKG_VERSION:=2.3.7&lt;br /&gt;
PKG_RELEASE:=1&lt;br /&gt;
PKG_SOURCE_URL:=http://swupdate.openvpn.net/community/releases&lt;br /&gt;
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz&lt;br /&gt;
PKG_MD5SUM:=070bca95e478f88dff9ec6a221e2c3f7&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
OK, wir machen uns ein lokales git und holen den tarball:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bastian@X301:~/software/openwrt$ cd ..&lt;br /&gt;
bastian@X301:~/software$ mkdir openvpn&lt;br /&gt;
bastian@X301:~/software$ cd openvpn/&lt;br /&gt;
bastian@X301:~/software/openvpn$ git init&lt;br /&gt;
Initialized empty Git repository in /home/bastian/software/openvpn/.git/&lt;br /&gt;
&lt;br /&gt;
bastian@X301:~/software/openvpn$ wget http://swupdate.openvpn.net/community/releases/openvpn-2.3.7.tar.gz&lt;br /&gt;
bastian@X301:~/software/openvpn$ tar xzf openvpn-2.3.7.tar.gz &lt;br /&gt;
bastian@X301:~/software/openvpn$ cd openvpn-2.3.7/&lt;br /&gt;
bastian@X301:~/software/openvpn/openvpn-2.3.7$ git init&lt;br /&gt;
Initialized empty Git repository in /home/bastian/software/openvpn/openvpn-2.3.7/.git/&lt;br /&gt;
bastian@X301:~/software/openvpn/openvpn-2.3.7$ git add .&lt;br /&gt;
bastian@X301:~/software/openvpn/openvpn-2.3.7$ git commit -m &amp;quot;extracted openvpn-2.3.7.tar.gz&amp;quot;&lt;br /&gt;
[master (root-commit) e97a8c6] extracted openvpn-2.3.7.tar.gz&lt;br /&gt;
 306 files changed, 112266 insertions(+)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Nun laden wir uns von dem github-commit das patchfile herunter:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# https://github.com/hizukiayaka/openvpn/commit/2eb2234f28d176a74d949f8563eb11ac2ad70bb8&lt;br /&gt;
# .patch anhängen:&lt;br /&gt;
bastian@X301:~/software/openvpn/openvpn-2.3.7$ wget -O /tmp/mypatch https://github.com/hizukiayaka/openvpn/commit/2eb2234f28d176a74d949f8563eb11ac2ad70bb8.patch&lt;br /&gt;
bastian@X301:~/software/openvpn/openvpn-2.3.7$ git apply --check &amp;lt;/tmp/mypatch&lt;br /&gt;
error: patch failed: src/openvpn/options.c:6593&lt;br /&gt;
error: src/openvpn/options.c: patch does not apply&lt;br /&gt;
error: patch failed: src/openvpn/options.h:522&lt;br /&gt;
error: src/openvpn/options.h: patch does not apply&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ok, das geht nicht so einfach, wir holen uns also option.c und option.h vom commit davor (&amp;quot;parent&amp;quot;)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
parent=&amp;#039;3ec9eb8ee402ea977805eaac6a8caa38f5800bbd&amp;#039;&lt;br /&gt;
wget -O src/openvpn/options.c &amp;quot;https://raw.githubusercontent.com/hizukiayaka/openvpn/$parent/src/openvpn/options.c&amp;quot;&lt;br /&gt;
wget -O src/openvpn/options.h &amp;quot;https://raw.githubusercontent.com/hizukiayaka/openvpn/$parent/src/openvpn/options.h&amp;quot;&lt;br /&gt;
git add .&lt;br /&gt;
git commit -m &amp;quot;sync options.* of parent&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
nun nochmal testen ob es geht:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bastian@X301:~/software/openvpn/openvpn-2.3.7$ git apply --check /tmp/mypatch&lt;br /&gt;
bastian@X301:~/software/openvpn/openvpn-2.3.7$ git am --ignore-whitespace --signoff &amp;lt;/tmp/mypatch&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bastian@X301:~/software/openvpn/openvpn-2.3.7$ git log&lt;br /&gt;
commit dc3103e7fef1afb1c7c76bc83d1d6d78079284da&lt;br /&gt;
Author: ayaka &amp;lt;ayaka@soulik.info&amp;gt;&lt;br /&gt;
Date:   Fri Aug 28 18:00:58 2015 +0800&lt;br /&gt;
&lt;br /&gt;
    obfuscation: apply xor in SSL layer&lt;br /&gt;
    &lt;br /&gt;
    NOTE: It only work with OpenSSL library not PolarSSL library.&lt;br /&gt;
    The xor patch before only worked with IP tunnel package.&lt;br /&gt;
    &lt;br /&gt;
    Signed-off-by: ayaka &amp;lt;ayaka@soulik.info&amp;gt;&lt;br /&gt;
    Signed-off-by: Bastian Bittorf &amp;lt;bittorf@bluebottle.com&amp;gt;&lt;br /&gt;
&lt;br /&gt;
commit 6d764b72d92594b478c73f2a843abafd8ce02f52&lt;br /&gt;
Author: Bastian Bittorf &amp;lt;bittorf@bluebottle.com&amp;gt;&lt;br /&gt;
Date:   Sat Dec 12 16:21:33 2015 +0100&lt;br /&gt;
&lt;br /&gt;
    options.* from parent&lt;br /&gt;
&lt;br /&gt;
wunderbar! nun machen wir daraus 2 normale patchdateien:&lt;br /&gt;
bastian@X301:~/software/openvpn/openvpn-2.3.7$ git format-patch -s -2&lt;br /&gt;
0001-options.-from-parent.patch&lt;br /&gt;
0002-obfuscation-apply-xor-in-SSL-layer.patch&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
...und kopieren die uns OpenWrt-buildsystem:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bastian@X301:~/software/openvpn/openvpn-2.3.7$ find ../../openwrt -type d -name openvpn&lt;br /&gt;
../../openwrt/package/network/services/openvpn&lt;br /&gt;
bastian@X301:~/software/openvpn/openvpn-2.3.7$ mv 000* ../../openwrt/package/network/services/openvpn/patches/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
die patches habe ich mal hochgeladen:&lt;br /&gt;
https://github.com/bittorf/kalua/tree/master/openwrt-patches/interesting/openvpn-ssl-obfuscation&lt;br /&gt;
&lt;br /&gt;
via &amp;#039;make menuconfig&amp;#039; muss unter network-&amp;gt;VPN-&amp;gt;openvpn-openssl gewaehlt werden:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make package/openvpn/clean&lt;br /&gt;
make package/openvpn/compile&lt;br /&gt;
make package/openvpn/install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
fertig!&lt;/div&gt;</summary>
		<author><name>Fries43</name></author>
	</entry>
</feed>