Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™
Author Message
beetraham
Regular
Regular


Joined: Dec 13, 2003
Posts: 94
Location: Finland (EU)

PostPosted: Mon Oct 18, 2004 6:12 pm Reply with quote

Cheers,

I installed my NukeSentinel™ 2.1.0 yesterday and have been very pleased ever since - a definate must for a Nuke Site, no doubt about it.

So, we now have the marvellous opportunity to BAN IP RANGES with NukeSentinel™ 2.1.0 - and that's absolutely great!!!

::: SPECIFICS :::

Talking about the subject - banning entire countries with the aid of the NukeSentinel™ 2.1.0 supported Feature

Today, I wrote a small utility, that pulls out info from *ip-to-country.csv* and further generates Country Specific MySQL DUMPS that can be imported via PHPMyAdmin (or via shell whatever...) to PHP-Nuke database, to be associated as DUMPS declaring *BANNED COUNTRY IP RANGES* - according to constraints and syntax dictated by NukeSentinel™ 2.1.0.

Why did I choose to do that? The answer is very simple - because, there really are some countries (actually, plenty of those) which I want to totally exclude as a source of potential annoyances.

As the Utility generates the Country specific *Banned IP Range MySQL DUMPS for each of the Countries*, I now have the perfect control over choosing which Countries I wish to declare as BANNED ones at my site.

Let me know, if you have interest to share this CHS script - the script is definately NOT *effective* in a sense of rapid performance, but it does exactly what it is supposed to do - i.e. produces those *peacemaker DUMPS* exluding Countries that I do not wish to see in future as visitor sources at my site(s).

BR,

-beetraham

_________________
- Let there be no windows at your home - 
View user's profile Send private message
JRSweets
Worker
Worker


Joined: Aug 06, 2004
Posts: 192

PostPosted: Tue Oct 19, 2004 6:29 am Reply with quote

I would like to see it. Thanks.
 
View user's profile Send private message
beetraham
PostPosted: Tue Oct 19, 2004 6:44 am Reply with quote

JRSweets wrote:
I would like to see it. Thanks.


JRSweets,

OK, great! - I'll now begin with writing a *short and compact* instruction set on easy'n'immediate usage and wrap it up as a package to be shared tomorrow at the latest (possibly even earlier).

Thanks a lot,

BR,

-beetraham
 
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Tue Oct 19, 2004 7:16 am Reply with quote

yeah send me also one...
 
View user's profile Send private message
beetraham
PostPosted: Tue Oct 19, 2004 7:51 am Reply with quote

hitwalker wrote:
yeah send me also one...


Sure, thanks for the notice - certainly so.

I was thinking whether it might be a good idea to post here (to Forums only) the download location for this minor *collaborative tool*.

::: As a General Public Notice :::

As the NukeSentinel™ is a *protected* trademark/product by third Parties, I'd wish to emphasize the fact that *this script/tool* is not supported by the Authors/Trusted Parties of NukeSentinel™.

The *tool* is simply a result of a personally applied approach on banning entire countr(y/ies) IP Ranges via straightforward constrained format country specific MySQL DUMP(s) Generation.

Given this as a general notice, user discretion is advised.

Thanks,

-beetraham
 
hitwalker
PostPosted: Tue Oct 19, 2004 7:59 am Reply with quote

oh yeah dont get me wrong,it doesnt matter how its shared...if its send by mail,private message or here by posting.....
do keep in mind that im dutch...and that sometimes some things are completely misunderstood...its a language thing i guess...
 
beetraham
PostPosted: Tue Oct 19, 2004 8:12 am Reply with quote

hitwalker wrote:
oh yeah dont get me wrong,it doesnt matter how its shared...if its send by mail,private message or here by posting.....
do keep in mind that im dutch...and that sometimes some things are completely misunderstood...its a language thing i guess...


Sure thing, we're on the next boats to each other (in a sense) Wink Very Happy - being a finn and a non-native english speaker, I find myself occasionally in very interesting discussion scenes. Laughing (Well, life is hard and then you dye your hair.)

Talk to you soon,

BR,

-beetraham

[update on specifics Oct-20-2004]

Code:
############################################################################

# ************************************************************************ #
#  ---- MySQL DumpGen for NukeSentinel(TM) Banned Countries IP Ranges ---  #
# ************************************************************************ #
#                                                                          #
#         Generated *banned IP Ranges* MySQL DUMPS compatible              #
#                                                                          #
#                                 with                                     #
#                                                                          #
#                        NukeSentinel(TM) - 2.1.0                          #
#                                                                          #
# ***********************************************************************  #
#               by beetraham aka. ZenoCide (c) Oct-20th-2004               #
# ***********************************************************************  #
#                                                                          #
#         ( TO BE USED FOR BANNING ENTIRE COUNTRY IP RANGES )              #
#                                                                          #
# * examining and processing <FILE> *ip-2-country.csv* as follows;         #
#    => (1a) forming unique list of countries to get processed             #
#    => (1b) performing INTERACTIVE USER query:                            #
#          * generate MySQL DUMPS for ALL Countries?                       #
#          * generate MySQL DUMPS for Countries based on USER QUERY?       #
#          * generate MySQL DUMPS for Countries based on TEXTFILE CONTENT? #
#    => (2) creating country specific directories based on PREFERENCES     #
#    => (3) creating intermediate country specific SOURCE FILES           #
#    => (4) generating country specific MySQL DUMPS                        #
#    => (5) creating a tarball (package) out of generatated MySQL DUMPS    #
#          * placed in root processing directory                           #
#                                                                          #
# Each COUNTRY DEDICATED RESULTS FOLDER CONTAINS ITEMS AS FOLLOWS          #
#                                                                          #
# [COUNTRYNAME]_[2CCODE]                                                   #
#     |                                                                    #
#     |----<FILE> : nuke_nsnst_blocked_ranges_[COUNTRYNAME]_[2CCODE]       #
#     |----<FILE> : ip-to-country.csv.filtered_source_reference            #
#                                                                          #
############################################################################
#                                                                          #
# NOTE: this script is applicable to produce MySQL DUMP format for *banned #
#       COUNTRY IP Ranges* usable by Sentinel 2.1.0   <== PLEASE OBSERVE!! #
#                                                                          #
############################################################################


Last edited by beetraham on Thu Oct 21, 2004 6:42 am; edited 1 time in total 
beetraham
PostPosted: Thu Oct 21, 2004 2:17 am Reply with quote

For more Information


README: : Processing Stage Screenshots, Short Overview

Only registered users can see links on this board! Get registered or login!

DIRECT DOWNLOAD URL:

Only registered users can see links on this board! Get registered or login!
 
justjayse
New Member
New Member


Joined: Dec 31, 2005
Posts: 22

PostPosted: Sat Jan 14, 2006 12:07 pm Reply with quote

oh wow, does this work? If so does anyone know how because the links no longer work for me Sad
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©