update irr filter
parent
43aed88e79
commit
815d9aeb47
|
@ -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
|
||||
|
|
|
@ -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 ];
|
||||
|
|
Loading…
Reference in New Issue