Maria Matejka
c4957647b4
Merge commit '4ba991f1' into thread-next
2022-10-12 11:24:23 +02:00
Maria Matejka
2b7829734a
Merge commit '44dbedbe' into thread-next
2022-10-12 11:16:44 +02:00
Maria Matejka
f182771f96
Fixed SSH known hosts checking with older versions of libssh
2022-10-12 11:01:38 +02:00
Maria Matejka
2d99f12773
Tamed slab signedness warning on 32-bit architectures
2022-10-12 10:44:18 +02:00
Maria Matejka
fdacb89a53
BGP refeed and reload with Adj-RIB-In/Out is done without route refresh
2022-10-12 10:05:16 +02:00
Maria Matejka
c1cb2dc31c
TES_HUNGRY doesn't inhibit export cleanup any more
2022-10-12 10:05:16 +02:00
Maria Matejka
6d5929be24
More thorough logging of route update corner cases
2022-10-12 10:05:16 +02:00
Maria Matejka
26552a7ec8
Fixed BGP reload limits
2022-10-12 10:05:14 +02:00
Maria Matejka
b83a9d5f9a
Limited value must never go under zero
2022-10-12 10:05:14 +02:00
Maria Matejka
02dc895550
CLI fix to break busy-loop waiting for corked show-route exports
2022-10-12 10:05:14 +02:00
Maria Matejka
2ae32374dd
Fixed export hook stopping in some corner cases.
...
Notably, it's in a corked state and also when refeed is pending.
2022-10-12 10:05:14 +02:00
Maria Matejka
6abef2b20b
BGP: End route refresh before another starts
2022-10-12 10:03:55 +02:00
Ondrej Zajicek
8f79e6b93e
BGP: Add option 'next hop prefer global'
...
Add BGP channel option 'next hop prefer global' that modifies BGP
recursive next hop resolution to use global next hop IPv6 address instead
of link-local next hop IPv6 address for immediate next hop of received
routes.
2022-10-10 05:06:19 +02:00
Maria Matejka
e1701128bf
Poll errors must also drop a corefile. And we shouldn't run sockets when sockets have changed
2022-10-05 16:33:34 +02:00
Maria Matejka
4d687d7aec
Fixed previously untested paths in RPKI
2022-10-05 16:33:34 +02:00
Maria Matejka
1e01721525
Merge commit 'dc9351d3' into HEAD
2022-10-05 15:17:51 +02:00
Maria Matejka
7911148b22
Fixed pipe reload/refeed to properly propagate as route refresh to the other table
2022-10-05 15:17:38 +02:00
Maria Matejka
dc9351d326
Merge commit '67256d50' into HEAD
2022-10-04 16:15:36 +02:00
Maria Matejka
00679a688a
Merge commit '3ace3a42' into HEAD
2022-10-04 16:09:48 +02:00
Maria Matejka
f69ba3921a
Merge commit 'fb7fb674' into HEAD
2022-10-04 16:09:41 +02:00
Maria Matejka
a414ba6b97
Merge commit 'e9e6baae' into HEAD
2022-10-04 16:02:23 +02:00
Maria Matejka
0eba27c69f
Merge commit 'a32cee78' into HEAD
2022-10-04 15:59:15 +02:00
Maria Matejka
4e1c582cad
Merge commit '71b434a9' into HEAD
2022-10-04 15:53:12 +02:00
Maria Matejka
becca314e2
Merge commit '0072d11f' into tmp-learn
2022-10-04 15:40:52 +02:00
Ondrej Zajicek
8478de8817
Nest: Add channel config flag to distinguish new or copy
...
It is useful to distinguish whehter channel config returned from
channel_config_get() was allocated new, or existing from template.
Caller may want to initialize new ones.
2022-10-03 20:18:12 +02:00
Ondrej Zajicek
54430df953
BGP: Do not assume that all channels are struct bgp_channel
...
In principle, the channel list is a list of parent struct proto and can
contain general structures of type struct channel, That is useful e.g.
for adding MPLS channels to BGP.
2022-10-03 20:18:12 +02:00
Ondrej Zajicek
92a8565547
Filter: Add some minor functions for f_tree and EC
...
Add some supportive functions for f_tree and EC. These functions are used
by L3VPN code.
2022-10-03 20:18:12 +02:00
Ondrej Zajicek
da0b589e7b
BGP: Some fixes related to VRF and MPLS interactions
...
- When next hop is reset to local IP, we should remove BGP label stack,
as it is related to original next hop
- BGP next hop or immediate next hop from one VRF should not be passed
to another VRF, as they are different IP namespaces
2022-10-03 20:18:12 +02:00
Maria Matejka
605ff0a0eb
RPKI: wait for retry_time if we get error immediately after connected
2022-10-03 17:09:02 +02:00
Maria Matejka
67256d5035
Merge branch 'tmp-bad-learn' into thread-next
2022-09-29 10:00:32 +02:00
Maria Matejka
61c127c021
Merge commit '9efaf6ba' into tmp-bad-learn
...
Also fixed forgotten best route selection among alien routes.
2022-09-29 09:59:32 +02:00
Maria Matejka
9be7aa9b45
Merge commit '4364ee' into tmp-bad-learn
2022-09-27 12:46:22 +02:00
Maria Matejka
32a67c93eb
Merge commit 'cae5979871ee7aa341334f8b1af6bafc60ee9692' into tmp-bad-learn
2022-09-27 12:39:07 +02:00
Maria Matejka
57a34d466e
KRT: Fix route learning
...
This is a reimplementation of commit 0f2be469f8
by Alexander Zubkov. In the master branch, changes in commit eb937358
broke setting of channel preference for alien routes learned during
scan. The preference was set only for async routes.
The original solution is extended here to accomodate for v3 specifics.
2022-09-27 12:17:05 +02:00
Alexander Zubkov
0f2be469f8
KRT: Fix setting default preference
...
Changes in commit eb937358
broke setting of channel preference for alien
routes learned during scan. The preference was set only for async routes.
Move common attribute processing part of functions krt_learn_async() and
krt_learn_async() to a separate function to have only one place for such
changes.
2022-09-27 11:33:41 +02:00
Maria Matejka
7901c40500
Merge commit '3fd1f461' into thread-next
...
closes #16
closes #17
closes #18
2022-09-26 12:21:33 +02:00
Maria Matejka
c2261fa8ad
Merge commit 'aadf690b' into thread-next
...
Merging the old version of route refresh export settle times with -s
ours as the new version is more contained.
2022-09-26 12:11:07 +02:00
Maria Matejka
6cfe2066ab
Higher export settle times when route refresh is running.
...
This helps the route refresh procedures to finish or at least
do more work before the exporters jump in and steal all the CPU time
for themselves.
2022-09-26 12:09:14 +02:00
Maria Matejka
ecaa3df3c4
More verbose logging of table auxiliary export states
2022-09-23 09:58:00 +02:00
Maria Matejka
5338a779c9
Fixed possible race condition in hostcache trie matching code not triggering HCU
2022-09-23 09:57:40 +02:00
Maria Matejka
b1ade5efa1
Fixed the export settle timer to be actually a settle timer
2022-09-21 18:47:43 +02:00
Maria Matejka
f51837ace6
Caching eattrs in filters is not needed anymore.
...
After flattening the route attribute structure, the ea_list ** is derivable
from rte * by arithmetics. Caching the derived value doesn't help performance
and therefore is removed as unnecessary.
2022-09-21 17:48:31 +02:00
Maria Matejka
05c63ae734
Flushing tmp_linpool in tree test and in static protocol
2022-09-21 17:48:31 +02:00
Maria Matejka
30a909f9bc
Trie test uses direct tmp_allocz() instead of lp_allocz(tmp_linpool)
2022-09-21 12:08:52 +02:00
Maria Matejka
896dbbfe4a
Local page allocation
2022-09-21 11:49:35 +02:00
Maria Matejka
6768e0cf9e
Pipe kick-and-drain packed into a neat structure and functions.
2022-09-20 17:17:50 +02:00
Maria Matejka
4b4fe1bd65
BFD: The old pipe notification mechanism replaced by events
2022-09-20 17:14:31 +02:00
Maria Matejka
28d4ac6c97
Fixed display of standby memory
2022-09-20 14:57:43 +02:00
Maria Matejka
a00e0b5930
Merge commit 'df476c2e' into thread-next
...
Implemented the corking by our own commit, merging with "ours" strategy.
2022-09-20 13:10:29 +02:00
Maria Matejka
4ba52a2687
Route export may get corked on refeed startup
2022-09-20 12:40:23 +02:00