Proxy-vole - Proxy Vole - Network proxy detection

  •        1205

IntroductionA Java library to auto detect the platform network proxy settings. The library provides some proxy setting search strategies to read the proxy settings from the system config (Windows, KDE, Gnome, OSX), browser config (Firefox, IE), or environment variables, ... and provides you an ready to use proxy selector. Java wants to be "The Internet Programming" language and wants to stay relevant for desktop applications / the RIA market. This can only be achieved with painless out of the box internet connectivity. MotivationToday more and more applications try to take direct advantage of internet connectivity and webservices to bring webcontent to your desktop. Java has very good network and internet connectivity with build in APIs for http, https, ftp and a webservices stack. But the first thing that you need, to use all this fantastic technology, is a working internet connection. And this is where Java lacks a lot in my opinion. When you develop an applet or an Java Webstart application the situation is quite good. The new Java Plugin will use the proxy settings and connections as used by the browser, but for standalone applications the situation is quite unsatisfactionary. You have to ask your users to twiddle with System Properties and every Java application has it's own way of setting proxy configuration. In business environments where you often can find proxy configuration scripts you are stuck. Current SituationTo set the proxy settings in Java you can use some (documented but hard to find) System Properties on application startup. At runtime you can use the ProxySelector API to configure the proxy settings. Java even comes with a system property to detect the system proxy settings automatically but this one is poorly documented and unreliable in its behaviour. The SolutionTo provide network connectivity out of the box for you Java application you can use the Proxy - Vole library. It provides some strategies for autodetecting the current proxy settings. There are many configureable strategies to choose from. At the moment Proxy - Vole supports the following proxy detection strategies. Read platform settings (Supports: Windows, KDE, Gnome, OSX) Read browser setting (Supports: Firefox 3.x, Internet Explorer; Chrome and Webkit use the platform settings) Read environment variables (often used variables on Linux / Unix server systems) Autodetection script by using WPAD/PAC (Not all variations supported) Project StatusThe project is still evolving in it's feature set but very stable and a lot of people use it already in production environments. Some feature are still missing or need improvement. Please see also the Issue Tracker. DependenciesJava 1.5 but Java 1.6 is recommended If you want to use WPAD / PAC scripts then you need the Apache Rhino Javascript engine on your classpath. (is included in the project) This is only needed for Java 1.5. With Java 1.6 we use the javascript engine that is already bundled with the JRE6 On windows a dll with native code is used to read the IE proxy settings by invoking Winhttp API functions. So the WinHttp API is needed on Windows (Should be the case on all windows systems starting with Windows XP and newer) More documentationFor some simple usage examples look at the UsageExamples. If you need further information you can read the JavaDoc. ParticipationI could need some help in a variety of areas. The following open items need to be addressed: Help and feedback is also welcome for testing the library on different platforms and versions of Windows, KDE, Gnome, OSX, in 32 and 64bit environements... Some help with the documentation would be great to. Give me hints what is unclear or needs improvement. Good ideas, bugreports, patches and code contributions are always welcome too. Have fun, - Bernd Rosstauscher

http://code.google.com/p/proxy-vole

Tags
Implementation
License
Platform

   




Related Projects

raspBerry+


raspBerry+ is a web-based administration platform for Blackberry Enterprise Server for MS Exchange (BES). You can group-based activate/kill/delete/add and get status of users, their handhelds and services. With a little download-area and a comment-system

RASP


RASP's A Sneakernet Proxy; download using a thumbdrive.

RasmusDSP


RasmusDSP is an embeddable Audio/MIDI processor. It contains various filters and generators (including SoundFont 2.0 compatible synthesizer). Has a script interpreter which is used to describe instruments, route Audio/MIDI signal between processor units.

Rasea


An acronym for cRoss-plAtform accesS control for Enterprise Applications. Rasea aims to become a reference in access control as a service based on the RBAC model.

Rascal


Rascal, the Advanced Scientific CALculator, is a platform independent modular calculator. Based on modules for integer, doubles, strings, vectors and matrices it can be easily extended with existing C or C++ code.



Rars


RARS is the Robot Auto Racing Simulation, in which the drivers are robot programs. It is intended as a competition among programmers. It consists of a simulation of the physics of cars, a graphic display of the race, and a robot driver for each car.

RARPlayer


This small program allows you to play a video directly from a RAR file and do so in real-time. Both VLC and MPlayer are supported video players.

RAReXtract


RAReXtract is a Front-End for the UnRAR command line utility for Mac OS X 10.5 (Leopard). Its purpose is the rapid and convenient extraction of RAR archives with a double click.

RAR Expander


Rar Expander is a MacOSX program which extracts the files contained in single or multi-volume RAR archives. It uses the official unRAR library internally so it is fully compatible with archives produced by WinRAR.

rarcrack


This program uses a brute force algorithm to guess your encrypted compressed file\'s password. If you forget your encrypted file password, this program is the solution. This program can crack zip,7z and rar file passwords.

RArcInfo


RArcInfo is a package for R (http://www.r-project.org) to import data from binary Arc/Info V7.X coverages and E00 files . This will allow R users to used it as a primary GIS tool.

rar brute force shell script - rarbrute


This is rarbrute, a shell script to brute force encrypted rar files under unix and linux. A long wordlist and a paper about security in internet cafes is included.

Raquel Database System


The system will : 1. use RAQUEL (= Relational Algebra Query, Update and Executive Language) for programming, implementing Third Manifesto principles. 2. have a 'Lego-like' architecture of building blocks and plug-ins, for wider applicability.

RAPv4


RAPv4 is an engine for building web application with only a business description (in XML format). NEW 04/2006 : Stable 2006 release. Add new functions like mail, sms, web services, graph, map engine (GIS), Excel output, QBE... and also a beta release of

Rafkill


2d Scroller. Clone of Raptor: Call of the Shadows and Tyrian. Fun game written in c++ using allegro.

rapple


Lightweight XML based transformation tool written in C that builds upon expat, tidylib and XSLT to tranform authored web content (incl. Word processor generated HTML) into styled web content suitable for publication.

RapidSMS


RapidSMS is an open-source internet and communications platform

RapidSmith


RapidSmith is a research-based FPGA CAD tool framework written in Java for modern Xilinx FPGAs. Based on XDL, its objective is to serve as a rapid prototyping platform for research ideas and algorithms relating to low level FPGA CAD tools.

Rapidshare Mass Downloader


What this program does is bringing out human interaction while downloading files from rapidshare(without premium account). It downloads all the rapidshare links sequentially to the specified location.

rapido visual profiler


rapido is a visual profiler for linux-x86. It traces function call using the ptrace interface and displays the information collected in a nice visual flow chart. rapido does not require the re-compilation of the application.