diff options
Diffstat (limited to 'roles/space_server/files/bird')
-rw-r--r-- | roles/space_server/files/bird/bird.conf | 7 | ||||
-rw-r--r-- | roles/space_server/files/bird/bird6.conf | 7 | ||||
-rw-r--r-- | roles/space_server/files/bird/filter.conf | 31 | ||||
-rw-r--r-- | roles/space_server/files/bird/peers4.conf | 11 | ||||
-rw-r--r-- | roles/space_server/files/bird/peers6.conf | 11 | ||||
-rw-r--r-- | roles/space_server/files/bird/protocols.conf | 18 | ||||
-rw-r--r-- | roles/space_server/files/bird/symbol4.conf | 7 | ||||
-rw-r--r-- | roles/space_server/files/bird/symbol6.conf | 7 | ||||
-rw-r--r-- | roles/space_server/files/bird/templates.conf | 18 |
9 files changed, 0 insertions, 117 deletions
diff --git a/roles/space_server/files/bird/bird.conf b/roles/space_server/files/bird/bird.conf deleted file mode 100644 index 2ae72f0..0000000 --- a/roles/space_server/files/bird/bird.conf +++ /dev/null @@ -1,7 +0,0 @@ -router id 185.38.175.0; - -include "bird/symbol4.conf"; -include "bird/filter.conf"; -include "bird/protocols.conf"; -include "bird/templates.conf"; -include "bird/peers4.conf"; diff --git a/roles/space_server/files/bird/bird6.conf b/roles/space_server/files/bird/bird6.conf deleted file mode 100644 index 91b5405..0000000 --- a/roles/space_server/files/bird/bird6.conf +++ /dev/null @@ -1,7 +0,0 @@ -router id 185.38.175.0; - -include "bird/symbol6.conf"; -include "bird/filter.conf"; -include "bird/protocols.conf"; -include "bird/templates.conf"; -include "bird/peers6.conf"; diff --git a/roles/space_server/files/bird/filter.conf b/roles/space_server/files/bird/filter.conf deleted file mode 100644 index 3edc053..0000000 --- a/roles/space_server/files/bird/filter.conf +++ /dev/null @@ -1,31 +0,0 @@ -function accept_default_route() -{ - if net = DEFAULT_ROUTE then { - accept; - } -} - -function accept_prefixes(prefix set prefixes) -{ - if net ~ prefixes then { - accept; - } -} - -filter fallback_filter { - reject "WARNING!! no filter set, all routes will be rejected"; -} - -filter transit_import -{ - accept_default_route(); - - reject; -} - -filter transit_export -{ - accept_prefixes(LABITAT_PREFIXES); - - reject; -} diff --git a/roles/space_server/files/bird/peers4.conf b/roles/space_server/files/bird/peers4.conf deleted file mode 100644 index ac4fa69..0000000 --- a/roles/space_server/files/bird/peers4.conf +++ /dev/null @@ -1,11 +0,0 @@ -template bgp fiberby from bgp_transit { -} - -protocol bgp fiberby_tgc from fiberby { - preference 90; - neighbor 193.106.167.40 as 42541; -} - -protocol bgp fiberby_inx from fiberby { - neighbor 193.106.167.42 as 42541; -} diff --git a/roles/space_server/files/bird/peers6.conf b/roles/space_server/files/bird/peers6.conf deleted file mode 100644 index a78d8c6..0000000 --- a/roles/space_server/files/bird/peers6.conf +++ /dev/null @@ -1,11 +0,0 @@ -template bgp fiberby from bgp_transit { -} - -protocol bgp fiberby_tgc from fiberby { - preference 90; - neighbor 2a03:5440:1:2935:1ab:1::1 as 42541; -} - -protocol bgp fiberby_inx from fiberby { - neighbor 2a03:5440:1:2935:1ab:2::1 as 42541; -} diff --git a/roles/space_server/files/bird/protocols.conf b/roles/space_server/files/bird/protocols.conf deleted file mode 100644 index f5cc85f..0000000 --- a/roles/space_server/files/bird/protocols.conf +++ /dev/null @@ -1,18 +0,0 @@ -protocol device { - scan time 10; -} - -protocol direct { -} - -protocol kernel { - metric 64; - learn; - persist; - scan time 20; - import all; - export filter { - krt_prefsrc = PREFSRC; - accept; - }; -} diff --git a/roles/space_server/files/bird/symbol4.conf b/roles/space_server/files/bird/symbol4.conf deleted file mode 100644 index a23c865..0000000 --- a/roles/space_server/files/bird/symbol4.conf +++ /dev/null @@ -1,7 +0,0 @@ -define DEFAULT_ROUTE = 0.0.0.0/0; - -define LABITAT_PREFIXES = [ - 185.38.175.0/24 -]; - -define PREFSRC = 185.38.175.0; diff --git a/roles/space_server/files/bird/symbol6.conf b/roles/space_server/files/bird/symbol6.conf deleted file mode 100644 index fd142c9..0000000 --- a/roles/space_server/files/bird/symbol6.conf +++ /dev/null @@ -1,7 +0,0 @@ -define DEFAULT_ROUTE = ::/0; - -define LABITAT_PREFIXES = [ - 2a01:4262:1ab::/48 -]; - -define PREFSRC = 2a01:4262:1ab::; diff --git a/roles/space_server/files/bird/templates.conf b/roles/space_server/files/bird/templates.conf deleted file mode 100644 index 4334bd8..0000000 --- a/roles/space_server/files/bird/templates.conf +++ /dev/null @@ -1,18 +0,0 @@ -template bgp bgp_peer { - local as 205235; - import keep filtered; - import filter fallback_filter; - export filter fallback_filter; - import limit 1000 action block; - receive limit 1500 action disable; - export limit 100 action block; - hold time 60; -} - -template bgp bgp_transit from bgp_peer { - preference 100; - import limit off; - receive limit off; - import filter transit_import; - export filter transit_export; -} |