update irr-filter & import limit
parent
40f4df84d5
commit
43aed88e79
|
@ -40,8 +40,8 @@ steps:
|
||||||
image: debian:latest
|
image: debian:latest
|
||||||
commands:
|
commands:
|
||||||
- apt-get update -y && apt-get install bgpq4 git -y
|
- apt-get update -y && apt-get install bgpq4 git -y
|
||||||
- echo "define $(bgpq4 -tbl DOWNSTREAM_ASN AS-NET186)" > util/irr-filter.conf
|
- echo "define $(bgpq4 -tbl DOWNSTREAM_ASN AS-NET186 -S RIPE,ARIN,APNIC,AFRINIC,LACNIC -L 3)" > util/irr-filter.conf
|
||||||
- echo "define $(bgpq4 -6bl DOWNSTREAM_PREFIXES AS-NET186)" >> 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
|
- echo "net.186526.xyz" >> CNAME
|
||||||
- git rm -f ansible
|
- git rm -f ansible
|
||||||
- name: push to repo
|
- name: push to repo
|
||||||
|
|
|
@ -22,5 +22,7 @@ template bgp pub_downstream {
|
||||||
ipv6 {
|
ipv6 {
|
||||||
import where downstream_import_filter(6939);
|
import where downstream_import_filter(6939);
|
||||||
export where downstream_export_filter(6939);
|
export where downstream_export_filter(6939);
|
||||||
|
|
||||||
|
import limit 50;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# Example:
|
# Example:
|
||||||
# define DOWNSTREAM_ASN = [ 200536 ];
|
# define DOWNSTREAM_ASN = [ 200536 ];
|
||||||
# use bgpq4 generate this file:
|
# use bgpq4 generate this file:
|
||||||
# echo "define $(bgpq4 -tbl DOWNSTREAM_ASN AS-NET186 -S RIPE)" > util/irr-filter.conf
|
# echo "define $(bgpq4 -tbl DOWNSTREAM_ASN AS-NET186 -S RIPE,ARIN,APNIC,AFRINIC,LACNIC -L 3)" > util/irr-filter.conf
|
||||||
# echo "define $(bgpq4 -6bl DOWNSTREAM_PREFIXES AS-NET186 -S RIPE)" >> 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 ];
|
define DOWNSTREAM_ASN = [ 200536 ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue