Go to file
Philippe Guibert f081a1924c bgpd: remove ATTR_NEXT_HOP for redistributed ipv6 nexthops
This commit addresses an issue with an MPLS VPN network
redistributing static routes that are exported to the VPN,
and where the labels are allocated per next-hop.

For that purpose, the nexthop of the static routes is
checked against the nexthop tracking. The validation
of a valid nexthop will trigger the use of a unique
label for all prefixes using that destination.

However, the nexthop fails to be validated, with the
following message:

 > evaluate_paths: prefix 172:31::14/128 (vrf vrf1), ignoring path due to
 > martian or self-next-hop

The reason is due to the way the attr is created.
By default, the ATTR_NEXTHOP attribute is set for
all prefixes, whereas this flag should only be valid
for IPv4. In the case there is an IPv6 nexthop, remove
the ATTR_NEXTHOP flag.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2023-03-22 12:06:29 +01:00
.github tools: Use specific syntax for conditions for Github actions 2023-03-13 09:52:13 +02:00
alpine docker,alpine: Remove isl from dependencies 2023-01-06 23:48:23 +09:00
babeld babeld: fix #11808 to avoid infinite loops 2023-03-03 23:19:33 +00:00
bfdd bfdd: Remove useless check for ECHO packet 2023-03-03 18:25:12 +08:00
bgpd bgpd: remove ATTR_NEXT_HOP for redistributed ipv6 nexthops 2023-03-22 12:06:29 +01:00
debian tools: Bump versions for Redhat and Debian packages in changelogs 2023-02-07 22:17:49 +02:00
doc Merge pull request #13031 from opensourcerouting/ospf-show-database 2023-03-21 07:03:05 -04:00
docker docker: Use Alpine 3.17 as base image 2022-12-02 15:42:00 +02:00
eigrpd *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
fpm *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
gdb gdb: Add a macro to walk memory allocations 2022-08-24 07:13:29 -04:00
grpc *: manual SPDX License ID conversions 2023-02-09 14:09:07 +01:00
include Merge pull request #12780 from opensourcerouting/spdx-license-id 2023-02-17 09:43:05 -05:00
isisd Merge pull request #12688 from dorDiogo/isis_hello_padding_sometimes 2023-03-20 17:00:57 -04:00
ldpd Merge pull request #12920 from sri-mohan1/sri-mohan-ldp 2023-03-02 00:40:26 +05:30
lib Merge pull request #13061 from donaldsharp/bfd_use_after_free 2023-03-21 08:59:45 +02:00
m4 build: fix sed regex in Lua macro 2022-12-08 12:39:17 +01:00
mlag build: fix AM_LDFLAGS usage (and gcov) 2021-07-21 17:10:08 +02:00
nhrpd nhrpd: drop peer references on freeing cache entry 2023-03-19 12:38:49 +01:00
ospf6d ospfd, ospf6d: Add more logging details 2023-03-17 10:14:26 +02:00
ospfclient ospfclient: remove register "READY" requirement 2023-02-20 11:58:30 -05:00
ospfd Merge pull request #13031 from opensourcerouting/ospf-show-database 2023-03-21 07:03:05 -04:00
pathd Merge pull request #12780 from opensourcerouting/spdx-license-id 2023-02-17 09:43:05 -05:00
pbrd pbrd:fix mismatching in match src-dst 2023-03-17 17:01:13 -07:00
pceplib *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
pimd pimd: stop t_sg_expire in MLD NOINFO transition 2023-03-17 13:38:31 +01:00
pkgsrc *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
python Merge pull request #12248 from pguibert6WIND/bgpasdot 2023-02-21 08:01:03 -05:00
qpb *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
redhat tools: Bump versions for Redhat and Debian packages in changelogs 2023-02-07 22:17:49 +02:00
ripd *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
ripngd *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
sharpd Merge pull request #12780 from opensourcerouting/spdx-license-id 2023-02-17 09:43:05 -05:00
snapcraft snapcraft: Add pim6 daemon for PIM IPv6 to snap package 2022-11-19 12:52:36 +01:00
staticd staticd: Tell bfd that we are shutting down 2023-03-21 09:25:38 -04:00
tests Merge pull request #12816 from gpnaveen/stc_rte_err_msg 2023-03-21 13:30:08 +02:00
tools tools: frr-reload fix list value not present 2023-03-14 21:32:40 -07:00
vrrpd Merge pull request #12780 from opensourcerouting/spdx-license-id 2023-02-17 09:43:05 -05:00
vtysh Merge pull request #12248 from pguibert6WIND/bgpasdot 2023-02-21 08:01:03 -05:00
watchfrr *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
yang Merge pull request #12968 from pguibert6WIND/asn_aggregator_counter_prop 2023-03-21 10:12:01 -04:00
zebra zebra: mpls nexthop entry displays also interface when available 2023-03-22 12:06:29 +01:00
.clang-format lib: add _last and _prev on typesafe RB/DLIST 2022-03-12 13:23:36 +01:00
.dir-locals.el tests: remove python format block from dir-locals 2021-09-13 10:04:29 -04:00
.dockerignore docker: Make docker image on CentOS 7 2019-11-26 19:29:30 +00:00
.git-blame-ignore-revs tools: Ignore mass renaming of topotests for git blame 2021-05-11 14:14:26 +03:00
.gitignore *: Add some missed make check generated files in .gitignore 2021-09-16 08:13:17 -04:00
.pylintrc tests: micronet: update infra 2021-09-04 09:04:46 -04:00
.travis.yml lib: libyang2 add missed conversion 2021-05-17 22:13:59 -04:00
bootstrap.sh build: turn on automake warnings (& symlinks) 2021-04-21 15:42:37 +02:00
buildtest.sh *: manual SPDX License ID conversions 2023-02-09 14:09:07 +01:00
config.version.in build: carry --with-pkg-extra-version into tarballs 2018-10-24 15:11:50 +02:00
configure.ac Merge pull request #12707 from donaldsharp/missed_enums 2023-02-07 22:22:27 +02:00
COPYING *: sort out & explain licenses used in FRR 2023-02-09 12:46:13 +01:00
Makefile.am packaging: Reuse frr.logrotate for Debian and Redhat builds 2022-11-08 11:17:56 +02:00
README.md doc: Fix the link that points to Slack invitation in README 2022-03-24 13:13:37 +02:00
stamp-h.in Initial revision 2002-12-13 20:15:29 +00:00
version.h build: make builddir include path consistent 2021-04-21 15:42:33 +02:00

Icon

FRRouting

FRR is free software that implements and manages various IPv4 and IPv6 routing protocols. It runs on nearly all distributions of Linux and BSD and supports all modern CPU architectures.

FRR currently supports the following protocols:

  • BGP
  • OSPFv2
  • OSPFv3
  • RIPv1
  • RIPv2
  • RIPng
  • IS-IS
  • PIM-SM/MSDP
  • LDP
  • BFD
  • Babel
  • PBR
  • OpenFabric
  • VRRP
  • EIGRP (alpha)
  • NHRP (alpha)

Installation & Use

For source tarballs, see the releases page.

For Debian and its derivatives, use the APT repository at https://deb.frrouting.org/.

Instructions on building and installing from source for supported platforms may be found in the developer docs.

Once installed, please refer to the user guide for instructions on use.

Community

The FRRouting email list server is located here and offers the following public lists:

Topic List
Development dev@lists.frrouting.org
Users & Operators frog@lists.frrouting.org
Announcements announce@lists.frrouting.org

For chat, we currently use Slack. You can join by clicking the "Slack" link under the Participate section of our website.

Contributing

FRR maintains developer's documentation which contains the project workflow and expectations for contributors. Some technical documentation on project internals is also available.

We welcome and appreciate all contributions, no matter how small!

Security

To report security issues, please use our security mailing list:

security [at] lists.frrouting.org