Compare commits
33 Commits
frr-8.4.2-
...
frr-8.5.3-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
926ffaa9e3 | ||
| 9bce2d7f77 | |||
|
|
3c846ec975 | ||
|
|
76e3ee52e3 | ||
|
|
ce3ab829c6 | ||
|
|
a302f6117d | ||
|
|
73b57e75c1 | ||
|
|
b6998f1514 | ||
|
|
de8d85febb | ||
|
|
7f0775ec07 | ||
|
|
eee04cae3d | ||
|
|
58b91e7bdb | ||
|
|
a5fc21e539 | ||
|
|
12b88485f2 | ||
|
|
f062556435 | ||
|
|
28e257ed71 | ||
|
|
777829246b | ||
|
|
a0c4fb9063 | ||
|
|
0d70491296 | ||
|
|
1787b2810b | ||
|
|
d506655fff | ||
|
|
5301cdd961 | ||
|
|
3905b5274d | ||
|
|
41a038e1d1 | ||
|
|
a7b3783ddc | ||
|
|
a2ffd90d49 | ||
|
|
db09f8886c | ||
|
|
6e63bc125e | ||
|
|
b2c9845f51 | ||
|
|
16d43cc08d | ||
|
|
d0157c4cbf | ||
|
|
40f863faec | ||
|
|
1e7608b86e |
4
.gitignore
vendored
4
.gitignore
vendored
@@ -14,3 +14,7 @@
|
|||||||
/frr-8.4.tar.gz
|
/frr-8.4.tar.gz
|
||||||
/frr-8.4.1.tar.gz
|
/frr-8.4.1.tar.gz
|
||||||
/frr-8.4.2.tar.gz
|
/frr-8.4.2.tar.gz
|
||||||
|
/frr-8.5.tar.gz
|
||||||
|
/frr-8.5.1.tar.gz
|
||||||
|
/frr-8.5.2.tar.gz
|
||||||
|
/frr-8.5.3.tar.gz
|
||||||
|
|||||||
4
frr.fc
4
frr.fc
@@ -1,4 +1,4 @@
|
|||||||
/usr/libexec/frr(/.*)? gen_context(system_u:object_r:frr_exec_t,s0)
|
/usr/libexec/frr/(.*)? gen_context(system_u:object_r:frr_exec_t,s0)
|
||||||
|
|
||||||
/usr/lib/systemd/system/frr.* gen_context(system_u:object_r:frr_unit_file_t,s0)
|
/usr/lib/systemd/system/frr.* gen_context(system_u:object_r:frr_unit_file_t,s0)
|
||||||
|
|
||||||
@@ -21,6 +21,8 @@
|
|||||||
/var/lock/subsys/ripngd -- gen_context(system_u:object_r:frr_lock_t,s0)
|
/var/lock/subsys/ripngd -- gen_context(system_u:object_r:frr_lock_t,s0)
|
||||||
/var/lock/subsys/staticd -- gen_context(system_u:object_r:frr_lock_t,s0)
|
/var/lock/subsys/staticd -- gen_context(system_u:object_r:frr_lock_t,s0)
|
||||||
/var/lock/subsys/zebra -- gen_context(system_u:object_r:frr_lock_t,s0)
|
/var/lock/subsys/zebra -- gen_context(system_u:object_r:frr_lock_t,s0)
|
||||||
|
/var/lock/subsys/vrrpd -- gen_context(system_u:object_r:frr_lock_t,s0)
|
||||||
|
/var/lock/subsys/pathd -- gen_context(system_u:object_r:frr_lock_t,s0)
|
||||||
|
|
||||||
/var/run/frr(/.*)? gen_context(system_u:object_r:frr_var_run_t,s0)
|
/var/run/frr(/.*)? gen_context(system_u:object_r:frr_var_run_t,s0)
|
||||||
|
|
||||||
|
|||||||
53
frr.if
53
frr.if
@@ -160,3 +160,56 @@ interface(`frr_admin',`
|
|||||||
systemd_read_fifo_file_passwd_run($1)
|
systemd_read_fifo_file_passwd_run($1)
|
||||||
')
|
')
|
||||||
')
|
')
|
||||||
|
|
||||||
|
########################################
|
||||||
|
#
|
||||||
|
# Interface compatibility blocks
|
||||||
|
#
|
||||||
|
# The following definitions ensure compatibility with distribution policy
|
||||||
|
# versions that do not contain given interfaces (epel, or older Fedora
|
||||||
|
# releases).
|
||||||
|
# Each block tests for existence of given interface and defines it if needed.
|
||||||
|
#
|
||||||
|
|
||||||
|
######################################
|
||||||
|
## <summary>
|
||||||
|
## Watch ifconfig_var_run_t directories
|
||||||
|
## </summary>
|
||||||
|
## <param name="domain">
|
||||||
|
## <summary>
|
||||||
|
## Domain allowed access.
|
||||||
|
## </summary>
|
||||||
|
## </param>
|
||||||
|
#
|
||||||
|
ifndef(`sysnet_watch_ifconfig_run',`
|
||||||
|
interface(`sysnet_watch_ifconfig_run',`
|
||||||
|
gen_require(`
|
||||||
|
type ifconfig_var_run_t;
|
||||||
|
')
|
||||||
|
|
||||||
|
watch_dirs_pattern($1, ifconfig_var_run_t, ifconfig_var_run_t)
|
||||||
|
')
|
||||||
|
')
|
||||||
|
|
||||||
|
########################################
|
||||||
|
## <summary>
|
||||||
|
## Read ifconfig_var_run_t files and link files
|
||||||
|
## </summary>
|
||||||
|
## <param name="domain">
|
||||||
|
## <summary>
|
||||||
|
## Domain allowed access.
|
||||||
|
## </summary>
|
||||||
|
## </param>
|
||||||
|
#
|
||||||
|
ifndef(`sysnet_read_ifconfig_run',`
|
||||||
|
interface(`sysnet_read_ifconfig_run',`
|
||||||
|
gen_require(`
|
||||||
|
type ifconfig_var_run_t;
|
||||||
|
')
|
||||||
|
|
||||||
|
list_dirs_pattern($1, ifconfig_var_run_t, ifconfig_var_run_t)
|
||||||
|
read_files_pattern($1, ifconfig_var_run_t, ifconfig_var_run_t)
|
||||||
|
read_lnk_files_pattern($1, ifconfig_var_run_t, ifconfig_var_run_t)
|
||||||
|
')
|
||||||
|
')
|
||||||
|
|
||||||
|
|||||||
74
frr.spec
74
frr.spec
@@ -5,13 +5,15 @@
|
|||||||
%global _hardened_build 1
|
%global _hardened_build 1
|
||||||
%global selinuxtype targeted
|
%global selinuxtype targeted
|
||||||
%define _legacy_common_support 1
|
%define _legacy_common_support 1
|
||||||
%bcond_without selinux
|
|
||||||
|
%bcond grpc %{undefined rhel}
|
||||||
|
%bcond selinux 1
|
||||||
|
|
||||||
Name: frr
|
Name: frr
|
||||||
Version: 8.4.2
|
Version: 8.5.3
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Routing daemon
|
Summary: Routing daemon
|
||||||
License: GPLv2+
|
License: GPL-2.0-or-later AND ISC AND LGPL-2.0-or-later AND BSD-2-Clause AND BSD-3-Clause AND (GPL-2.0-or-later OR ISC) AND MIT
|
||||||
URL: http://www.frrouting.org
|
URL: http://www.frrouting.org
|
||||||
Source0: https://github.com/FRRouting/frr/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/FRRouting/frr/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||||
Source1: %{name}-tmpfiles.conf
|
Source1: %{name}-tmpfiles.conf
|
||||||
@@ -36,8 +38,10 @@ BuildRequires: gcc
|
|||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
BuildRequires: groff
|
BuildRequires: groff
|
||||||
|
%if %{with grpc}
|
||||||
BuildRequires: grpc-devel
|
BuildRequires: grpc-devel
|
||||||
BuildRequires: grpc-plugins
|
BuildRequires: grpc-plugins
|
||||||
|
%endif
|
||||||
BuildRequires: json-c-devel
|
BuildRequires: json-c-devel
|
||||||
BuildRequires: libcap-devel
|
BuildRequires: libcap-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
@@ -78,7 +82,8 @@ FRRouting is free software that manages TCP/IP based routing protocols. It takes
|
|||||||
a multi-server and multi-threaded approach to resolve the current complexity
|
a multi-server and multi-threaded approach to resolve the current complexity
|
||||||
of the Internet.
|
of the Internet.
|
||||||
|
|
||||||
FRRouting supports BGP4, OSPFv2, OSPFv3, ISIS, RIP, RIPng, PIM, NHRP, PBR, EIGRP and BFD.
|
FRRouting supports BGP4, OSPFv2, OSPFv3, ISIS, RIP, RIPng, PIM, NHRP, PBR,
|
||||||
|
EIGRP and BFD.
|
||||||
|
|
||||||
FRRouting is a fork of Quagga.
|
FRRouting is a fork of Quagga.
|
||||||
|
|
||||||
@@ -101,6 +106,8 @@ SELinux policy modules for FRR package
|
|||||||
#Selinux
|
#Selinux
|
||||||
mkdir selinux
|
mkdir selinux
|
||||||
cp -p %{SOURCE3} %{SOURCE4} %{SOURCE5} selinux
|
cp -p %{SOURCE3} %{SOURCE4} %{SOURCE5} selinux
|
||||||
|
# C++14 or later needed for abseil-cpp 20230125; string_view needs C++17:
|
||||||
|
sed -r -i 's/(AX_CXX_COMPILE_STDCXX\(\[)11(\])/\117\2/' configure.ac
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -ivf
|
autoreconf -ivf
|
||||||
@@ -129,7 +136,7 @@ autoreconf -ivf
|
|||||||
--with-crypto=openssl \
|
--with-crypto=openssl \
|
||||||
--with-vici-socket=/run/strongswan/charon.vici \
|
--with-vici-socket=/run/strongswan/charon.vici \
|
||||||
--enable-fpm \
|
--enable-fpm \
|
||||||
--enable-grpc
|
%{?with_grpc:--enable-grpc}
|
||||||
|
|
||||||
%make_build MAKEINFO="makeinfo --no-split" PYTHON=%{__python3}
|
%make_build MAKEINFO="makeinfo --no-split" PYTHON=%{__python3}
|
||||||
|
|
||||||
@@ -270,6 +277,49 @@ rm tests/lib/*grpc*
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 10 2023 Michal Ruprich <mruprich@redhat.com> - 8.5.3-1
|
||||||
|
- New version 8.5.3
|
||||||
|
|
||||||
|
* Fri Sep 01 2023 Michal Ruprich <mruprich@redhat.com> - 8.5.2-4
|
||||||
|
- Adding a couple of SELinux rules, includes fix for rhbz#2149299
|
||||||
|
|
||||||
|
* Wed Aug 30 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 8.5.2-3
|
||||||
|
- Rebuilt for abseil-cpp 20230802.0
|
||||||
|
|
||||||
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 8.5.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 30 2023 Michal Ruprich <mruprich@redhat.com> - 8.5.2-1
|
||||||
|
- New version 8.5.2
|
||||||
|
- Fixing some rpmlint warnings
|
||||||
|
|
||||||
|
* Mon Jun 26 2023 Michal Ruprich <mruprich@redhat.com> - 8.5.1-4
|
||||||
|
- Resolves: #2216073 - SELinux is preventing FRR-Zebra to access to network namespaces.
|
||||||
|
|
||||||
|
* Mon Jun 05 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 8.5.1-3
|
||||||
|
- Disable grpc in RHEL builds
|
||||||
|
|
||||||
|
* Fri May 19 2023 Petr Pisar <ppisar@redhat.com> - 8.5.1-2
|
||||||
|
- Rebuild against rpm-4.19 (https://fedoraproject.org/wiki/Changes/RPM-4.19)
|
||||||
|
|
||||||
|
* Wed Apr 26 2023 Michal Ruprich <mruprich@redhat.com> - 8.5.1-1
|
||||||
|
- New version 8.5.1
|
||||||
|
|
||||||
|
* Wed Apr 12 2023 Michal Ruprich <mruprich@redhat.com> - 8.5-1
|
||||||
|
- New version 8.5
|
||||||
|
|
||||||
|
* Thu Mar 23 2023 Michal Ruprich <mruprich@redhat.com> - 8.4.2-5
|
||||||
|
- Rebuilding for new abseil-cpp version
|
||||||
|
|
||||||
|
* Wed Mar 22 2023 Michal Ruprich <mruprich@redhat.com> - 8.4.2-4
|
||||||
|
- SPDX migration
|
||||||
|
|
||||||
|
* Wed Mar 08 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 8.4.2-3
|
||||||
|
- Build as C++17, required by abseil-cpp 20230125
|
||||||
|
|
||||||
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 8.4.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
* Thu Jan 12 2023 Michal Ruprich <mruprich@redhat.com> - 8.4.2-1
|
* Thu Jan 12 2023 Michal Ruprich <mruprich@redhat.com> - 8.4.2-1
|
||||||
- New version 8.4.2
|
- New version 8.4.2
|
||||||
|
|
||||||
@@ -280,15 +330,12 @@ rm tests/lib/*grpc*
|
|||||||
* Thu Nov 10 2022 Michal Ruprich <mruprich@redhat.com> - 8.4-1
|
* Thu Nov 10 2022 Michal Ruprich <mruprich@redhat.com> - 8.4-1
|
||||||
- New version 8.4
|
- New version 8.4
|
||||||
|
|
||||||
* Thu Sep 22 2022 Michal Ruprich <mruprich@redhat.com> - 8.3.1-6
|
|
||||||
- Rebuilding because of weird abseil-cpp version mismatch in the compose (rhbz #2128691)
|
|
||||||
|
|
||||||
* Fri Sep 16 2022 Michal Ruprich <mruprich@redhat.com> - 8.3.1-5
|
* Fri Sep 16 2022 Michal Ruprich <mruprich@redhat.com> - 8.3.1-5
|
||||||
- Adding SELinux rule to enable zebra to write to sysctl_net_t
|
- Adding SELinux rule to enable zebra to write to sysctl_net_t
|
||||||
- Adding SELinux rule to enable bgpd to call name_connect to bgp_port_t
|
- Adding SELinux rule to enable bgpd to call name_connect to bgp_port_t
|
||||||
|
|
||||||
* Fri Sep 09 2022 Michal Ruprich <mruprich@redhat.com> - 8.3.1-4
|
* Fri Sep 09 2022 Michal Ruprich <mruprich@redhat.com> - 8.3.1-4
|
||||||
- Adding a couple of rules to tackle AVCs
|
- Fixing an error in post scriptlet
|
||||||
|
|
||||||
* Fri Sep 09 2022 Michal Ruprich <mruprich@redhat.com> - 8.3.1-3
|
* Fri Sep 09 2022 Michal Ruprich <mruprich@redhat.com> - 8.3.1-3
|
||||||
- Resolves: #2124254 - frr can no longer update routes
|
- Resolves: #2124254 - frr can no longer update routes
|
||||||
@@ -300,6 +347,15 @@ rm tests/lib/*grpc*
|
|||||||
* Tue Sep 06 2022 Michal Ruprich <mruprich@redhat.com> - 8.3.1-1
|
* Tue Sep 06 2022 Michal Ruprich <mruprich@redhat.com> - 8.3.1-1
|
||||||
- New version 8.3.1
|
- New version 8.3.1
|
||||||
|
|
||||||
|
* Mon Aug 22 2022 Michal Ruprich <mruprich@redhat.com> - 8.2.2-10
|
||||||
|
- Rebuilding for new abseil-cpp and grpc updates
|
||||||
|
|
||||||
|
* Wed Aug 10 2022 Michal Ruprich <mruprich@redhat.com> - 8.2.2-9
|
||||||
|
- Adding vrrpd and pathd as daemons to the policy
|
||||||
|
|
||||||
|
* Wed Aug 10 2022 Michal Ruprich <mruprich@redhat.com> - 8.2.2-8
|
||||||
|
- Finalizing SELinux policy
|
||||||
|
|
||||||
* Tue Aug 02 2022 Michal Ruprich <mruprich@redhat.com> - 8.2.2-7
|
* Tue Aug 02 2022 Michal Ruprich <mruprich@redhat.com> - 8.2.2-7
|
||||||
- Fixing wrong path for vtysh in frr.fc
|
- Fixing wrong path for vtysh in frr.fc
|
||||||
|
|
||||||
|
|||||||
11
frr.te
11
frr.te
@@ -31,9 +31,9 @@ files_pid_file(frr_var_run_t)
|
|||||||
#
|
#
|
||||||
# frr local policy
|
# frr local policy
|
||||||
#
|
#
|
||||||
allow frr_t self:capability { chown dac_override dac_read_search kill net_bind_service net_raw setgid setuid net_admin };
|
allow frr_t self:capability { chown dac_override dac_read_search kill net_bind_service net_raw setgid setuid net_admin sys_admin };
|
||||||
allow frr_t self:netlink_route_socket rw_netlink_socket_perms;
|
allow frr_t self:netlink_route_socket rw_netlink_socket_perms;
|
||||||
allow frr_t self:packet_socket { create setopt };
|
allow frr_t self:packet_socket create_socket_perms;
|
||||||
allow frr_t self:process { setcap setpgid };
|
allow frr_t self:process { setcap setpgid };
|
||||||
allow frr_t self:rawip_socket create_socket_perms;
|
allow frr_t self:rawip_socket create_socket_perms;
|
||||||
allow frr_t self:tcp_socket { connect connected_stream_socket_perms };
|
allow frr_t self:tcp_socket { connect connected_stream_socket_perms };
|
||||||
@@ -70,6 +70,7 @@ can_exec(frr_t, frr_exec_t)
|
|||||||
kernel_read_network_state(frr_t)
|
kernel_read_network_state(frr_t)
|
||||||
kernel_rw_net_sysctls(frr_t)
|
kernel_rw_net_sysctls(frr_t)
|
||||||
kernel_read_system_state(frr_t)
|
kernel_read_system_state(frr_t)
|
||||||
|
kernel_request_load_module(frr_t)
|
||||||
|
|
||||||
auth_use_nsswitch(frr_t)
|
auth_use_nsswitch(frr_t)
|
||||||
|
|
||||||
@@ -83,8 +84,8 @@ corenet_tcp_bind_bgp_port(frr_t)
|
|||||||
corenet_tcp_connect_bgp_port(frr_t)
|
corenet_tcp_connect_bgp_port(frr_t)
|
||||||
corenet_tcp_bind_cmadmin_port(frr_t)
|
corenet_tcp_bind_cmadmin_port(frr_t)
|
||||||
corenet_udp_bind_cmadmin_port(frr_t)
|
corenet_udp_bind_cmadmin_port(frr_t)
|
||||||
corenet_tcp_bind_generic_port(frr_t)
|
|
||||||
corenet_tcp_bind_firepower_port(frr_t)
|
corenet_tcp_bind_firepower_port(frr_t)
|
||||||
|
corenet_tcp_bind_generic_port(frr_t)
|
||||||
corenet_tcp_bind_priority_e_com_port(frr_t)
|
corenet_tcp_bind_priority_e_com_port(frr_t)
|
||||||
corenet_udp_bind_router_port(frr_t)
|
corenet_udp_bind_router_port(frr_t)
|
||||||
corenet_tcp_bind_qpasa_agent_port(frr_t)
|
corenet_tcp_bind_qpasa_agent_port(frr_t)
|
||||||
@@ -97,6 +98,10 @@ domain_use_interactive_fds(frr_t)
|
|||||||
fs_read_nsfs_files(frr_t)
|
fs_read_nsfs_files(frr_t)
|
||||||
|
|
||||||
sysnet_exec_ifconfig(frr_t)
|
sysnet_exec_ifconfig(frr_t)
|
||||||
|
sysnet_read_ifconfig_run(frr_t)
|
||||||
|
sysnet_watch_ifconfig_run(frr_t)
|
||||||
|
|
||||||
|
ipsec_domtrans_mgmt(frr_t)
|
||||||
|
|
||||||
userdom_read_admin_home_files(frr_t)
|
userdom_read_admin_home_files(frr_t)
|
||||||
|
|
||||||
|
|||||||
2
sources
2
sources
@@ -1,2 +1,2 @@
|
|||||||
SHA512 (frr-8.4.2.tar.gz) = 1079bf3f597cc21ccbc37c5617cfb95f6e066de2a726a9b8ffb5825f92af3049d0e19ef4e9944a9e11dabc4309c56f0ab22e4c9188f5008ebcea47e0428f3ff0
|
SHA512 (frr-8.5.3.tar.gz) = 8d965670c03b4a40d880b72788b4940b8ac25953f0157419d9548672957554cfbd631707a9d6bf75cd33540c1b5af03687b2fe5f9c1df5736a52fc6524be9560
|
||||||
SHA512 (remove-babeld-ldpd.sh) = a5bf67a3722cb20d43cef1dac28f839db68df73a1b7d34d8438e4f9366da3b67d85c1f44281f93434e8dd8ebcb2d3dc258b77eaa5627475b7395d207f020839d
|
SHA512 (remove-babeld-ldpd.sh) = a5bf67a3722cb20d43cef1dac28f839db68df73a1b7d34d8438e4f9366da3b67d85c1f44281f93434e8dd8ebcb2d3dc258b77eaa5627475b7395d207f020839d
|
||||||
|
|||||||
Reference in New Issue
Block a user