Your Ad Here Your Ad Here
Page 1 of 5 1234 ... LastLast
Results 1 to 10 of 47

Thread: Bad Ip Ranges Updater

  1. #1
    Forum Star
    Join Date
    Jun 2002
    Posts
    1,407
    A small stand-alone tool with the following functionality:


    - It should download two textfiles. The urls of these textfiles are stored in an INI file.
    - The first textfile contains 3 lines. The first to lines are the urls of the textfiles (to keep the INI up-to-date). The third line contains the date of the latest version of the second textfile. This should be compared to a value stored in the ini file to see if the second textfile needs to be downloaded or not.
    - The second textfile contains IP ranges just like the file that is currently used by KL does.
    - The current file should be replaced by the downloaded file (#2) if there is a newer version. (filename should not change&#33


    Instead of a stand-alone program, it might be better as a plugin for KL Extensions. It should add a menu item to Options to update the blocklist (or access the GUI of the plugin if it has one).


    Extra functionality that could be added after the initial release:

    - GUI (with update button, date of current blocklist)
    - Option to manually add an IP or IP range. This should be stored in a separate textfile and merged with the blocklist after each update.

  2. File Sharing   -   #2
    aldo's Avatar Poster
    Join Date
    Jan 2003
    Location
    In front my PC
    Posts
    63
    Check:
    http://www.aldostools.com/temp/badipupdater.zip

    The file include an example of the client-side ini (updater.ini) and the server-side info file (serverside.txt)

    Notice that the date is at the beginning of the file. This allow that future versions include more than the 3 alternative URLs currently supported.

    The program also supports the command line parameters:
    /quiet = do not show the popup message when the file have been updated
    /update = execute the updater inmediately

    I have the idea of a user file that could be appended to the updated file. This way, the user can add his/her own IP ranges, without have to worry that the changes would be lost.

    Note: if the BannedIPRanges.txt is read-only, it is not modified.

    ___
    Aldo Vargas
    http://www.aldostools.com

  3. File Sharing   -   #3
    Forum Star
    Join Date
    Jun 2002
    Posts
    1,407
    I have tested it.

    It says 'no new file found', even though there is a newer one available on the urls that I used.

    BannedIpRangesInfo.txt
    Code:
    2003/7/29
    http://kazaalite.tech-critic.com/dl/BannedIpRanges.txt
    updater.ini
    Code:
    [main]
    BannedIPFile=C:\Program Files\Kazaa Lite K++\BannedIPs\BannedIpRanges.txt
    LastUpdate=2003/6/6
    url1=http://kazaalite.tech-critic.com/dl/BannedIpRangesInfo.txt

  4. File Sharing   -   #4
    aldo's Avatar Poster
    Join Date
    Jan 2003
    Location
    In front my PC
    Posts
    63
    I have fixed the problem. The program was expecting the text file in DOS format, not in Unix format.

    Also added the option to auto-append the file UserBannedIpRanges.txt, if it exists in the same path of the updater.

    Please download the file from the same URL.

    ___
    Aldo Vargas
    http://www.aldostools.com

  5. File Sharing   -   #5
    try this one out:

    Download Link
    Extract the two files to the folder where the bad ip text file is and run the .bat file. norton detects it as a malicious script but all it is trying to do is create a new texte file. iff you are not convinced, rename the files to .txt and read the script.

  6. File Sharing   -   #6
    aldo: could you update your program so that it goes to the line after each entry in the bannedipranges.txt file?

  7. File Sharing   -   #7
    also could you make it update from this url:
    http://www.simply-click.org/uploadertest/p...2_plaintext.asp
    the page has doesn't only have the bad ip ranges on it so the updater should be able to filter the necesary data.

  8. File Sharing   -   #8
    Poster
    Join Date
    Dec 2002
    Posts
    38
    When I update, That create a BannedIpRanges.txt.bak file?

  9. File Sharing   -   #9
    it's a backup of the original bannedipranges.txt file from before the update. rename it back to .txt if you want to restore it.

  10. File Sharing   -   #10
    Poster
    Join Date
    Dec 2002
    Posts
    38
    Ok thanks

Page 1 of 5 1234 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •