From b688d96e557aa943d48ebe3af7cebb3f9ae2fd8c Mon Sep 17 00:00:00 2001 From: Andrevich <47223721+1andrevich@users.noreply.github.com> Date: Sun, 8 Dec 2024 23:33:27 +0400 Subject: [PATCH] Added community_ips.lst file for CIDRs added by community --- community_ips.lst | 1 + src/step 5 ooni list/ip_4files_sum.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 community_ips.lst diff --git a/community_ips.lst b/community_ips.lst new file mode 100644 index 0000000..8c2c10b --- /dev/null +++ b/community_ips.lst @@ -0,0 +1 @@ +23.207.103.177/32 \ No newline at end of file diff --git a/src/step 5 ooni list/ip_4files_sum.py b/src/step 5 ooni list/ip_4files_sum.py index fc82c17..091faa3 100644 --- a/src/step 5 ooni list/ip_4files_sum.py +++ b/src/step 5 ooni list/ip_4files_sum.py @@ -14,9 +14,10 @@ def main(): ips2 = read_ips_from_file("sum/input/ooni_ips.lst") ips3 = read_ips_from_file("sum/input/ip_community.lst") ips4 = read_ips_from_file("discord_ips.lst") + ips5 = read_ips_from_file("community_ips.lst") # Combine all IPs and remove duplicates - unique_ips = set(ips1 + ips2 + ips3 + ips4) + unique_ips = set(ips1 + ips2 + ips3 + ips4 + ips5) # Write the unique IPs to the output file output_file = "sum/input/ips_all.lst"