Foro de Snoopy Trankos Virtual Studio Seguridad

ProgramaciĆ³n - Coding => For Developers Only => Mensaje iniciado por: Snoopy en 24 - Febrero - 2010, 04:10:38



Título: Latest development version and older versions
Publicado por: Snoopy en 24 - Febrero - 2010, 04:10:38
If you know how to code in PHP and want to help me developing this mod, you can find here the last version I'm working on and all the old versions, so you can compare the code.

- WARNING -
Please don't use any of these files on a production site. They are only for developers and testing.
The latest stable version is in SMF. (http://custom.simplemachines.org/mods/index.php?mod=2155)



This is the latest development version I'm working on:

httpBL_v2_5_1_1-dev.zip
Not uploaded to the server yet (http://www.snoopyvirtualstudio.com/crawltrack/php/countdownload.php?url=http://www.snoopyvirtualstudio.com/descargas/MOD-httpBL/httpBL_v2_5_1_1-dev.zip)



Older versions:

Version
Date
File
-----------------------------------------------------------
1.0 17th-08-2009 folder_httpBL.1.0.zip (http://www.snoopyvirtualstudio.com/crawltrack/php/countdownload.php?url=http://www.snoopyvirtualstudio.com/descargas/MOD-httpBL/folder_httpBL.1.0.zip)
2.0 11th-02-2010 httpBL_v2_0.zip (http://www.snoopyvirtualstudio.com/crawltrack/php/countdownload.php?url=http://www.snoopyvirtualstudio.com/descargas/MOD-httpBL/httpBL_v2_0.zip)
2.1 15th-02-2010 httpBL_v2_1.zip (http://www.snoopyvirtualstudio.com/crawltrack/php/countdownload.php?url=http://www.snoopyvirtualstudio.com/descargas/MOD-httpBL/httpBL_v2_1.zip)
2.2 17th-02-2010 httpBL_v2_2.zip (http://www.snoopyvirtualstudio.com/crawltrack/php/countdownload.php?url=http://www.snoopyvirtualstudio.com/descargas/MOD-httpBL/httpBL_v2_2.zip)
2.2.1-dev 23th-02-2010 httpBL_v2_2_1-dev.zip (http://www.snoopyvirtualstudio.com/crawltrack/php/countdownload.php?url=http://www.snoopyvirtualstudio.com/descargas/MOD-httpBL/httpBL_v2_2_1-dev.zip)
2.2.2-dev 1st-03-2010 httpBL_v2_2_2-dev.zip (http://www.snoopyvirtualstudio.com/crawltrack/php/countdownload.php?url=http://www.snoopyvirtualstudio.com/descargas/MOD-httpBL/httpBL_v2_2_2-dev.zip)
2.3 1st-03-2010 httpBL_v2_3.zip (http://www.snoopyvirtualstudio.com/crawltrack/php/countdownload.php?url=http://www.snoopyvirtualstudio.com/descargas/MOD-httpBL/httpBL_v2_3.zip)
2.3.1 1st-03-2010 httpBL_v2_3_1.zip (http://www.snoopyvirtualstudio.com/crawltrack/php/countdownload.php?url=http://www.snoopyvirtualstudio.com/descargas/MOD-httpBL/httpBL_v2_3_1.zip)
2.3.2 2nd-03-2010 httpBL_v2_3_2.zip (http://www.snoopyvirtualstudio.com/crawltrack/php/countdownload.php?url=http://www.snoopyvirtualstudio.com/descargas/MOD-httpBL/httpBL_v2_3_2.zip)
2.3.3-dev 2nd-03-2010 httpBL_v2_3_3-dev.zip (http://www.snoopyvirtualstudio.com/crawltrack/php/countdownload.php?url=http://www.snoopyvirtualstudio.com/descargas/MOD-httpBL/httpBL_v2_3_3-dev.zip)
2.3.3.2-dev 3rd-03-2010 httpBL_v2_3_3_2-dev.zip (http://www.snoopyvirtualstudio.com/crawltrack/php/countdownload.php?url=http://www.snoopyvirtualstudio.com/descargas/MOD-httpBL/httpBL_v2_3_3_2-dev.zip)
2.3.3 3rd-03-2010 httpBL_v2_3_3.zip (http://www.snoopyvirtualstudio.com/crawltrack/php/countdownload.php?url=http://www.snoopyvirtualstudio.com/descargas/MOD-httpBL/httpBL_v2_3_3.zip)
2.3.4 5th-03-2010 httpBL_v2_3_4.zip (http://www.snoopyvirtualstudio.com/crawltrack/php/countdownload.php?url=http://www.snoopyvirtualstudio.com/descargas/MOD-httpBL/httpBL_v2_3_4.zip)
2.3.4.1-dev 21st-09-2010 httpBL_v2_3_4_1-dev.zip (http://www.snoopyvirtualstudio.com/crawltrack/php/countdownload.php?url=http://www.snoopyvirtualstudio.com/descargas/MOD-httpBL/httpBL_v2_3_4_1-dev.zip)
2.3.4.2-dev 29th-09-2010 httpBL_v2_3_4_2-dev.zip (http://www.snoopyvirtualstudio.com/crawltrack/php/countdownload.php?url=http://www.snoopyvirtualstudio.com/descargas/MOD-httpBL/httpBL_v2_3_4_2-dev.zip)
2.3.4.3-dev 1st-10-2010 httpBL_v2_3_4_3-dev.zip (http://www.snoopyvirtualstudio.com/crawltrack/php/countdownload.php?url=http://www.snoopyvirtualstudio.com/descargas/MOD-httpBL/httpBL_v2_3_4_3-dev.zip)
2.4 2nd-10-2010 httpBL_v2_4.zip (http://www.snoopyvirtualstudio.com/crawltrack/php/countdownload.php?url=http://www.snoopyvirtualstudio.com/descargas/MOD-httpBL/httpBL_v2_4.zip)
2.5 27th-12-2010 httpBL_v2_5.zip (http://www.snoopyvirtualstudio.com/crawltrack/php/countdownload.php?url=http://www.snoopyvirtualstudio.com/descargas/MOD-httpBL/httpBL_v2_5.zip)
2.5.1 28th-12-2010 httpBL_v2_5_1.zip (http://www.snoopyvirtualstudio.com/crawltrack/php/countdownload.php?url=http://www.snoopyvirtualstudio.com/descargas/MOD-httpBL/httpBL_v2_5_1.zip) (latest stable)



Other realated files:

Version
Date
File
--------------------------------------------------------------------
1.0 1st-10-2010 addon_OS_Browser_httpBL_v1_0. zip (http://www.snoopyvirtualstudio.com/crawltrack/php/countdownload.php?url=http://www.snoopyvirtualstudio.com/descargas/MOD-httpBL/addon_OS_Browser_httpBL_v1_0.zip)
1.1 14th-12-2010 addon_OS_Browser_httpBL_v1_1. zip (http://www.snoopyvirtualstudio.com/crawltrack/php/countdownload.php?url=http://www.snoopyvirtualstudio.com/descargas/MOD-httpBL/addon_OS_Browser_httpBL_v1_1.zip)



Change Log:

Citar


Version 2.5.1 (http://www.simplemachines.org/community/index.php?topic=366399.msg2893690#msg2893690) - 28th December 2010
 *Changed the design of the help page. It was not displaying properly with some Themes
 ?Unistall old version and install new one
 ?No need to edit manually any template file if you are updating from version 2.4 or 2.5
 ?For new installations, as always, you need to edit manually the file index.template.php
if you are not using the default Theme and you will have to edit also the file
Who.template.php if you have it inside the folder of the particular Theme
you are using


Version 2.5 (http://www.simplemachines.org/community/index.php?topic=366399.msg2893599#msg2893599) - 27th December 2010
 +Added a help section
 +Added the page index at the bottom of the log pages too (as requested here) (http://www.simplemachines.org/community/index.php?topic=366399.msg2828764#msg2828764)
 *Changed again the function get_real_IP() (See here) (http://www.snoopyvirtualstudio.com/foro/index.php?topic=362.0)
 +Added a new variable to the config page to see 2 languages or just one in the warning page
 *Changed the config page to make it easier to understand
 +Added a new button to the log pages to delete the entries of just one log (as requested here) (http://www.simplemachines.org/community/index.php?topic=366399.msg2875367#msg2875367)
 !Sorted the bug Undefined index: REQUEST_URI (reported here) (http://www.simplemachines.org/community/index.php?topic=366399.msg2804696#msg2804696)
 !Sorted the bug TEXT column can't get default values (reported here) (http://www.simplemachines.org/community/index.php?topic=366399.msg2842435#msg2842435)
 !Sorted the bug about log pages displaying wrongly (reported here) (http://www.simplemachines.org/community/index.php?topic=366399.msg2857270#msg2857270)
 !corrected a few typos (reported here) (http://www.simplemachines.org/community/index.php?topic=366399.msg2814818#msg2814818) (and here) (http://www.simplemachines.org/community/index.php?topic=366399.msg2890848#msg2890848)
 *Changed 10 lines and added 78 new lines in language files
 ?Unistall old version and install new one
 ?No need to edit manually any template file if you are updating from version 2.4
 ?For new installations, as always, you need to edit manually the file index.template.php
if you are not using the default Theme and you will have to edit also the file
Who.template.php if you have it inside the folder of the particular Theme
you are using


Version 2.4 (http://www.simplemachines.org/community/index.php?topic=366399.msg2804564#msg2804564) - 2nd October 2010
 +Added a new system so now you can decide what group of members you don't
want to be scanned never by the mod
 !Sorted the bug in RC3 we talked about in the support forum. (See here) (http://www.simplemachines.org/community/index.php?topic=366399.msg2783223#msg2783223) (and here) (http://www.simplemachines.org/community/index.php?topic=366399.msg2784316#msg2784316)
 *Small change in the template file to make the mod compatible with SimplePortal
for people using SMF 1.1.11 (See here) (http://www.simplemachines.org/community/index.php?topic=366399.msg2775518#msg2775518)
 !Sorted a bug inside the logs (See here) (http://www.simplemachines.org/community/index.php?topic=366399.msg2764797#msg2764797)
 *Changed the design of the page warning.php as requested by giveaway365.com
(here) (http://www.simplemachines.org/community/index.php?topic=366399.msg2525796#msg2525796) and discussed in some other places in the support forum
 !Sorted the bug "Undefined index: response" reported so many
times (for example here) (http://www.simplemachines.org/community/index.php?topic=366399.msg2690621#msg2690621)
 +Added a system to check if the mod is ON, if it is up-to-date and if the
connexion with HoneyPot's DB is OK
 +Added 2 columns in view-log for "Operating System" and "Browser" using the
Mod OS & Browser Detection (http://custom.simplemachines.org/mods/index.php?mod=1515)
 +Added OS & Browser Detection to the "Who's Online" page
 +Added a checkbox to the config page to decide if you want to view OS & Browser
data in "Who's Online" page
If you want to see these last 3 features you need either to:
  • Download and install Mod OS & Browser Detection (http://custom.simplemachines.org/mods/index.php?mod=1515)
  • Download and install my small addon to see OS & Browser in httpBL (http://custom.simplemachines.org/mods/index.php?mod=2155)
 +Added cache values to session so it works if cookies and cache are off
 *Changed completely the system to store and retrieve data from cache and/or session
 +Added a value to the config page to set the amount of minutes to keep the data
in the cache and/or session
 *Replaced my function httpBL_look_for_empty_ip() for the function
httpBL_get_real_ip_address() made by butchs (here) (http://www.snoopyvirtualstudio.com/foro/index.php?topic=314.msg1547#msg1547)
 *Changed 2 lines and added 20 new lines in language files
 ?Unistall old version and install new one
 ?No need to edit manually any template file if you are updating from version 2.x
unless you are not using the default Theme and you have the file
Who.template.php inside the folder of the particular Theme
you are using
 ?For new installations, as always, you need to edit manually the file index.template.php
if you are not using the default Theme and you will have to edit also the file
Who.template.php if you have it inside the folder of the particular Theme
you are using


Version 2.3.4 (http://www.simplemachines.org/community/index.php?topic=366399.msg2524928#msg2524928) - 5th March 2010
 !Fixed error reported by giveaway365.com (here) (http://www.simplemachines.org/community/index.php?topic=366399.msg2523130#msg2523130) thanks to a suggestion from
butchs
 !Fixed error reported by A.SK (here) (http://www.simplemachines.org/community/index.php?topic=366399.msg2523379#msg2523379)
 ?Unistall old version and install new one
 ?No need to edit manually any template file if you are updating from version 2.x


Version 2.3.3 (http://www.simplemachines.org/community/index.php?topic=366399.msg2522331#msg2522331) - 3rd March 2010
 !Fixed errors reported by giveaway365.com (here) (http://www.simplemachines.org/community/index.php?topic=366399.msg2520543#msg2520543)
 ?Unistall old version and install new one
 ?No need to edit manually any template file if you are updating from version 2.x


Version 2.3.2 (http://www.simplemachines.org/community/index.php?topic=366399.msg2520327#msg2520327) - 2nd March 2010
 !Bug about human members not displaying in RC2, reported by butchs (here) (http://www.simplemachines.org/community/index.php?topic=366399.msg2520174#msg2520174)
 !Bug affecting all versions of SMF about admin beeing logged every visit
 ?Unistall old version and install new one
 ?No need to edit manually any template file if you are updating from version 2.x
 ?This time everybody should update as one of the bugs affect SMF 1.1.x as well


Version 2.3.1 (http://www.simplemachines.org/community/index.php?topic=366399.msg2520124#msg2520124) - 1st March 2010
 !Sorted a bug for SMF 2.0 RC2, reported by butchs (here) (http://www.snoopyvirtualstudio.com/foro/index.php?topic=314.msg1354#msg1354)
 ?Unistall old version and install new one
 ?No need to edit manually any template file if you are updating from version 2.x
 ?No even need to update if you are using SMF 1.1.x
The bug was only in the SMF 2.0 RC2 part of the mod


Version 2.3 (http://www.simplemachines.org/community/index.php?topic=366399.msg2519735#msg2519735) - 1st March 2010
 !The mod now never checks the admin (bug reported by Exsharaen (http://www.simplemachines.org/community/index.php?topic=366399.msg2506339#msg2506339))
 +Added a value in config page for "threat level very very high"
 +Added a captcha in "warning.php"
  • If the threat level is below the "high level" the visitor pass
  • If the threat level is between the "high level" and the "very very high level"
    the captcha appears
  • If the threat level is higher than the "very very high level" it's stopped and
    doesn't see the captcha
 +Added a cookie valid for 24h. If the visitor sees the captcha
and proves is human, gets the cookie
 +Added a value in config page for "cookie lenght"
 +Added a counter with the number of spammers stopped by the mod
 +Added a a button in the view-log page to hide or show the legend
 +Added a a button in the view-log page to change quickly from
"normal view" to "see all the extra info"
 *View-log page now separated in 3 different ones:
  • Spammers stopped
  • Humans allowed in
  • Internal errors
 +Added a column in view-log for "username" with link to member profile
 +Added some more info in "see all the extra info" mode
 *Changed all the language files
 ?Unistall old version and install new one
 ?No need to edit manually any template file if you are updating from version 2.x


Version 2.2 (http://www.simplemachines.org/community/index.php?topic=366399.0) - 17th February 2010
 +Added cached values if cache is enabled to reduce time
 +Added more methods to find the visitor's IP
 !Sorted issue with servers not using Mysql
 ?Unistall old version and install new one
 ?No need to edit manually any template file if you are updating from version 2.x


Version 2.1 (http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&board=30.0) - 15th February 2010
 +Added compatibility with SMF 2.0 RC2
 +Added a color system in the view-log page to see threat
level of each IP stopped by the mod
 +Added an option to see the view-log page with only important
information or with all the extra data
 +Added some lines to the language files for the new features
 ?Unistall old version and install new one
 ?No need to edit manually any template file if you are updating from version 2.0


Version 2.0 (http://www.snoopyvirtualstudio.com/trankos/portal/index.php?option=com_smf&Itemid=36&board=30.0) - 11th February 2010
 -Eliminated compatibility with other programs, making it now exclusive for SMF
 +Added a powerful install script which now does everything for you with just one click
 +Added an easy-to-use configuration interface to control the mod
 -Eliminated the text file log, too difficult to find and read
 +Added a log table in the database
 +Added a view-log interface to see the information stored in it
 ?Unistall old version and install new one
 ?Need to edit manually 2 small things in index.template.php
if you are not using the default one


Version 1.0 (http://www.snoopyvirtualstudio.com/tutoriales/index.php?estudio=httpbl) - 17th August 2009
 oInitial release
 oCan be installed in any PHP page, not only SMF
 oCan block any spammer from viewing your site
 oIt checks IP in Project Honey Pot DB
 oIf match, the visitor is redirected to the "warning.php" page
 oKeeps a log of "IPs stopped" in a text file in your server
 oCompatible with any PHP program, so it's compatible with all SMF versions


Citar
Legend
oFeature
*Change
+Added
-Eliminated
!Bug Fixed
?How to Update


==========================

Road Map:

Citar
Things to do in the near future: (27th December 2010)

  +Start a "full language" package.
 
  *I need to finish the tutorial with the instructions on
how to use it.
 
  +I need to write a FAQ with some things they are
already asking too many times.
 
Citar
Legend
*To be Changed
+To be Added
-To be Eliminated
!Bug to be Fixed

Citar
Things to do in the future whenever I have time
because they are not too urgent just now:


   +When your mod is not up-to-date, display which one is
the version you have currently installed and which one
is the updated version (requested here) (http://www.simplemachines.org/community/index.php?topic=366399.msg2895273#msg2895273)
 
   +Add an option to decide (when you are displaying only 1 language
in warning page) if you want to display language #1 or #2
 
  +Implement the cache as well in SMF 1.1.x
 
  +I need to add an option in the config page asking you
if you want the data to be deleted automatically from
the log after X days or not and how many days you
want to keep the data in the log.
 
  +When the mod finds an error it writes it in the log table.
It should also email the admin if the error is an important one.
 
   +Make the mod compatible with IPv6 (see here) (http://www.simplemachines.org/community/index.php?topic=366399.msg2690132#msg2690132) (and here) (http://www.snoopyvirtualstudio.com/foro/index.php?topic=386.0)
 
Citar
Legend
*To be Changed
+To be Added
-To be Eliminated
!Bug to be Fixed