bongochong / CombinedPrivacyBlockLists

Ad-blocking hosts files, IP block lists, PAC filters, ABP / uBO / ADG subscriptions, and a whole lot more. All merged from multiple reputable sources, combined with my own research. Also, script-based utilities to help you create such things yourself. Updated at least once every two weeks, often more frequently.
Other
224 stars 25 forks source link

[RESOLVED] List format: CIDR #1

Closed Bundy01 closed 4 years ago

Bundy01 commented 4 years ago

Hi,

I don't know if it's possible with your list but my P2P client only allows lists in CIDR format.

Are you considering this format?

Regards.

bongochong commented 4 years ago

Since I have boat-loads of free time now - for obvious reasons - this is definitely a format I'll look into making part of my regular update routines for the repo. Will explore this over the next few days.

Bundy01 commented 4 years ago

Okay, Thank you very much and take care of yourself.

bongochong commented 4 years ago

No problem. I use lists in CIDR notation to block suspicious connections when I stream via icecast or shoutcast, so I'm familiar with the format. It's simply a matter of how feasible it is to translate my existing P2P block lists to CIDR, or compile a CIDR format list from alternate sources. Though block lists for P2P applications are not as popular as they once were, I have been meaning to make some improvements to the ones I maintain for this repo. So this request was at-least a nice reminder to get on that.

bongochong commented 4 years ago

With a little bit of sed magic, a couple of lines of perl, the split utility, and an old public domain CLI tool, your request has become a reality. The P2P block lists I maintain are quite large, so I had to improvise a bit in order to speed up the process of converting those lists to CIDR notation, but it all worked out. There are now two CIDR-format block lists:

The CIDR-format lists are now part of my regular update scripts for this repo, so they will be updated at-least once every other week. They're compiled from the same sources that the other two P2P / BitTorrent block lists are, though I may change or add to those sources in the future. Either way, enjoy.