Skip to content

Commit 3e40fe5

Browse files
committed
ns2: do not advertise to HE
1 parent 141141e commit 3e40fe5

6 files changed

+26
-0
lines changed

bird.ber.ns2.grapheneos.org.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ filter grapheneos_ipv4_filter {
2424
# Lumen: set BGP Local Pref to 70 (less than peer routes)
2525
bgp_community.add((3356, 70));
2626

27+
# Misaka.io: do not advertise to HE
28+
bgp_ext_community.add((rt, 65009, 6939));
2729
# Misaka.io: prepend 1x to HE
2830
bgp_ext_community.add((rt, 65001, 6939));
2931

@@ -43,6 +45,7 @@ filter grapheneos_ipv4_filter {
4345
# NL-IX: do not advertise to United Kingdom
4446
bgp_community.add((34307, 65154));
4547

48+
no_advertise(6939); # HE
4649
no_advertise(9498); # Bharti
4750
no_advertise(24482); # SG.GS
4851
no_advertise(57463); # NetIX
@@ -89,6 +92,7 @@ filter grapheneos_ipv6_filter {
8992
# NL-IX: do not advertise to United Kingdom
9093
bgp_community.add((34307, 65154));
9194

95+
no_advertise(6939); # HE
9296
no_advertise(9498); # Bharti
9397
no_advertise(24482); # SG.GS
9498
no_advertise(57463); # NetIX

bird.iad.ns2.grapheneos.org.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ filter grapheneos_ipv4_filter {
8686
# Sparkle (Seabone): set localpref to 50 (backup route)
8787
bgp_community.add((6762, 1050));
8888

89+
# Misaka.io: do not advertise to HE
90+
bgp_ext_community.add((rt, 65009, 6939));
8991
# Misaka.io: prepend 1x to HE
9092
bgp_ext_community.add((rt, 65001, 6939));
9193

@@ -141,6 +143,7 @@ filter grapheneos_ipv4_filter {
141143
# GSL: export prefix to all external ports (legacy quirk required in Ashburn)
142144
#bgp_community.add((65500, 10000));
143145

146+
no_advertise(6939); # HE
144147
no_advertise(9498); # Bharti
145148
no_advertise(24482); # SG.GS
146149
no_advertise(57463); # NetIX
@@ -286,6 +289,7 @@ filter grapheneos_ipv6_filter {
286289
# GSL: export prefix to all external ports (legacy quirk required in Ashburn)
287290
#bgp_community.add((65500, 10000));
288291

292+
no_advertise(6939); # HE
289293
no_advertise(9498); # Bharti
290294
no_advertise(24482); # SG.GS
291295
no_advertise(57463); # NetIX

bird.lon.ns2.grapheneos.org.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ filter grapheneos_ipv4_filter {
132132
# Misaka.io: remove Misaka from path to Krixe GSL transit
133133
#bgp_community.add((931, 47005));
134134

135+
no_advertise(6939); # HE
135136
no_advertise(9498); # Bharti
136137
no_advertise(24482); # SG.GS
137138
no_advertise(57463); # NetIX
@@ -207,6 +208,8 @@ filter grapheneos_ipv6_filter {
207208
# Sparkle (Seabone): set localpref to 50 (backup route)
208209
bgp_community.add((6762, 1050));
209210

211+
# Misaka.io: do not advertise to HE
212+
bgp_ext_community.add((rt, 65009, 6939));
210213
# Misaka.io: prepend 1x to HE
211214
bgp_ext_community.add((rt, 65001, 6939));
212215

@@ -263,6 +266,7 @@ filter grapheneos_ipv6_filter {
263266
# Misaka.io: remove Misaka from path to Krixe GSL transit
264267
#bgp_community.add((931, 47005));
265268

269+
no_advertise(6939); # HE
266270
no_advertise(9498); # Bharti
267271
no_advertise(24482); # SG.GS
268272
no_advertise(57463); # NetIX

bird.mia.ns2.grapheneos.org.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ filter grapheneos_ipv4_filter {
8080
# Sparkle (Seabone): set localpref to 50 (backup route)
8181
bgp_community.add((6762, 1050));
8282

83+
# Misaka.io: do not advertise to HE
84+
bgp_ext_community.add((rt, 65009, 6939));
8385
# Misaka.io: prepend 1x to HE
8486
bgp_ext_community.add((rt, 65001, 6939));
8587

@@ -127,6 +129,7 @@ filter grapheneos_ipv4_filter {
127129
bgp_ext_community.add((rt, 65001, 63221));
128130

129131
no_advertise(3303); # Swisscom
132+
no_advertise(6939); # HE
130133
no_advertise(9498); # Bharti
131134
no_advertise(24482); # SG.GS
132135
no_advertise(57463); # NetIX
@@ -258,6 +261,7 @@ filter grapheneos_ipv6_filter {
258261
bgp_ext_community.add((rt, 65001, 63221));
259262

260263
no_advertise(3303); # Swisscom
264+
no_advertise(6939); # HE
261265
no_advertise(9498); # Bharti
262266
no_advertise(24482); # SG.GS
263267
no_advertise(57463); # NetIX

bird.sin.ns2.grapheneos.org.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ filter grapheneos_ipv4_filter {
8282
# Sparkle (Seabone): set localpref to 50 (backup route)
8383
bgp_community.add((6762, 1050));
8484

85+
# Misaka.io: do not advertise to HE
86+
bgp_ext_community.add((rt, 65009, 6939));
8587
# Misaka.io: prepend 1x to HE
8688
bgp_ext_community.add((rt, 65001, 6939));
8789

@@ -139,6 +141,8 @@ filter grapheneos_ipv4_filter {
139141
# Misaka.io: do not advertise to GSL
140142
bgp_ext_community.add((rt, 65009, 137409));
141143

144+
no_advertise(6939); # HE
145+
bgp_community.add((0, 6939)); # do not advertise to HE (for BBIX and GNM-IX)
142146
no_advertise(57463); # NetIX
143147
no_advertise(137409); # GSL
144148

@@ -276,6 +280,8 @@ filter grapheneos_ipv6_filter {
276280
# Misaka.io: do not advertise to GSL
277281
bgp_ext_community.add((rt, 65009, 137409));
278282

283+
no_advertise(6939); # HE
284+
bgp_community.add((0, 6939)); # do not advertise to HE (for BBIX and GNM-IX)
279285
no_advertise(57463); # NetIX
280286
no_advertise(137409); # GSL
281287

bird.sjc.ns2.grapheneos.org.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ filter grapheneos_ipv4_filter {
8686
# Sparkle (Seabone): set localpref to 50 (backup route)
8787
bgp_community.add((6762, 1050));
8888

89+
# Misaka.io: do not advertise to HE
90+
bgp_ext_community.add((rt, 65009, 6939));
8991
# Misaka.io: prepend 1x to HE
9092
bgp_ext_community.add((rt, 65001, 6939));
9193

@@ -134,6 +136,7 @@ filter grapheneos_ipv4_filter {
134136
# CDN77: do not advertise to backbone
135137
bgp_community.add((60068, 60010));
136138

139+
no_advertise(6939); # HE
137140
no_advertise(9498); # Bharti
138141
no_advertise(24482); # SG.GS
139142
no_advertise(57463); # NetIX
@@ -271,6 +274,7 @@ filter grapheneos_ipv6_filter {
271274
# CDN77: do not advertise to backbone
272275
bgp_community.add((60068, 60010));
273276

277+
no_advertise(6939); # HE
274278
no_advertise(9498); # Bharti
275279
no_advertise(24482); # SG.GS
276280
no_advertise(57463); # NetIX

0 commit comments

Comments
 (0)