You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2018/02/28 11:19:45 UTC
svn commit: r1825550 -
/subversion/site/publish/docs/community-guide/debugging.part.html
Author: philip
Date: Wed Feb 28 11:19:45 2018
New Revision: 1825550
URL: http://svn.apache.org/viewvc?rev=1825550&view=rev
Log:
* publish/docs/community-guide/debugging.part.html
(net-trace-socat): Add https example.
Modified:
subversion/site/publish/docs/community-guide/debugging.part.html
Modified: subversion/site/publish/docs/community-guide/debugging.part.html
URL: http://svn.apache.org/viewvc/subversion/site/publish/docs/community-guide/debugging.part.html?rev=1825550&r1=1825549&r2=1825550&view=diff
==============================================================================
--- subversion/site/publish/docs/community-guide/debugging.part.html (original)
+++ subversion/site/publish/docs/community-guide/debugging.part.html Wed Feb 28 11:19:45 2018
@@ -337,6 +337,22 @@ traffic from port 9630 to the normal svn
print all traffic in both directions to standard error, prefixing it
with < and > signs to show the direction of the traffic.</p>
+<p>To log readable HTTP from an encrypted https:// connection run a
+socat proxy that connects using TLS to the server:</p>
+
+<p><tt>socat -v TCP-LISTEN:9630,reuseaddr,fork
+ OPENSSL:example.com:443</tt></p>
+
+<p>and then use that as a proxy for a plain http:// connection:</p>
+
+<p><pre>svn ls http://example.com/svn/repos/trunk \
+ --config-option servers:global:http-proxy-host=localhost \
+ --config-option servers:global:http-proxy-port=9630 \
+ --config-option servers:global:http-compression=no</pre></p>
+
+<p>The socat proxy logs the plain HTTP while all the network traffic
+with the server is encrypted using TLS.</p>
+
</div> <!-- net-trace-socat -->
<div class="h3" id="net-trace-http-proxy">