Menu

Netlib Adapters

Tobias Boese

Netlib Adapters

Abstract: 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.

Introduction

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 NetLayer and/or NetAddressNameService implementation of your choice, e.g. to TorNetLayer and TorNetAddressNameService.

https://silvertunnel-mirror.silvertunnel-ng.org/image/figure/adapter.png

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.

Limitations

Unfortunately, we cannot always use Netlib Adapters because:

  • your application (that initialize the usage of Netlib Adapters) must have maximal permissions to access the JVM
    • this is no problem for standalone applications
    • this is usually not the case for some kind of applications such as Java Applets or Java Web Start application
  • your application must initialize the Netlib Adapter quite early, i.e. before some (often-used) JDK-internal classes are used the first time
    • this is no problem if you can control the main() method and do all initialization first
    • this is not always possible for some kind of applications such as Java Servlets or EJBs - they are initialize too late
      • 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
  • currently, only client-side network traffic will be redirected by all adapters
    • server-side support to redirect traffic to NetServerSockets is currently not available
    • this will change in the far future - please post in our Forum if it is an important feature for you

Netlib Adapters - Table of Contents


Top: [Netlib], Up: [Netlib Tools], Next: [Netlib Socket Adapter]


Related

Wiki: Netlib Best Practices
Wiki: Netlib HTTP Client for Apache API
Wiki: Netlib Java Adapter
Wiki: Netlib Name Service Adapter Implementation Details
Wiki: Netlib Name Service Adapter
Wiki: Netlib NetAddressNameService
Wiki: Netlib NetLayer
Wiki: Netlib Socket Adapter Implementation Details
Wiki: Netlib Socket Adapter
Wiki: Netlib Tools
Wiki: Netlib TorNetLayer
Wiki: Netlib URL Adapter
Wiki: Netlib

MongoDB Logo MongoDB