@@ -46,6 +46,7 @@ protocol static static_bgp {
|
|||||||
include "/etc/bird/Telegram.txt";
|
include "/etc/bird/Telegram.txt";
|
||||||
include "/etc/bird/ChatGPT.txt";
|
include "/etc/bird/ChatGPT.txt";
|
||||||
include "/etc/bird/Twitter.txt";
|
include "/etc/bird/Twitter.txt";
|
||||||
|
include "/etc/bird/Discord.txt";
|
||||||
}
|
}
|
||||||
## Тут указываем нашего соседа, который будет получать маршруты от нашей системы
|
## Тут указываем нашего соседа, который будет получать маршруты от нашей системы
|
||||||
protocol bgp Mikrot1 {
|
protocol bgp Mikrot1 {
|
||||||
@@ -94,6 +95,7 @@ wget -N -O Twitter.lst https://raw.githubusercontent.com/lord-alfred/ipranges/ma
|
|||||||
wget -N -O Telegram.lst https://raw.githubusercontent.com/lord-alfred/ipranges/main/telegram/ipv4.txt
|
wget -N -O Telegram.lst https://raw.githubusercontent.com/lord-alfred/ipranges/main/telegram/ipv4.txt
|
||||||
wget -N -O ChatGPT.lst https://raw.githubusercontent.com/lord-alfred/ipranges/main/openai/ipv4.txt
|
wget -N -O ChatGPT.lst https://raw.githubusercontent.com/lord-alfred/ipranges/main/openai/ipv4.txt
|
||||||
wget -N -O CloudFlare.lst https://raw.githubusercontent.com/lord-alfred/ipranges/main/cloudflare/ipv4.txt
|
wget -N -O CloudFlare.lst https://raw.githubusercontent.com/lord-alfred/ipranges/main/cloudflare/ipv4.txt
|
||||||
|
wget -N -O Discord.lst https://raw.githubusercontent.com/1andrevich/Re-filter-lists/refs/heads/main/discord_ips.lst
|
||||||
old=$(cat /opt/blacklist/md5.txt);
|
old=$(cat /opt/blacklist/md5.txt);
|
||||||
new=$(cat /opt/blacklist/list/*.lst | md5sum | head -c 32);
|
new=$(cat /opt/blacklist/list/*.lst | md5sum | head -c 32);
|
||||||
if [ "$old" != "$new" ]
|
if [ "$old" != "$new" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user