LINUX CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>

7-DAY TOP DOWNLOAD

#
Program
Mandriva Linux
2008.1 / 2009 Beta 2

255,048
Fedora 9 / 10 Alpha
215,131
KNOPPIX Live DVD
5.3.1

208,235
Kororaa AIGLXgl Live
CD 0.3

180,313
Beryl 0.2.1
176,931
BackTrack 3.0
168,829
aircrack 2.41
158,206
MPlayer 1.0 RC2
156,725
VLC 0.9.0
111,110
Cedega 6.0
106,995

WEEK'S BEST

  • Softpedia Linux RS...
  • Ubuntu 8.04.1
  • Pidgin 2.5.0
  • Adobe Flash Player...
  • The Gimp 2.4.7 / 2...
  • openSUSE Linux 11....
  • Linux Kernel 2.6.2...
  • Super Grub Disk 0....
  • Skype 2.0.068
  • OpenOffice.org 2.4...
  • Mozilla Firefox 3....
  • Transmission 1.33
  • DeVeDe 3.11b
  • Wine 1.1.3
  • wine-doors 0.1.2
  • Shoreline Firewall...
  • Linux Mint 5.0
  • Google Gadgets 0.1...
  • Fedora 9 / 10 Alpha
  • Opera 9.52
  • Home / Linux / Internet / Proxy

    Pactester 1.0.8



    No screenshots available
    Downloads: 56  Add to download basket  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.0/5)
    15 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Manu Garg | More programs
    LGPL / FREE
    May 22nd, 2008, 12:56 GMT
    ROOT / Internet / Proxy

     Read user reviews (0)  Add a review  Refer to a friend  Subscribe

     

    Pactester description

     

    Pactester is an utility to test proxy auto-configuration (pac) files.

    Pactester is an utility to test Proxy Auto-Configuration (PAC) files.

    PAC files are used by browsers to determine the 'right' proxy for a URL. Since the PAC file evaluation mechanism is generated inside the browser and cannot be accessed from outside, the only way to tell which proxy your browser will use for a specific URL is manual inspection of the PAC file. But manual inspection doesn't really scale very well. Pactester resolves this problem. It makes use of JavaScript interpreter and Netscape/Mozilla APIs to evaluate the PAC files and automates the whole process.

    Pactester reads a PAC file, evaluates it in a JavaScript context and uses this PAC file's logic to determine the proxy for a specific URL.

    Usage: ./pactester < -p pacfile > < -u url > [-h host] [-c client_ip]
    ./pactester < -p pacfile > < -f urlslist > [-c client_ip]


    Options:
    -p pacfile: PAC file to test
    -u url: URL to test
    -h host: Host part of the URL
    -c client_ip: client IP address (defaults to IP address of the machine on which script is running)
    -f urlslist: a file containing list of URLs to be tested.


    Example:
    ./pactester -p wpad.dat -u http://www.google.com
    ./pactester -p wpad.dat -u http://www.google.com -c 192.168.1.105
    ./pactester -p wpad.dat -f url_list


    How It Works?

    It evaluates the PAC file in a Javascript context. To do that it uses the JavaScript::SpiderMonkey perl module, which is a perl interface to Mozilla's C implementation of Javascript- Spidermonkey.

    PAC files use certain JavaScript functions. These functions have been defined in pac_utils.js file included with this tool (This file was generated using another file from Mozilla source code). Also, since JavaScript has no DNS resolving capability which is required by the "dnsResolve" and "myIpAddress" functions in the PAC files, these functions have been defined in Perl and then exported to a JavaScript context.

    How to use it?

    Pactester can be used to determine the proxy for a single URL or a list of URLs.

    To determine the proxy for a single URL:

    ./pactester -p www.pac -u http://www.example.com

    For a list of URLs :

    ./pactester -p www.pac -f urllist

    where urllist is a file containing the list of URLs separated by newline.

    Extending command line web clients:

    Pactester can be also be used to extend command line web clients like curl and perl-libwww library.

    To use it with curl: Right now, curl doesn't have the functionality to evaluate PAC files to find out proxy for a given URL. However, based on pactester, you can write a wrapper perl script around curl. This perl script will first find out the proxy for the URL, the way that pactester finds out, and then it will call curl with the option '-x "proxy server as returned by pactester method"'.

    Similarly, this method can be used inside perl-libwww web clients too.

    Requirements:

    · Perl

      


    TAGS:

    Proxy Auto-Configuration | PAC tester | proxy tester | PAC | proxy | auto-configuration

    Related downloads IT News Popular downloads New additions   Latest reviews  
    Pactester 1.0.8
    Pactester is an utility to test proxy auto-configuration (pac) files.


    HTML code for linking to this page:


    Go to top



    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   ENTER NEWS SITE   |   ENGLISH BOARD   |   ROMANIAN FORUM