Welcome! Log In Create A New Profile

Advanced

Merging IP Lists without writing same ip twice?

Posted by Anonymous User 
Anonymous User
Merging IP Lists without writing same ip twice?
March 22, 2010 06:03PM
Hi to all,

I'm trying to create a little script that downloads an merges couple of iblocklist ip lists. I'm stuck at merging lists. Anybody knows how does peerblock do it? To be more precise: How does peerblock reads ip ranges from ip filter files and merges them without writing the same ip twice and this fast? I looked in the source code but I couldn't find what I've been looking for...

Any help would be appreciated.

Thanks in advance

Sincerely
Tip
Re: Merging IP Lists without writing same ip twice?
March 23, 2010 03:59AM
avatar
You can look in /trunk/libp2p/src/list_p2b.cpp to see how it's done.
Anonymous User
Re: Merging IP Lists without writing same ip twice?
March 23, 2010 07:26AM
Thank you very much. I'm checking right away...
Sorry, only registered users may post in this forum.

Click here to login