extractHosts
Read the hosts.xml file into a perl hash. Select hosts from this database, by specified capabilities, speeds, firewall, and accessibility from a specified ISP/firewall/config. Write out a file in human-readable/statProxy input format for later checking.
perl extractHosts.pl resultFile [firewall=ffff] [from=ffff] [<tag>[=regex] ...]
Send the selected result set to this file. A '-' pipes to STDOUT (probably your screen)
Only proxies inside this firewall are selected
Only proxies which are accessible from inside this firewall are selected
Only proxies with capability tag matching the accompanying regular expression are selected. If the regex is omitted, the corresponding tag value is defaulted to 1. There may be more than one tag expression.
All option terms are 'AND'ed together
perl extractHosts.pl extract.out isEnabled addressPort=.*:8000
perl extractHosts.pl port3128KSA.out addressPort=.*:3128 isEnabled firewall=KSA-zajil
perl extractHosts.pl uae.out isEnabled from=UAE-dialup
perl extractHosts.pl ksa-isuProxies.out isEnabled from=KSA-ISU nonCensoring
In a Unixish environment, you may need to escape some of the shell metacharacters