confluence icon indicating copy to clipboard operation
confluence copied to clipboard

How to use packed-blocklist?

Open chaos369 opened this issue 4 years ago • 4 comments
trafficstars

It's printed when start up, any details about blocklist?

2021/01/12 07:59:22 main.go:70: open packed-blocklist: no such file or directory

chaos369 avatar Jan 12 '21 08:01 chaos369

This is an attempted to load the compact-representation IP blocklist that you can produce from common "blocklist" sets available on the internet. It really should be documented better. The log message just informs you that the file wasn't found.

I'm open to thoughts on how to handle this better, and documentation improvements.

anacrolix avatar Jan 12 '21 20:01 anacrolix

@chaos369 also thank you for the battery of issues, the polish is lacking in many places and it takes someone else to point it out.

anacrolix avatar Jan 12 '21 20:01 anacrolix

It's a pleasure to help a bit for wonderful stuffs. I tried the list from iblocklist.com, but it can't be load directly. Would you please guide me to convert these data to the "packed" format?

  • List distributed by iblocklist.com Andromeda:2.60.13.132-2.60.13.132 I-Deal Direct Interactive, Inc:4.21.117.128-4.21.117.159 I-Deal Direct Interactive, Inc:4.21.149.0-4.21.149.31 MicroStrategy:4.43.44.32-4.43.44.63 MicroStrategy:4.43.44.128-4.43.44.143 Webair Internet Development Inc:4.43.119.0-4.43.119.127 .......

chaos369 avatar Jan 13 '21 11:01 chaos369

There's a cmd to repack this into the packed for supported by anacrolix/torrent: https://github.com/anacrolix/torrent/tree/master/iplist/cmd. Sorry it's all undocumented.

anacrolix avatar Jan 14 '21 01:01 anacrolix