| Home | Login - Register | Downloads | Developers, news & Help | Donate | |||
| Lazy . Admins . Do . It . Yourself | Project areas: Routines Cluster networking Control Panel Web Site related | Work Log | |||||
| Style: Light / Dark | Server time: Sep 04 2010 20:27:52 | ||||||
| LADIY 2 full work development log | |
| This log is a personal record of work done since starting development on LADIY version 2. The log works backwards with newest work displayed at the top of page down to oldest (first) log entries. Many times I would be writing entries after a long coding session and mostly around 6 A.M in the morning, so please excuse any bad spelling that may have been missed. | |
Key:
25th November *) Inserted bad IP`s into `l_cluster` table directly from SQL. LADIY shared the IP but all systems resulted in declaring the IP bad and set too ignore the host. *) Attempted to make successful contact from a none LADIY machine emulating POST, Even knowing protocol LADIY refused the connection due to bad handshake protocols. *) LADIY has been running for this time along side my daily activities generating high CPU loads, LADIY adjusted run time allowed processes accordingly each time. 15th October 13th October 10th - 12th October *) Engine uses 26 pre-set keys in file "NetKeys.php". *) Each key is an array represented by a letter in the alphabet a-z / 1-26. *) Each Key has all acceptable ascii characters that can be encrypted (92 in total). *) Engine randomly picks a key to use for EVERY data send (like rolling codes). *) Engine itself is useless without key sets. User can create own key sets using provided "keygen.php" file. *) Result is user unique keys (26) * 92 characters/key = 2392 usable characters for encoding with. *) "NetKeys.php" must be the same on each network LADIY machine however file can be copy pasted. 7th October 5th and 6th October 4th October 3rd October *) Fixed bug for those machines being allowed to continue regardless of errors will not constantly log error reports if 1 has already been submitted. *) Added master override for any host as `userignore` User can set this option in Cluster Home. Net_Cluster will then totally ignore any host with `userignore` set to true. More importantly LADIY will resume contacting the box when the user sets `userignore` back to false (no). *) Routine and "Comm.php" communication file both take "Network enabled/disabled" into account prior to any run Routine will simply not run Any outside communication will yield no fail errors or anything when disabled. *) now able to handle bad connections by setting classes to the status If after 2 attempts there is no contact made its marked as having an error. After 10 errors the host is set to ignore so it`s no longer cycled however LADIY will take hosts with errors as those never checked 1st those checked but less times than others then move onto those nearing 10 errors last this way the system will not attempt the same machine for connection constantly in case there is some network connection error or such. The time between retries is set in `Lset.php`. 1st October *) Data2Host() edited to check fsockopen() status as statement of running to stop text error output from bad IP addresses. *) System works in 3 stages of checking brand new IP`s added 1st those not new but have less than 3 errors 2nd and lastly everything else that has no errors. *) During each stage it will attempt to contact the machine for a invitation request and if successful continues to GetNewHosts() sharing the IP list with each other updating accordingly. *) "Net_Cluster.php" now fully working on cron updating all network machines connected with any and all information. *) A new host being contacted has 3 chances to respond after which the host is given up on. *) Whole routine is exempt from status changes as network times will always vary meaning creating an average time is pointless. 30th September 20th September 19th September 16th-18th September *) Network discover area added "Delete all unsaved scans" button to save time when lots of previous scans are listed Save the few wanted and batch delete the rest. *) Send Invite changed too Send Invite / Update info As now the same method can be used to manually update network information too any other LADIY machine. *) Invite/Update added select option to choose an already stored LADIY system rather than typing out IP`s if the intention is too update information. *) Had issue of PHP only detecting local IP address as localhost/127.0.0.1 rather than network broadcast address on local networks All methods tested don`t work on all operating systems Created function GetMyIP() which LADIY and control panel can use to ask any other LADIY system what its IP address is without any handshake so new systems not yet authenticated can still resolve their own IP. *) Network Discovery scan while scanning IF it detects port 80/web as open it will ask if it`s a LADIY system using new function RuLADIY() to ask. *) Invite/Update fully operational able to connect to any other LADIY system on it`s network and exchange network information about each box. *) Handshake system complete with originating host sending it`s IP as handshake in ip2long() format the Recipient retrieves the sent data and checks the originating IP of the sender to compare values with Hense IP detection is essential else handshake WILL fail. *) Comm.php is the network interface page used to receive data from other LADIY systems After handshake Comm.php now checks to see if the host requesting is in the cluster network table and unless its an invitation or IP request it must be logged otherwise the request is denied. 15th September 14th September 7th September 5th September 4th September *) Added ability to scan a select range or group of IP`s *) Scan a single IP 3rd September 29th August 28th August 27th August *) Added "Scans" folder to "sub" folder in "routines" folder. *) Option to view image map of network scan link added to scans info selection areas. *) Scan map totally automatic layout depending on users width height hub size required. *) Scan map generates image to file in "Scans" folder with text file of Imagemap for the network scan. *) Imagemaps automatically generated on the fly for use. *) Viewing maps switched to 2 stage operation Check if map exists else create one. *) Options to generate new map layout (regardless of existing). *) Options to view map hubs with link lines between home and hubs as ON / OFF. *) Total process saves image re-generation for later viewing. *) Scans folder automatically created with .htaccess and index.html files if they don`t exist. 23rd August 22nd August *) Added option to save a network scan with `save` added to `l_discover` table *) Added option to delete a scan with confirm yes prior. *) Added option to select a single scan as the master scan template for LADIY to use in operations. *) Cannot delete a master scan or if last scan remaining. *) Notice shown on top of CP if no master template has been selected. *) Text output of scan now given also when viewing a previous scan. 19th August *) Requires button confirmation of scan wanted. *) Saves each scan in DB `l_discover` for previous report checking. *) Ability to read reports given on home of discovery page. *) All functions and CP for "Network Discovery" all within 1 file. 18th August 17th August 16th August *) First time or editing network settings: added password options to password cluster networks. *) New area "Send Invite" to send an invite to another LADIY machine to be detected on the network. 15th August 12th August *) Created new table `l_cluster` *) If first time use of area Checks port80(web) is available if not cannot continue until resolved. *) First time use requires settings be selected before allowing any other options. *) Ability to re-edit settings. *) Cluster area home listing all stored LADIY machines in `l_cluster` 10th August *) Added flag will only function if WantingXSS = 1 otherwise default 404 File has no output so would otherwise should blank white page which is not bad but indicates someone guessed correctly = bad. *) Function only included if not exists. *) RemoveXSS() will strip any injection technique/bad code from any POST or GET variables passed too it. *) Included from `Lang_Engine.php` so always available. *) Folder for use of sub-routines which master routines can call use include etc. 8th August 2009 *) 404 incorrect page request *) Logged in > incorrect access rights *) Visitor guessing routine file names and directories. *) Even hitting the correct folder/file with any of the above missing. 7th August 2009 *) Code read from files is now colour coded for commenting to easily read over like in editors. *) New feature Settings which lists all routines physically present on the left when one is selected the settings from the selected file are shown in page by using the new settings flags. 6th August 2009 *) New method of sending error message via syslog using SubMethod to specify LOG_alert type. *) Additional flag to specify a SubMethod to use. *) Cleaned up as finished functions move to `Lang_Engine.php`. *) Reports log type added too settings Allows user to choose where regular logs go: Control panel log syslog or both by choose 12 or 3 as the setting. 5th August 2009 *) Now fully accessible for use by any routine at runtime. *) Now included as critical routine file if missing cron will not run as critical error. *) created as base plate for time being with hold all critical communications routines. *) will not show options at all for `Lang_Engine.php` routine Output only. *)Control panel for routines now indicates which are you are in prior to data on every option page. *) Given a minimum space limit which defines in KB how much minimum free space should be upheld. *) Able to trigger HDD_Cleaning function at runtime if minimum space breeched Intentionally blank to suit users needs of cleaning operation required to run. *) Now automatically grabs the database name to use SHOW TABLES opposed to SHOW TABLE STATUS. *) On disk full error(1021) set `HDD_Scan.php` to on next runtime to clear space. *) On Windows OS stop and start SQL if ran as a service on machine in error(1037) out of memory. 4th August 2009 *) Improved Unix support by scrapping the need for any shell file at all Instead running shell command to output the results to text for next runtime reading. (Thanks to irc.undernet.* #UnixTeam SuSEz who suggested new method) *) Added MB conversations to use in reports as well as KB totals for easier reference when looking. 3rd August 2009 *) All debug statments commented out when not in use are always at beginning of a new line. *) All comments use # not // *) Only comments which indicate an end of a script area like } use // like }//END if(x=y) *) All #comments are placed 1 space from end of commented string unless on a {} 2nd August 2009 1st August 2009 31st July 2009 30th July 2009 29th July 2009 28th July 2009 *) Check routines status for extremely high status records and if too high apply a specified delay in seconds. *) Ability to set a warning to routines so if 2 cron runs results in warnings then routine is performing badly otherwise warning removed on next run with 0 errors. 27th July 2009 *) If a Routines status is slightly above maximum allowed then `Runtime.php` can see if the routine is in the last 2 to be ran in that cron run IF the routine is within the allotted last 2 AND `Runtime.php` calculates enough cron time left + A margin of error time buffer just in case it takes longer again THEN allow the routine to run to acquire new benchmark time and update status. Below examples represent only that file running 0 other operations OR same as nothing due to run. *) NEW `Runtime.php` cron from LADIY V2 = 34 lines of code to run per cron run time *) Last "intel.php" cron from LADIY V1 due to design was over 900 lines of code to run per cron run time 26th July 2009 *) Last benchmark run time. *) Total runtime / total times ran. *) Average comparison between Last run time and ( last runtime + 2nd last runtime / 2) *) MIN / MAX comparisons between above benchmarks against Last run time. 25th July 2009 24th July 2009 21st July 2009 20th July 2009 18th July 2009 16th July 2009 | |
| Open Source | www.LADIY.info About | |||||||||