ilw
09-29-2003, 11:46 AM
Hey
I've written a few programs for kazaa so i thought i'd post an update on what i've done:
MP3 Checkers
These two programs fulfill different requirements, MP3 checker is designed to check all your existing MP3's and remove any screechers from your existing collection and the autoscanner is designed to stop any more screechers getting into your collection (and thereby helping to remove them from the fasttrack network). Neither of them are perfect and will allow some to slip through and (although i haven't seen any) they may give false alarms.
MP3 Checker is a GUI based program which can scan MP3's for the tell-tale signs of RIAA added screeching. It can scan around 800 MP3s at a time and can do a full scan in under a minute.
MP3 Autoscanner, is a command line program designed to work with the KLExtension's file organiser so that MP3's are scanned and if bad are quarantined as soon as they are downloaded.
Other Anti Corruption programs
My other anti corruption programs are based on the same principle as the Intelligent Corruption Handling available in better maintained p2p networks such as the edonkey network. The idea is to calculate CRC (Cyclic Redundancy Check) information for chunks of a file, this means that each chunk has been given a unique identifier based on the data contained in it. Any errors or changes to this data gives a different CRC value and so chunks can be easily checked for corruption. The way I hoped this would turn out was that lots of people (especially those who often contribute verifieds) would convert to KSig mod and use it to generate the modified quicklinks which contain the CRC hashes. Then anyone downloading one of these verified files can CRC check their finished files and if there is any corruption then Kchecker will see it and redownload that part of the file(with 2% resolution).
Afaik if a verified file you downloaded is corrupt then you have 3 choices
1) To ask someone who has a good version of the file to crc hash it with one of my programs
2) If you know where in the file the error is (eg if its a video file the errors are visible and rough file position can be estimated) then you can use DrSpud's KCF and use that to redownload the bad parts of the file.
3) Junk the file and redownload it all.
The programs
KChecker: KChecker is my main program, it generates crc information for files, compares crc hashes to determine corrupted chunks and generates a dat file so that kazaa will redownload the bad chunks. It is capable of checking finished and ongoing downloads (though it only checks the first good chunk of ongoing downloads). If Ksig mod has been used on a crc quicklink then this crc information is stored and is automatically checked by KChecker.
KSig Mod: This is basically just a modification of Hasnain's KSig program it is modified to also calculate the crc information that Kchecker uses and also integrates this information in backwards compatible quicklinks. (NB its based on the previous release of ksig, I haven't got round to updating to hasnain's latest release)
KPadder: KPadder is just a small program to allow you to change the size of a file, this is useful if you lost a file due to a corrupted dat appendix (eg after a power cut). See the kchecker page for more details on how you would go about recovering a deleted file.
More info, rough guides and downloads from my websites http://www.ilwsoftware.tk/ OR (TEMPORARILY NOT UPDATED http://www.freewebs.com/ian_l_williams/ (http://www.freewebs.com/ian_l_williams/)
I only recently did the websites so theres lots of spelling errors, grammatical mistakes and generally the written content is pretty crap, i'll sort it out soon so you don't have to post any typos you see :P If you see any broken links though please tell me.
I've written a few programs for kazaa so i thought i'd post an update on what i've done:
MP3 Checkers
These two programs fulfill different requirements, MP3 checker is designed to check all your existing MP3's and remove any screechers from your existing collection and the autoscanner is designed to stop any more screechers getting into your collection (and thereby helping to remove them from the fasttrack network). Neither of them are perfect and will allow some to slip through and (although i haven't seen any) they may give false alarms.
MP3 Checker is a GUI based program which can scan MP3's for the tell-tale signs of RIAA added screeching. It can scan around 800 MP3s at a time and can do a full scan in under a minute.
MP3 Autoscanner, is a command line program designed to work with the KLExtension's file organiser so that MP3's are scanned and if bad are quarantined as soon as they are downloaded.
Other Anti Corruption programs
My other anti corruption programs are based on the same principle as the Intelligent Corruption Handling available in better maintained p2p networks such as the edonkey network. The idea is to calculate CRC (Cyclic Redundancy Check) information for chunks of a file, this means that each chunk has been given a unique identifier based on the data contained in it. Any errors or changes to this data gives a different CRC value and so chunks can be easily checked for corruption. The way I hoped this would turn out was that lots of people (especially those who often contribute verifieds) would convert to KSig mod and use it to generate the modified quicklinks which contain the CRC hashes. Then anyone downloading one of these verified files can CRC check their finished files and if there is any corruption then Kchecker will see it and redownload that part of the file(with 2% resolution).
Afaik if a verified file you downloaded is corrupt then you have 3 choices
1) To ask someone who has a good version of the file to crc hash it with one of my programs
2) If you know where in the file the error is (eg if its a video file the errors are visible and rough file position can be estimated) then you can use DrSpud's KCF and use that to redownload the bad parts of the file.
3) Junk the file and redownload it all.
The programs
KChecker: KChecker is my main program, it generates crc information for files, compares crc hashes to determine corrupted chunks and generates a dat file so that kazaa will redownload the bad chunks. It is capable of checking finished and ongoing downloads (though it only checks the first good chunk of ongoing downloads). If Ksig mod has been used on a crc quicklink then this crc information is stored and is automatically checked by KChecker.
KSig Mod: This is basically just a modification of Hasnain's KSig program it is modified to also calculate the crc information that Kchecker uses and also integrates this information in backwards compatible quicklinks. (NB its based on the previous release of ksig, I haven't got round to updating to hasnain's latest release)
KPadder: KPadder is just a small program to allow you to change the size of a file, this is useful if you lost a file due to a corrupted dat appendix (eg after a power cut). See the kchecker page for more details on how you would go about recovering a deleted file.
More info, rough guides and downloads from my websites http://www.ilwsoftware.tk/ OR (TEMPORARILY NOT UPDATED http://www.freewebs.com/ian_l_williams/ (http://www.freewebs.com/ian_l_williams/)
I only recently did the websites so theres lots of spelling errors, grammatical mistakes and generally the written content is pretty crap, i'll sort it out soon so you don't have to post any typos you see :P If you see any broken links though please tell me.