Skip to content

mphilosopher/censura

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blacklists for Italian Network Operators

Italian Network Operators MUST implement at least six different blacklists (DNS sinkhole) in order to comply with the Italian laws. It means that customers using their Italian ISP's resolvers must not reach those forbidden resources. There are five main species of lists:

  • CNCPO 1 (pedo-porn sites)
  • AAMS (illegal gambling sites and illegal tobacco sites)
  • AGCOM 2 (copyright infringement cases)
  • CONSOB (unlicensed financial services)
  • IVASS 3 (illegal insurance sites)
  • MANUAL (lists provided by Italian LEAs or other Authorities)

Here is a bundle of scripts able to get the lists, parse the data and produce a DNS file (currently for Bind, Unbound, and PowerDNS) to hijack some queries toward a customized stop page.

CNCPO requires a procedure to register and get a client certificate in order to retrieve the list. They provide a .pfx certificate (PKCS#12) with a password. If you need to convert to PEM try the following commands (thanks to Daniele Carlini @karlainz for the feedback):
openssl enc -base64 -d -in cncpo.pfx -out cncpo-base64.pfx openssl pkcs12 -in cncpo-base64.pfx -out cncpo.pem -clcerts -nodes

Disclaimer

This software is provided ​“AS IS”. Developers make no other warranties, express or implied.

Credits

The original tool kit-censura was written by Marco d'Itri md@Linux.IT @rfc1036
Look also at this fork by @robynhub: kit-censura

Footnotes

  1. CNCPO has changed the way it distributes the list: it now only works through PEC. To get software that also automates operations with CNCPO, take a look at this repository: kit-censura

  2. Piracy Shield is still managed by AGCOM, but it has its own platform, which we manage here through the Compliance Guard software

  3. IVASS list has not been implemented by this software yet

About

Blacklists for Italian Network Operators

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published