<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Netlib Adapters</title><link>https://sourceforge.net/p/silvertunnel-ng/wiki/Netlib%2520Adapters/</link><description>Recent changes to Netlib Adapters</description><atom:link href="https://sourceforge.net/p/silvertunnel-ng/wiki/Netlib%20Adapters/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 23 May 2015 20:58:56 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/silvertunnel-ng/wiki/Netlib%20Adapters/feed" rel="self" type="application/rss+xml"/><item><title>Netlib Adapters modified by Tobias Boese</title><link>https://sourceforge.net/p/silvertunnel-ng/wiki/Netlib%2520Adapters/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="netlib-adapters"&gt;Netlib Adapters&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Abstract:&lt;/em&gt;&lt;/strong&gt; &lt;em&gt;Netlib Adapters are very nice tools to anonymize a Java application: they can redirect the complete network traffic of a Java Virtal Machine (JVM) that is generated by the standard Java APIs to Netlib API implementation classes.&lt;/em&gt;&lt;br /&gt;
&lt;/p&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Netlib Adapters are very nice tools to anonymize a Java application: they can redirect the complete network traffic of a Java Virtal Machine (JVM) that is generated by the standard Java APIs to Netlib API implementation classes. I.e. all JVM internal request are redirected to a &lt;a class="" href="/p/silvertunnel-ng/wiki/Netlib%20NetLayer"&gt;NetLayer&lt;/a&gt; and/or &lt;a class="" href="/p/silvertunnel-ng/wiki/Netlib%20NetAddressNameService"&gt;NetAddressNameService&lt;/a&gt; implementation of your choice, e.g. to &lt;a class="" href="/p/silvertunnel-ng/wiki/Netlib%20TorNetLayer"&gt;TorNetLayer&lt;/a&gt; and &lt;a class="" href="../Netlib%20TorNetAddressNameService"&gt;TorNetAddressNameService&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://silvertunnel-mirror.silvertunnel-ng.org/image/figure/adapter.png" rel="nofollow"&gt;&lt;img alt="https://silvertunnel-mirror.silvertunnel-ng.org/image/figure/adapter.png" src="https://silvertunnel-mirror.silvertunnel-ng.org/image/figure/adapter.png" title="https://silvertunnel-mirror.silvertunnel-ng.org/image/figure/adapter.png" rel="nofollow" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the ideal case, after the correct initialization of the Netlib Adapter(s) you are ready - your Java application is anonymized. The usage of Netlib Adapters can also applied easily to existing Java applications.&lt;/p&gt;
&lt;h2 id="limitations"&gt;Limitations&lt;/h2&gt;
&lt;p&gt;Unfortunately, we cannot always use Netlib Adapters because:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;your application (that initialize the usage of Netlib Adapters) must have maximal permissions to access the JVM&lt;ul&gt;
&lt;li&gt;this is no problem for standalone applications&lt;/li&gt;
&lt;li&gt;this is usually not the case for some kind of applications such as Java Applets or Java Web Start application&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;your application must initialize the Netlib Adapter quite early, i.e. before some (often-used) JDK-internal classes are used the first time&lt;ul&gt;
&lt;li&gt;this is no problem if you can control the main() method and do all initialization first&lt;/li&gt;
&lt;li&gt;this is not always possible for some kind of applications such as Java Servlets or EJBs - they are initialize too late&lt;ul&gt;
&lt;li&gt;a work around could be the implementation of an own main() method that is doing the initialization of Netlib Adapters and that then starts the application server/forwards to the main() method of the application server&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;currently, only client-side network traffic will be redirected by all adapters&lt;ul&gt;
&lt;li&gt;server-side support to redirect traffic to NetServerSockets is currently not available&lt;/li&gt;
&lt;li&gt;this will change in the far future - please post in our &lt;a class="" href="../forum.html"&gt;Forum&lt;/a&gt; if it is an important feature for you&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="netlib-adapters-table-of-contents"&gt;Netlib Adapters - Table of Contents&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;[Netlib Socket Adapter]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;: redirect traffic from java.net.Socket&lt;ul&gt;
&lt;li&gt;&lt;span&gt;[Netlib Socket Adapter Implementation Details]&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span&gt;[Netlib URL Adapter]&lt;/span&gt;: redirect traffic generated by class java.net.URL&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;[Netlib Name Service Adapter]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;: redirect name service requests from java.net.InetAddress&lt;ul&gt;
&lt;li&gt;&lt;span&gt;[Netlib Name Service Adapter Implementation Details]&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span&gt;[Netlib Java Adapter]&lt;/span&gt;: do all redirects together&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;p&gt;Top: &lt;a class="alink" href="/p/silvertunnel-ng/wiki/Netlib"&gt;[Netlib]&lt;/a&gt;, Up: &lt;a class="alink" href="/p/silvertunnel-ng/wiki/Netlib%20Tools"&gt;[Netlib Tools]&lt;/a&gt;, Next: &lt;span&gt;[Netlib Socket Adapter]&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tobias Boese</dc:creator><pubDate>Sat, 23 May 2015 20:58:56 -0000</pubDate><guid>https://sourceforge.net6361223ec28a5f2e2d9c72c12d95b8025bb16091</guid></item></channel></rss>