Switeck Posted January 2, 2006 Report Share Posted January 2, 2006 I'm using an extremely long blocklist in µTorrent, over 6 MB in length.Problem is, even though there's ~300k entries in the blocklist, µTorrent says it's only blocking ~103k of them after loading.I've already run the blocklist through duplicate+overlap removers. Which was a real pain...bubble-sorting 300+k entries would've taken a short eternity so I had to cut-and-paste about 10-50k entries at a time.I'm not convinced there's no mistake somewhere in the list, but if there is a mistake µTorrent needs to inform me of a 'bad line' and continue reading the list past that point. That way the list is still partially useable while still making it easy for me to (slowly) fix my mistakes. Link to comment Share on other sites More sharing options...
SledgeDG Posted January 2, 2006 Report Share Posted January 2, 2006 I don't even want to know what all you block in 300.000 Entries :DI guess you assembled that list yourself from multiple sourcesThe problem probably lies in the fact that the program doesn't know that there is more information behind the supposedly faulty part (Lets assume through some copy and paste you added an <EOF> somewhere in the .dat since it's usually not visible in the average editor, it's hard to spotBut you will agree that it's nearly impossible to convince a program to read behind that pointIn your case I would get myself a trial copy of, say UltraEdit and scroll through the file while showing special charactersBesides it would help you sorting the whole list much faster too (I believe bubble sort was one of the first sorting algorithms and as such a very slow one... in a worst case szenario with 300.000 entries you would have to run the tree 300.001 times.I didn't know anyone would still use it ;...I'd rather use HEAP or Quick sort....and I'm sure since I'm out of that field fore quite some time, there are more sophisticated sort algorithms around )anyways...I hope you find the error in your list...it might be as simple as an additional space-DG Link to comment Share on other sites More sharing options...
Switeck Posted January 3, 2006 Author Report Share Posted January 3, 2006 There is zero chance of there being an <EOF> in it except at the very end.I open it in a 'souped-up' notepad.Sorting it is beyond a pain no matter what you use.I've used DOS SORT command and BlueTack's Blocklist Converter.Neither one are rockets in speed, but I've seen lots slower. Link to comment Share on other sites More sharing options...
ludde Posted January 3, 2006 Report Share Posted January 3, 2006 Can you upload the blocklist to somewhere, and perhaps email a link to me at ludde@utorrent.com ? Link to comment Share on other sites More sharing options...
Switeck Posted January 3, 2006 Author Report Share Posted January 3, 2006 Err...I said it was large.But it turns out that it zips up nicely...down to barely 1.3 MB in size.I'll just email you that...hope your email account can accept it! Link to comment Share on other sites More sharing options...
idle.newbie Posted January 3, 2006 Report Share Posted January 3, 2006 http://phoenixlabs.org/pg2/utilities try ListDrop, output format: ipfilter.dat/.p2p/.p2b Link to comment Share on other sites More sharing options...
Firon Posted January 3, 2006 Report Share Posted January 3, 2006 half of the lines were in an invalid format.they were written as xx.yy.zz.ww instead of xx.yy.zz.ww-aa.bb.cc.dd Link to comment Share on other sites More sharing options...
Switeck Posted January 3, 2006 Author Report Share Posted January 3, 2006 Huh?Half the lines?But...half the lines were just single ip addresses.Is that somehow wrong?Are even single ip addresses supposed to be written as xx.yy.zz.ww-xx.yy.zz.ww?BTW, ListDrop crashes when I run it with a "missing export Kernal32.dll:GetFileSizeEx" error. Link to comment Share on other sites More sharing options...
Firon Posted January 3, 2006 Report Share Posted January 3, 2006 yes, even single IPs are supposed to be xx.yy.zz.ww-xx.yy.zz.ww, you'll see it like that in PG2, and when you have to make manual allows/blocks Link to comment Share on other sites More sharing options...
Switeck Posted January 4, 2006 Author Report Share Posted January 4, 2006 ><!Actually, PeerGuardian used to handle single ips just fine.But I haven't used it much since v1.4 Link to comment Share on other sites More sharing options...
nBt Posted January 4, 2006 Report Share Posted January 4, 2006 I suggest trying to build your list using TinyBLM. It's a lot faster than BLM and the number of ranges loaded are the same as in the blocklist. Also the same in eMule. Check out TinyBLM here: http://www.bluetack.co.uk/forums/index.php?showtopic=11022 Link to comment Share on other sites More sharing options...
flamaest Posted December 29, 2006 Report Share Posted December 29, 2006 NTB,What settings are you using in TinyBLM2 to generate a utorrent compatibale IPFILTER.DAT file?THANKS!!Fabian. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.