forked from tactmaster/HECT
-
Notifications
You must be signed in to change notification settings - Fork 0
This script runs the daily tests for the HE.net certification, and submitted them to HE.net, and checks if they pass.
yakatz/HECT
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
NAME: HECT (Hurricane Electric Certification Tool) Automatically perform test submissions for HE Certification program. WHAT IT DOES It pull down the RSS feed from http://sixy.ch/feed It add other IP address and host names to ips.csv Uses this to perform the tests for HE. If test fail it repeats the test. It is a quick piece of code to the job so it is not very well written so don't be too critical of it, however improvements/feedback to edmundwatson@gmail.com FILES he.php - The main run. Edit with your details. getips.php - this script update the ips.csv from ips.php - list the IPs in ip.csv ipshtml.php - list the IPs in ip.csv in html GENERATED FILE ip.csv - a list of ips from http://sixy.ch/feed encoded in base 64 number.txt - keeps a reference of how far though ip.csv my_cookies.txt - keeps a cookie for loging in. %test%.html - the returned document for debugging %test%raw.html - the submission to he for debugging fail.html - the failed returned page of the last failured for a unknown reason. INSTALLATION/RUNNING You need php (been tested on 5.3.6 and 5.2.17) with curl It has been tested on Gentoo. It also runs on Slug OS 5.3 but some of the command maybe been to be recompiled to give the correct output place where you want it. edit the top of he.php you can run it manally # php he.php and/or add cron task like this # crontab -e and add * 1 * * * /php /%WHERE YOU PUT IT%/he.php >>/var/log/he 2>>/var/log/he This will repeat it daily. You may want to increase the frequecy if you find it doesn't pass 24 hour on he system. Outputs to /var/log/he, you may want to turn off debug in he.php if you have a small system, the /var/log/he file doesn't fill up. THANKS imduffy for this code starting point http://www.tunnelbroker.net/forums/index.php?topic=975.0 LICENCE/DISCLAIMER This code is free for you to use at you own risk.I don't promise it will work. I also don't promise it will not break your system.So use at your own risk. I am not holding any rights over it. However if you do anything fun with it let me know at edmundwatson@gmail.com LINKS TO HE This has not been endored by HE however they seem to have no opjections if you read the forum. http://www.tunnelbroker.net/forums I have nothing to do with Hurricane Electric other than I am user their IPv6 tunnelbroker and I am on their certication program. My username is edmundwatson and you can find me here http://ipv6.he.net/certification/scoresheet.php?pass_name=edmundwatson
About
This script runs the daily tests for the HE.net certification, and submitted them to HE.net, and checks if they pass.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- PHP 100.0%