diff options
author | uvok cheetah | 2024-07-06 15:40:37 +0200 |
---|---|---|
committer | uvok cheetah | 2024-07-06 15:40:37 +0200 |
commit | 4d456f69701c772fd899e752f2372b1c049ed4f0 (patch) | |
tree | 3d5381a52831ab1da7ae2f96bae3eb08cb0a9863 /roles/uvok_bird | |
parent | d32136a486a12680c5795a41e4250acfc81155d6 (diff) |
bird: Add strict bind
Diffstat (limited to 'roles/uvok_bird')
-rw-r--r-- | roles/uvok_bird/defaults/main.yml | 1 | ||||
-rw-r--r-- | roles/uvok_bird/templates/clearnet.conf.j2 | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/roles/uvok_bird/defaults/main.yml b/roles/uvok_bird/defaults/main.yml index 8bf0ef3..1da8043 100644 --- a/roles/uvok_bird/defaults/main.yml +++ b/roles/uvok_bird/defaults/main.yml @@ -12,3 +12,4 @@ uvok_bird_opts: rpki1: "127.0.0.1" rpki2: "127.0.0.2" babel_accept_default: false + strict_bind: false diff --git a/roles/uvok_bird/templates/clearnet.conf.j2 b/roles/uvok_bird/templates/clearnet.conf.j2 index 87ae8d8..6962f72 100644 --- a/roles/uvok_bird/templates/clearnet.conf.j2 +++ b/roles/uvok_bird/templates/clearnet.conf.j2 @@ -43,6 +43,9 @@ protocol direct { template bgp pt_clearnet { local as CLEARNET_ASN; +{% if uvok_bird_opts.strict_bind %} + strict bind on; +{%- endif %} graceful restart on; long lived graceful restart on; |