MPH = Matrix.org Proxy Hunter
[LATEST REVISION]
rev. 46
[RELEASE NOTES]
Basic function implemented:
- Configurable scanning multiple sites for speed test
- Seperated HTML reports for each sites
- Using preset page size to test site availability
- Multithreaded scanning
- Fully configurable scanning parameters
TODOs:
- Implement the PAC script auto generation using the test results
- Using JDK14 NIO to improve the performance
- Configuration by config file
Result HTML report sample:
Last update at: 2004-11-28 13:13:35.378
Sorted by page loading time of: https://gmail.google.com/
No. Address Loading Time(ms) Ref Speed(bytes/sec) Bytes Read Location 1 220.65.85.251:8080 1563 6229 9736 Korea, Republic of 2 202.175.26.137:80 1623 5998 9736 Macau 3 202.175.26.139:80 1642 5929 9736 Macau 4 210.100.183.125:8080 1672 5822 9736 Korea, Republic of 5 202.175.26.154:80 1683 5784 9736 Macau 6 202.175.26.146:80 1792 5433 9736 Macau 7 202.175.26.129:80 1823 5340 9736 Macau 8 202.175.26.147:80 1832 5314 9736 Macau 9 210.97.32.150:8080 1842 5285 9736 Korea, Republic of 10 211.185.196.66:8080 1942 5013 9736 Korea, Republic of … Totally 2377 records scanned, 103 records output.
Sorted by page loading time of: http://www.kernel.org/
No. Address Loading Time(ms) Ref Speed(bytes/sec) Bytes Read Location 1 210.97.32.150:8080 1182 17832 21078 Korea, Republic of 2 211.185.196.66:8080 1252 16836 21079 Korea, Republic of 3 202.175.26.129:80 1281 16454 21078 Macau 4 203.199.86.10:80 1251 16398 20515 India 5 202.175.26.137:80 1292 16314 21078 Macau 6 202.175.26.154:80 1332 15824 21078 Macau 7 202.175.26.147:80 1372 15362 21078 Macau 8 210.100.183.125:8080 1392 15142 21078 Korea, Republic of 9 220.65.85.251:8080 1482 14222 21078 Korea, Republic of 10 210.95.208.21:3128 1512 13940 21078 Korea, Republic of … Totally 2377 records scanned, 324 records output.
Time used: 208940 ms.
And the sample PAC script have been uploaded: http://matrix.foresee.cn/mph.pac
[mph.pac]
function FindProxyForURL(url, host) { if ( isPlainHostName(host) || dnsDomainIs(host, ".foresee.com.cn") || dnsDomainIs(host, ".foresee.cn") || isInNet(host, "192.168.0.0", "255.255.255.0") || isInNet(host, "127.0.0.0", "255.255.255.0") ) return "DIRECT"; else if ( shExpMatch(host, "*.google.com") ) return "PROXY 220.65.85.251:8080; " + "PROXY 202.175.26.137:80; " + "PROXY 202.175.26.139:80; " + "DIRECT"; else return "PROXY 210.97.32.150:8080; " + "PROXY 211.185.196.66:8080; " + "PROXY 202.175.26.129:80; " + "DIRECT"; }