Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pactester(1) [debian man page]

pactester(1)															      pactester(1)

NAME
pactester - Tool to test proxy auto-config (pac) files. SYNOPSIS
pactester <-p pacfile> <-u url> [-h host] [-c client_ip] [-e] pactester <-p pacfile> <-f urlslist> [-c client_ip] [-e] DESCRIPTION
pactester is a tool to test proxy auto-config (pac) files. It returns the proxy config string for the given URL and the pac file. pactester uses pacparser C library for most of its functionality. OPTIONS
-p pacfile PAC file to test. Specify "-" to read from the standard input. -u url URL to test the PAC file for. -h host Host part of the URL. If not specified, it's determined from the URL. -c client_ip Client's IP address (as returned by the function myIpAddress() in PAC files). If not specified, it defaults to the IP address of the machine on which this tool is running. -e Enable Microsoft PAC extensions (dnsResolveEx, myIpAddressEx, isResolvableEx). -f urlslist A file containing the list of URLs to be tested. This is good for testing a PAC file against a set of URLs. EXAMPLES
To find out the proxy config string for the pac file "wpad.dat" and the URL "http://www.google.com": $ pactester -p wpad.dat -u http://www.google.com For a client with IP address 10.0.12.123: $ pactester -p wpad.dat -c 10.0.12.123 -u http://www.google.com For a pac file hosted at http://wpad/wpad.dat: $ curl -s http://wpad/wpad.dat | pactester -p - -u http://google.com BUGS
If you have come across a bug in pactester, please submit a bug report at http://code.google.com/p/pacparser/issues/list. AUTHOR
Written by Manu Garg (http://www.manugarg.com). RESOURCES
Homepage: http://code.google.com/p/pacparser. pactester(1)

Check Out this Related Man Page

wpad(1M)						  System Administration Commands						  wpad(1M)

NAME
wpad - WPA and WPA2 protocol daemon SYNOPSIS
/usr/lib/inet/wpad [-i interface] [-k pre_shared_key_name] DESCRIPTION
The wpad daemon provides common client functionality for the WiFi Protected Access (WPA) versions 1 and 2, as defined by IEEE802.11i stan- dard. WPA was created by the WiFi Alliance, an industry trade group. WPA implements the majority of the IEEE 802.11i standard, and was intended as an intermediate measure to take the place of Wired Equivalent Privacy (WEP) while 802.11i was prepared. WPA2 implements the full standard. wpad provides the following WPA/IEEE 802.11i features: o WPA-PSK ("WPA-Personal") o Key management for CCMP, TKIP, WEP104, WEP40 Stop and start the wpad daemon using dladm(1M). Use: # dladm connect-wifi ...to start the wpad daemon. Use: # dladm disconnect-wifi ...to stop the daemon. OPTIONS
The following options are supported: -i interface Specify a WiFi Link interface to start the wpad daemon. -k pre_shared_key_name Specify the pre-shared key used for the WiFi Link. EXAMPLES
Example 1 Starting the wpad Daemon on Specific WiFi Link To create the WPA key psk, enter the following command: # dladm create-secobj -c wpa psk To use key psk to connect to ESSID wlan on link ath0, enter the following command: # dladm connect-wifi -k psk -e wlan ath0 Example 2 Stopping the wpad Daemon on Specific WiFi Link To stop the daemon on the link ath0, enter: # dladm disconnect-wifi ath0 ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWwpau, SUNWwpar | +-----------------------------+-----------------------------+ |Interface Stability |Uncommitted | +-----------------------------+-----------------------------+ SEE ALSO
svcs(1), dladm(1M), svcadm(1M), attributes(5), smf(5) NOTES
The wpad service is managed by the service management facility, smf(5), under the service identifier: svc:/network/wpa:<link> Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser- vice's status can be queried using the svcs(1) command. SunOS 5.11 11 Mar 2008 wpad(1M)
Man Page