<feed xmlns='http://www.w3.org/2005/Atom'>
<title>labitat-ansible/roles, branch routing-changes</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.2e8.dk/labitat/labitat-ansible/'/>
<entry>
<title>space_server: nftables: colo: accept BGP connections</title>
<updated>2021-06-18T22:40:15+00:00</updated>
<author>
<name>Asbjørn Sloth Tønnesen</name>
<email>asbjorn@labitat.dk</email>
</author>
<published>2021-06-18T21:55:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.2e8.dk/labitat/labitat-ansible/commit/?id=2240d5ee65c26df076979353d2a1e5cc38a59d1f'/>
<id>2240d5ee65c26df076979353d2a1e5cc38a59d1f</id>
<content type='text'>
Until now BGP connections have only been established
when the space server has initiated the connection to
the peer.

It's best practice for both BGP speakers to be able to
connect to one another, lowering recovery time.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Until now BGP connections have only been established
when the space server has initiated the connection to
the peer.

It's best practice for both BGP speakers to be able to
connect to one another, lowering recovery time.
</pre>
</div>
</content>
</entry>
<entry>
<title>space_server: nftables: colo: use dynamic reverse path filter</title>
<updated>2021-06-18T22:40:15+00:00</updated>
<author>
<name>Asbjørn Sloth Tønnesen</name>
<email>asbjorn@labitat.dk</email>
</author>
<published>2021-06-18T21:41:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.2e8.dk/labitat/labitat-ansible/commit/?id=ff7bfb2fbfa64a4763294b067c984c4b05244821'/>
<id>ff7bfb2fbfa64a4763294b067c984c4b05244821</id>
<content type='text'>
This patch changes the reverse path filtering of the labicolo VLAN
to take place in the prerouting hook, using the kernel routing
table, and removes the need to maintain a static prefix list.

Labicolo routes are exported to the kernel routing table by BIRD,
hence it should be sufficient to only have prefix lists there.

This change has been tested, and it's only possible to spoof
fellow labicolo members address space (same as before).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch changes the reverse path filtering of the labicolo VLAN
to take place in the prerouting hook, using the kernel routing
table, and removes the need to maintain a static prefix list.

Labicolo routes are exported to the kernel routing table by BIRD,
hence it should be sufficient to only have prefix lists there.

This change has been tested, and it's only possible to spoof
fellow labicolo members address space (same as before).
</pre>
</div>
</content>
</entry>
<entry>
<title>space_server: bird: remove old prefix lists</title>
<updated>2021-06-18T22:40:15+00:00</updated>
<author>
<name>Asbjørn Sloth Tønnesen</name>
<email>asbjorn@labitat.dk</email>
</author>
<published>2021-06-18T21:37:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.2e8.dk/labitat/labitat-ansible/commit/?id=512f7dc6837f140f5549e58d8a5ef8014fe0b52e'/>
<id>512f7dc6837f140f5549e58d8a5ef8014fe0b52e</id>
<content type='text'>
Now that we use communities, we don't need this prefix filter
anymore, only the per-customer prefix filters.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that we use communities, we don't need this prefix filter
anymore, only the per-customer prefix filters.
</pre>
</div>
</content>
</entry>
<entry>
<title>space_server: bird: export prefixes based on communities</title>
<updated>2021-06-18T22:40:15+00:00</updated>
<author>
<name>Asbjørn Sloth Tønnesen</name>
<email>asbjorn@labitat.dk</email>
</author>
<published>2021-06-18T21:37:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.2e8.dk/labitat/labitat-ansible/commit/?id=b4c4a41b2b9f7ac70fec575c7badef0ec937f1a3'/>
<id>b4c4a41b2b9f7ac70fec575c7badef0ec937f1a3</id>
<content type='text'>
We only announce a prefix, if we have recieved it from a customer
connection or if we originate it our self.

This way we avoid announcing prefixes matching the earlier used,
prefix list if we haven't recieved it via the customer connection.
This is important for multi-homed labicolo customers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We only announce a prefix, if we have recieved it from a customer
connection or if we originate it our self.

This way we avoid announcing prefixes matching the earlier used,
prefix list if we haven't recieved it via the customer connection.
This is important for multi-homed labicolo customers.
</pre>
</div>
</content>
</entry>
<entry>
<title>space_server: bird: set communities on import</title>
<updated>2021-06-18T22:39:48+00:00</updated>
<author>
<name>Asbjørn Sloth Tønnesen</name>
<email>asbjorn@labitat.dk</email>
</author>
<published>2021-06-18T21:35:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.2e8.dk/labitat/labitat-ansible/commit/?id=f6361901625aae13992670bd385ca2e67310f1b4'/>
<id>f6361901625aae13992670bd385ca2e67310f1b4</id>
<content type='text'>
Assign large communities on prefix import.

Later we can then use the community, to decide if we should
announce it to our peers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Assign large communities on prefix import.

Later we can then use the community, to decide if we should
announce it to our peers.
</pre>
</div>
</content>
</entry>
<entry>
<title>space_server: bird: prepare large communities</title>
<updated>2021-06-18T22:36:38+00:00</updated>
<author>
<name>Asbjørn Sloth Tønnesen</name>
<email>asbjorn@labitat.dk</email>
</author>
<published>2021-06-18T21:34:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.2e8.dk/labitat/labitat-ansible/commit/?id=6456863d1350340a8d6cfad183332e80b334bd8d'/>
<id>6456863d1350340a8d6cfad183332e80b334bd8d</id>
<content type='text'>
This patch prepares us for adopting Large BGP Communities (RFC 8092).

Basic format of Large BGP Communities:
  &lt;uint32_t asn&gt;:&lt;uint32_t function&gt;:&lt;uint32_t value&gt;

We use function 1 for storing prefix type (or relation).

We then assign a value to transit, peering, customer and originated
prefixes.

Large BGP Communities
http://largebgpcommunities.net/
https://tools.ietf.org/html/rfc8092
https://tools.ietf.org/html/rfc8195
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch prepares us for adopting Large BGP Communities (RFC 8092).

Basic format of Large BGP Communities:
  &lt;uint32_t asn&gt;:&lt;uint32_t function&gt;:&lt;uint32_t value&gt;

We use function 1 for storing prefix type (or relation).

We then assign a value to transit, peering, customer and originated
prefixes.

Large BGP Communities
http://largebgpcommunities.net/
https://tools.ietf.org/html/rfc8092
https://tools.ietf.org/html/rfc8195
</pre>
</div>
</content>
</entry>
<entry>
<title>space_server: bird: asbjorn: enable TTL security</title>
<updated>2021-06-18T22:30:02+00:00</updated>
<author>
<name>Asbjørn Sloth Tønnesen</name>
<email>asbjorn@labitat.dk</email>
</author>
<published>2021-06-18T22:28:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.2e8.dk/labitat/labitat-ansible/commit/?id=0b9f7c5cfad16602bf2df5276a5bee18888fd618'/>
<id>0b9f7c5cfad16602bf2df5276a5bee18888fd618</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>space_server: bird: fiberby: enable TTL security</title>
<updated>2021-06-18T22:00:32+00:00</updated>
<author>
<name>Asbjørn Sloth Tønnesen</name>
<email>asbjorn@labitat.dk</email>
</author>
<published>2021-06-18T21:03:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.2e8.dk/labitat/labitat-ansible/commit/?id=b90e3611976192db56394b57c9527db7a58af62c'/>
<id>b90e3611976192db56394b57c9527db7a58af62c</id>
<content type='text'>
This protects us amount otherthings against 3rd parties
resetting the TCP connection underneat our BGP sessions.

This has been enabled in both ends, and this
_MUST_ remain enabled, otherwise these sessions
will go down.

If this needs to be disabled for some reason
then it must be coordinated with Fiberby.

RFC 5082 - The Generalized TTL Security Mechanism
https://datatracker.ietf.org/doc/html/rfc5082
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This protects us amount otherthings against 3rd parties
resetting the TCP connection underneat our BGP sessions.

This has been enabled in both ends, and this
_MUST_ remain enabled, otherwise these sessions
will go down.

If this needs to be disabled for some reason
then it must be coordinated with Fiberby.

RFC 5082 - The Generalized TTL Security Mechanism
https://datatracker.ietf.org/doc/html/rfc5082
</pre>
</div>
</content>
</entry>
<entry>
<title>space_server: bird: fix prefix error</title>
<updated>2021-06-17T22:46:51+00:00</updated>
<author>
<name>Hafnium</name>
<email>haf@hafnium.me</email>
</author>
<published>2021-06-17T22:11:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.2e8.dk/labitat/labitat-ansible/commit/?id=1a0e6180c199225b1790d74614a4c727cfec1f7d'/>
<id>1a0e6180c199225b1790d74614a4c727cfec1f7d</id>
<content type='text'>
The prefix was only routeable on the intern network, not the whole
internet, as it was not added in local_prefix_v6.
The 2a0e:8f02:f034::/48 is attached to my ASN, AS211153

Commit message fixed up by Esmil
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The prefix was only routeable on the intern network, not the whole
internet, as it was not added in local_prefix_v6.
The 2a0e:8f02:f034::/48 is attached to my ASN, AS211153

Commit message fixed up by Esmil
</pre>
</div>
</content>
</entry>
<entry>
<title>space_server: bird: add bgp peering for Hafnium/AS211153</title>
<updated>2021-06-17T21:46:43+00:00</updated>
<author>
<name>Hafnium</name>
<email>haf@hafnium.me</email>
</author>
<published>2021-06-17T21:25:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.2e8.dk/labitat/labitat-ansible/commit/?id=597b4122c5428db223e736ad66b9bf2a7dff3fd3'/>
<id>597b4122c5428db223e736ad66b9bf2a7dff3fd3</id>
<content type='text'>
Commit message and nftables rule fixed up by Esmil
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit message and nftables rule fixed up by Esmil
</pre>
</div>
</content>
</entry>
</feed>
