| Age | Commit message (Collapse) | Author | 
 | 
babeld: Add MBZ and Reserved field checking
 | 
 | 
babeld: Add input validation for update TLV.
 | 
 | 
babeld: fix incorrect type assignment in parse_request_subtlv
 | 
 | 
 | 
 | 
Clean up various "shadow" warnings in babeld.
Signed-off-by: Mark Stapp <mjs@cisco.com>
 | 
 | 
babeld: check valid babel port
 | 
 | 
babel: fix incorrect check in known_ae()
 | 
 | 
babeld: Add a check to prevent all-ones case
 | 
 | 
babeld: Fix starvation handling on route loss per RFC 8966 §3.8.2.1
 | 
 | 
babeld: Request forwarding does not prioritize feasible routes
 | 
 | 
babeld: Hop Count must not be 0.
 | 
 | 
The known_ae() function accepts AE values up to 4, but the RFC only defines AE values 0-3.
Signed-off-by: zmw12306 <zmw12306@gmail.com>
 | 
 | 
A router-id MUST NOT consist of either all binary zeroes (0000000000000000 hexadecimal) or all binary ones (FFFFFFFFFFFFFFFF hexadecimal).
Signed-off-by: zmw12306 <zmw12306@gmail.com>
 | 
 | 
Add checking for port == 6696.
Signed-off-by: zmw12306 <zmw12306@gmail.com>
 | 
 | 
When all feasible routes to a destination are lost, but unexpired unfeasible routes exist, the node MUST send a seqno request to prevent starvation.
Signed-off-by: zmw12306 <zmw12306@gmail.com>
 | 
 | 
Modify route selection to check feasibility first, then fall back to non-feasible routes as per SHOULD requirement.
Signed-off-by: zmw12306 <zmw12306@gmail.com>
 | 
 | 
babeld: Add next hop initialization
 | 
 | 
parse_request_subtlv accesses type using fixed offset instead of current position.
Signed-off-by: zmw12306 <zmw12306@gmail.com>
 | 
 | 
According to RFC 8966:
Hop Count The maximum number of times that this TLV may be forwarded, plus 1. This MUST NOT be 0.
Signed-off-by: zmw12306 <zmw12306@gmail.com>
 | 
 | 
1. If the metric is infinite and AE is 0, Plen and Omitted MUST both be 0
2. Use INFINITY to replace 0xFFFF
3. Ignore unkown ae
4. If the metric field if 0xFFFF, a retraction happens So it is acceptable for no router_id when metric is 0xFFFF while ae is not 0.
Signed-off-by: zmw12306 <zmw12306@gmail.com>
 | 
 | 
Several daemons were not calling prefix_list_reset
to clean up memory on shutdown.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
 | 
 | 
babeld: fix hello packets not sent with configured hello timer
 | 
 | 
babeld: Hop Count must not be 0.
 | 
 | 
babeld: add check incorrect AE value for NH TLV.
 | 
 | 
Same issue occurring as previously addressed in https://github.com/FRRouting/frr/pull/9092. The root cause is: "Sending a Hello message before restarting the hello timer to avoid session flaps in case of larger hello interval configurations."
Signed-off-by: Shbinging <bingshui@smail.nju.edu.cn>
 | 
 | 
According to RFC 8966, for NH TLV, AE SHOULD be 1 (IPv4) or 3 (link-local IPv6), and MUST NOT be 0.
Signed-off-by: zmw12306 <zmw12306@gmail.com>
 | 
 | 
According to RFC 8966:
Hop Count The maximum number of times that this TLV may be forwarded, plus 1. This MUST NOT be 0.
Signed-off-by: zmw12306 <zmw12306@gmail.com>
 | 
 | 
A Request TLV with AE set to 0 and Plen not set to 0 MUST be ignored.
Signed-off-by: zmw12306 <zmw12306@gmail.com>
 | 
 | 
Initialize v4_nh/v6_nh from source address at the beginning of packet parsing
Signed-off-by: zmw12306 <zmw12306@gmail.com>
 | 
 | 
Signed-off-by: zmw12306 <zmw12306@gmail.com>
 | 
 | 
As stated in doc, interface's attributes such noninterfering/interfering are reset when the wired/wireless status of an interface is changed. If wired/wireless status is not changed, such as wired->wired, we should not reset internal attributes.
Signed-off-by: Shbinging <bingshui@smail.nju.edu.cn>
 | 
 | 
Improve code clarity and maintainability
Signed-off-by: y-bharath14 <y.bharath@samsung.com>
 | 
 | 
When deactivating babel no router babel and later re-enabling it router babel the previous configuration is still in place.
Steps to reproduce:
    Enable babel
    Configure babel
    Disable babel with "no router babel"
    Verify config
Expected correct behavior: No config present
Signed-off-by: Yaroslav Kholod <y.kholod@vyos.io>
 | 
 | 
When deactivating babel no router babel and later re-enabling
it router babel the previous configuration is still in place.
Steps to reproduce:
 - Enable babel
 - Configure babel
 - Disable babel with "no router babel"
 - Verify config
Expected correct behavior: No config present
Signed-off-by: Yaroslav Kholod <y.kholod@vyos.io>
 | 
 | 
these changes are for improving the code maintainability and readability
Signed-off-by: sri-mohan1 <sri.mohan@samsung.com>
 | 
 | 
When sending down a babel route do not remove then
add it back.  Just send down the change.  This
change will not cause packets to be dropped now.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
 | 
 | 
Babel was thinking it was talking to the kernel for
route installation instead of zebra.  Pass down the
metric instead.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
 | 
 | 
a) call vector_delete on created vector on shutdown.
b) Call babel_clean_routing_process on shutdown
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
 | 
 | 
Asserting the further instructions when the babel interface pointer is
NULL
Signed-off-by: y-bharath14 <y.bharath@samsung.com>
 | 
 | 
these changes are for improving the code maintainability and readability
Signed-off-by: sri-mohan1 <sri.mohan@samsung.com>
 | 
 | 
these changes are for improving the code maintainability and readability
Signed-off-by: sri-mohan1 <sri.mohan@samsung.com>
 | 
 | 
Create a single registry of default port values that daemons
are using. Most of these are vty ports, but there are some
others for features like ospfapi and zebra FPM.
Signed-off-by: Mark Stapp <mjs@labn.net>
 | 
 | 
This doesn't align with what the code actually loads, remove it.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
 | 
 | 
clang-format doesn't understand FRR_DAEMON_INFO is a long macro where
laying out items semantically makes sense.
(Also use only one `FRR_DAEMON_INFO(` in isisd so editors don't get
confused with the mismatching `( ( )`.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
 | 
 | 
Also remove frr_init_vtydir(), just initialize to default.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
 | 
 | 
Currently, we always use access-list autocompletion, even if configuring
prefix-lists. We should differentiate.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
 | 
 | 
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
 | 
 | 
Signed-off-by: Christian Hopps <chopps@labn.net>
 | 
 | 
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
 | 
 | 
Replace `struct list *` with `DLIST(if_connected, ...)`.
NB: while converting this, I found multiple places using connected
prefixes assuming they were IPv4 without checking:
- vrrpd/vrrp.c: vrrp_socket()
- zebra/irdp_interface.c: irdp_get_prefix(), irdp_if_start(),
  irdp_advert_off()
(these fixes are really hard to split off into separate commits as that
would require going back and reapplying the change but with the old list
handling)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
 |