Project Overview: ban-pcdn-ip
The "ban-pcdn-ip" project is dedicated to collecting a comprehensive list of IP addresses associated with Peer-to-Peer Content Delivery Network (PCDN) traffic that maliciously inflates CDN (Content Delivery Network) usage for websites. This issue has emerged as some PCDN owners have redirected their previous BitTorrent (BT) traffic towards CDNs used by websites, leading to unexpectedly high operational costs for many web administrators.
IP List
The project features a file named ipdb.txt
, which contains a sorted list of IP address segments known to be used by PCDN entities for undesirable activities.
Script: main.py
A Python script called main.py
is part of the project toolkit. This script is used to sort and eliminate duplicate entries in ipdb.txt
. If contributors have a Python environment set up on their local machines, they are encouraged to run main.py
after adding new IP segments before submitting changes. For those without Python, manually sorting and inserting the addresses in the correct position within the file is an acceptable alternative. Ideally, new address segments should be added in sorted order to minimize the need for post-merge adjustments.
Contributing to the IP Database
The project heavily relies on community contributions to expand the IP database. Contributors are encouraged to directly add new IP segments to ipdb.txt
and submit them for review. To prevent incorrect blocking of legitimate IPs, it's important for those submitting pull requests (PRs) or issues to provide evidence of CDN abuse, such as screenshots or a reliable source link, to facilitate verification.
Additional Resources and Discussion
Several online forums and platforms have been engaged in discussing this issue, and links to related conversations provide deeper insights into community thoughts and experiences:
-
V2EX: a tech community where discussions around PCDN usage and related issues have been shared. Links to several relevant threads include:
-
Dogecloud Announcement: offers insights announced by Dogecloud regarding the issue:
-
Other discussions in forums like Linux.do:
Through community vigilance and collective effort, the "ban-pcdn-ip" project aims to mitigate the financial impact of unauthorized PCDN usage, protecting website operators from inflated CDN bills.