https://github.com/tofran/portugalwebblocking
:no_entry_sign: List of websites blocked by ISP's in Portugal. LEGACY PROJECT
https://github.com/tofran/portugalwebblocking
blocking dns internet-freedom isp portugal web
Last synced: 7 months ago
JSON representation
:no_entry_sign: List of websites blocked by ISP's in Portugal. LEGACY PROJECT
- Host: GitHub
- URL: https://github.com/tofran/portugalwebblocking
- Owner: tofran
- License: mit
- Created: 2015-10-29T15:56:52.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-01-15T00:02:07.000Z (over 7 years ago)
- Last Synced: 2025-02-28T06:32:08.397Z (8 months ago)
- Topics: blocking, dns, internet-freedom, isp, portugal, web
- Language: Python
- Homepage: https://tofran.github.io/PortugalWebBlocking/
- Size: 518 KB
- Stars: 14
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [List of websites blocked in Portugal][1]
**2017-11-01 WARNING: THIS IS OUTDATED, I'm going to start maintaining this soon (check the other branches)**
This repo contains (some of) the domains currently being blocked by ISP's in Portugal.
**blockList.txt** - A simple list of the blocked domains domains
**blockList.json** - A detailed JSON file with all the domains, that follows the following format:
```JSON
{
"info" : {
"isps" : {
"ispName" : {
"dnsAdress" : ["0.0.0.0"],
"lastScan" : ["yyyy-MM-ddThh:mm:ss"]
}
},
"reference" : {
"name" : "Google Public DNS",
"dnsAdress" : ["8.8.8.8", "8.8.4.4"],
"lastScan" : ["yyyy-MM-ddThh:mm:ss"]
}
},
"domains":{
"domain.name" : {
"hosts": {
"@": {
"blockDate" : "yyyy-MM",
"ip" : ["0.0.0.0"],
"reason": "Why was the website blocked? (Copyright | Gambling | 'Mistake' | Unknown)",
"isp" : {
"ispName" : {
"status" : 0,
"dnsResponse" : [
"255.255.255.255"
]
}
}
}
}
}
}
}
```Status codes:
* `-2` Not Scanned;
* `-1` Can't be Resolved (Website down);
* `0` Not Blocked (Same response, self-explanatory);
* `1` DNS Blocked (The DNS did not reply, but the domain was resolved by the reference DNS);
* `0` DNS Redirect (The DNS replied with a different IP from what it actually is).**domainScan.py** - the script used to scan and generate the data for all the domains
**dnsServerList.json** - the list of DNS servers (ISP's DNS and open DNS's)
**/web** - The folder with the static resources to the [web viewer][1]
## Acknowledgements
- [dnspython](https://github.com/rthalley/dnspython)
- [jquery](https://jquery.com/)
- [tablesorter](https://github.com/christianbach/tablesorter)
- [GitHub Corners](https://github.com/tholman/github-corners)
- [Stop hand icon](https://en.wikipedia.org/wiki/File:Stop_hand.svg)## License
[MIT](LICENSE)
[1]: