update irr filter

production
admin 2023-03-03 15:39:35 +00:00
parent 43aed88e79
commit 815d9aeb47
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ steps:
image: debian:latest
commands:
- apt-get update -y && apt-get install bgpq4 git -y
- echo "define $(bgpq4 -tbl DOWNSTREAM_ASN AS-NET186 -S RIPE,ARIN,APNIC,AFRINIC,LACNIC -L 3)" > util/irr-filter.conf
- echo "define $(bgpq4 -tbl DOWNSTREAM_ASN AS-NET186 -S RIPE,ARIN,APNIC,AFRINIC,LACNIC -L 6)" > util/irr-filter.conf
- echo "define $(bgpq4 -6bl DOWNSTREAM_PREFIXES AS-NET186 -S RIPE,ARIN,APNIC,AFRINIC,LACNIC,RPKI -A -R48)" >> util/irr-filter.conf
- echo "net.186526.xyz" >> CNAME
- git rm -f ansible

View File

@ -1,7 +1,7 @@
# Example:
# define DOWNSTREAM_ASN = [ 200536 ];
# use bgpq4 generate this file:
# echo "define $(bgpq4 -tbl DOWNSTREAM_ASN AS-NET186 -S RIPE,ARIN,APNIC,AFRINIC,LACNIC -L 3)" > util/irr-filter.conf
# echo "define $(bgpq4 -tbl DOWNSTREAM_ASN AS-NET186 -S RIPE,ARIN,APNIC,AFRINIC,LACNIC -L 6)" > util/irr-filter.conf
# echo "define $(bgpq4 -6bl DOWNSTREAM_PREFIXES AS-NET186 -S RIPE,ARIN,APNIC,AFRINIC,LACNIC,RPKI -A -R48)" >> util/irr-filter.conf
define DOWNSTREAM_ASN = [ 200536 ];