]> git.proxmox.com Git - mirror_frr.git/blame - redhat/frr.spec.in
redhat: Drop --enable-systemd from build specification
[mirror_frr.git] / redhat / frr.spec.in
CommitLineData
edd7c245 1# configure options
b64d92a8 2#
f79f7a7b 3# Some can be overridden on rpmbuild commandline with:
b64d92a8 4# rpmbuild --define 'variable value'
f755bf6d 5# (use any value, ie 1 for flag "with_XXXX" definitions)
b64d92a8 6#
30da4585
PJ
7# E.g. rpmbuild --define 'release_rev 02' may be useful if building
8# rpms again and again on the same day, so the newer rpms can be installed.
9# bumping the number each time.
b64d92a8 10
b387c334 11#################### FRRouting (FRR) configure options #####################
1189075b 12# with-feature options
e763afa5 13%{!?with_babeld: %global with_babeld 1 }
7134904b 14%{!?with_bfdd: %global with_bfdd 1 }
5a76db68 15%{!?with_bgp_vnc: %global with_bgp_vnc 0 }
0e3daa4d 16%{!?with_cumulus: %global with_cumulus 0 }
ff00e18d
RK
17%{!?with_eigrpd: %global with_eigrpd 1 }
18%{!?with_fpm: %global with_fpm 1 }
19%{!?with_ldpd: %global with_ldpd 1 }
20%{!?with_multipath: %global with_multipath 256 }
21%{!?with_nhrpd: %global with_nhrpd 1 }
22%{!?with_ospfapi: %global with_ospfapi 1 }
23%{!?with_ospfclient: %global with_ospfclient 1 }
24%{!?with_pam: %global with_pam 0 }
25%{!?with_pbrd: %global with_pbrd 1 }
5a76db68 26%{!?with_pimd: %global with_pimd 1 }
9289b933 27%{!?with_pim6d: %global with_pim6d 0 }
97b5f22b 28%{!?with_vrrpd: %global with_vrrpd 1 }
ff00e18d
RK
29%{!?with_rtadv: %global with_rtadv 1 }
30%{!?with_watchfrr: %global with_watchfrr 1 }
4d7b695d 31%{!?with_pathd: %global with_pathd 1 }
ff00e18d
RK
32
33# user and group
34%{!?frr_user: %global frr_user frr }
35%{!?vty_group: %global vty_group frrvty }
30b9d89b 36
37# path defines
ff00e18d
RK
38%define configdir %{_sysconfdir}/%{name}
39%define _sbindir /usr/lib/frr
40%define zeb_src %{_builddir}/%{name}-%{frrversion}
41%define zeb_rh_src %{zeb_src}/redhat
42%define zeb_docs %{zeb_src}/doc
43%define frr_tools %{zeb_src}/tools
788cdc6d 44
e0626854 45# defines for configure
0bb68611 46%define rundir %{_localstatedir}/run/%{name}
ccd40dee 47
1189075b 48############################################################################
49
f755bf6d
MW
50#### Version String tweak
51# Remove invalid characters form version string and replace with _
d4fbc1de 52%{expand: %%global rpmversion %(echo '@VERSION@' | tr [:blank:]- _ )}
c115e4a4 53%define frrversion @VERSION@
1189075b 54
f755bf6d
MW
55#### Check for systemd or init.d (upstart)
56# Check for init.d (upstart) as used in CentOS 6 or systemd (ie CentOS 7)
a999f98c 57%if 0%{?fedora} || 0%{?rhel} >= 7 || 0%{?suse_version} >= 1210
a1cfe675
TR
58 %global initsystem systemd
59%else
a999f98c 60%if 0%{?rhel} && 0%{?rhel} < 7
a1cfe675
TR
61 %global initsystem upstart
62%else
63 %{expand: %%global initsystem %(if [[ `/sbin/init --version 2> /dev/null` =~ upstart ]]; then echo upstart; elif [[ `readlink -f /sbin/init` = /usr/lib/systemd/systemd ]]; then echo systemd; elif [[ `systemctl` =~ -\.mount ]]; then echo systemd; fi)}
64%endif
65%endif
54c059f1 66
83d4df8e
MW
67# Check for python version - use python2.7 on CentOS 6, otherwise python3
68%if 0%{?rhel} && 0%{?rhel} < 7
69 %global use_python2 1
70%else
71 %global use_python2 0
72%endif
73
54c059f1 74# If init system is systemd, then always enable watchfrr
f755bf6d 75%if "%{initsystem}" == "systemd"
9a581ae4 76 %global with_watchfrr 1
f755bf6d 77%endif
7c08d77f 78
150e7c7e 79#### Check for RedHat 6.x or CentOS 6.x - they are too old to support PIM.
41b86ba4 80#### Always disable it on these old systems unconditionally
41b86ba4 81#
9e631cc4
MW
82# if CentOS / RedHat and version < 7, then disable PIMd (too old, won't work)
83%if 0%{?rhel} && 0%{?rhel} < 7
41b86ba4 84 %global with_pimd 0
9289b933 85 %global with_pim6d 0
41b86ba4
MW
86%endif
87
15d74e93 88# misc internal defines
9a581ae4
MW
89%{!?frr_uid: %global frr_uid 92 }
90%{!?frr_gid: %global frr_gid 92 }
91%{!?vty_gid: %global vty_gid 85 }
f755bf6d 92
4d7b695d 93%define daemon_list zebra ripd ospfd bgpd isisd ripngd ospf6d pbrd staticd bfdd fabricd pathd
0df63b52 94
b021388f 95%if %{with_ldpd}
5f371d0b 96 %define daemon_ldpd ldpd
b021388f 97%else
5f371d0b 98 %define daemon_ldpd ""
b021388f
RW
99%endif
100
41b86ba4 101%if %{with_pimd}
5f371d0b 102 %define daemon_pimd pimd
41b86ba4 103%else
5f371d0b 104 %define daemon_pimd ""
b021388f
RW
105%endif
106
9289b933
MR
107%if %{with_pim6d}
108 %define daemon_pim6d pim6d
109%else
110 %define daemon_pim6d ""
111%endif
112
1abe1280 113%if %{with_pbrd}
5f371d0b 114 %define daemon_pbrd pbrd
1abe1280 115%else
5f371d0b 116 %define daemon_pbrd ""
1abe1280
DS
117%endif
118
729f041c 119%if %{with_nhrpd}
5f371d0b 120 %define daemon_nhrpd nhrpd
729f041c 121%else
5f371d0b 122 %define daemon_nhrpd ""
729f041c
TT
123%endif
124
5a76db68 125%if %{with_eigrpd}
5f371d0b 126 %define daemon_eigrpd eigrpd
5a76db68 127%else
5f371d0b 128 %define daemon_eigrpd ""
5a76db68
MW
129%endif
130
e763afa5 131%if %{with_babeld}
5f371d0b 132 %define daemon_babeld babeld
e763afa5 133%else
5f371d0b 134 %define daemon_babeld ""
e763afa5
DL
135%endif
136
97b5f22b
QY
137%if %{with_vrrpd}
138 %define daemon_vrrpd vrrpd
139%else
140 %define daemon_vrrpd ""
141%endif
142
9473e340 143%if %{with_watchfrr}
5f371d0b 144 %define daemon_watchfrr watchfrr
f755bf6d 145%else
5f371d0b 146 %define daemon_watchfrr ""
f755bf6d
MW
147%endif
148
7134904b
RZ
149%if %{with_bfdd}
150 %define daemon_bfdd bfdd
151%else
152 %define daemon_bfdd ""
153%endif
154
4d7b695d
SM
155%if %{with_pathd}
156 %define daemon_pathd pathd
157%else
158 %define daemon_pathd ""
159%endif
160
9289b933 161%define all_daemons %{daemon_list} %{daemon_ldpd} %{daemon_pimd} %{daemon_pim6d} %{daemon_nhrpd} %{daemon_eigrpd} %{daemon_babeld} %{daemon_watchfrr} %{daemon_pbrd} %{daemon_bfdd} %{daemon_vrrpd} %{daemon_pathd}
b3324e27 162
4859e20c 163#release sub-revision (the two digits after the CONFDATE)
9a581ae4 164%{!?release_rev: %global release_rev 01 }
4859e20c 165
788cdc6d 166Summary: Routing daemon
9a581ae4
MW
167Name: frr
168Version: %{rpmversion}
7ba01507 169Release: %{release_rev}%{?dist}
9a581ae4
MW
170License: GPLv2+
171Group: System Environment/Daemons
c410a861 172Source0: https://github.com/FRRouting/frr/archive/%{name}-%{frrversion}.tar.gz
e1ff8246 173URL: https://www.frrouting.org
1a629db7 174Requires(pre): shadow-utils
501c1362
RK
175Requires(preun): info
176Requires(post): info
5ebf9672
RK
177BuildRequires: bison >= 2.7
178BuildRequires: c-ares-devel
179BuildRequires: flex
180BuildRequires: gcc
181BuildRequires: json-c-devel
182BuildRequires: libcap-devel
183BuildRequires: make
184BuildRequires: ncurses-devel
185BuildRequires: readline-devel
186BuildRequires: texinfo
3bb513c3 187BuildRequires: libyang2-devel
01aff72e
MW
188%if 0%{?rhel} && 0%{?rhel} < 7
189#python27-devel is available from ius community repo for RedHat/CentOS 6
5ebf9672
RK
190BuildRequires: python27-devel
191BuildRequires: python27-sphinx
01aff72e 192%else
83d4df8e 193%if %{use_python2}
5ebf9672
RK
194BuildRequires: python-devel >= 2.7
195BuildRequires: python-sphinx
83d4df8e
MW
196%else
197BuildRequires: python3-devel
198BuildRequires: python3-sphinx
01aff72e 199%endif
3f5c15f6 200%endif
83d4df8e
MW
201%if 0%{?rhel} > 7
202#platform-python-devel is needed for /usr/bin/pathfix.py
203BuildRequires: platform-python-devel
204%endif
b4e993b2 205Requires: initscripts
f755bf6d 206%if %{with_pam}
9a581ae4 207BuildRequires: pam-devel
f755bf6d
MW
208%endif
209%if "%{initsystem}" == "systemd"
c5b26b20
JAG
210BuildRequires: systemd
211BuildRequires: systemd-devel
9a581ae4
MW
212Requires(post): systemd
213Requires(preun): systemd
214Requires(postun): systemd
f755bf6d 215%else
95624f7b
RK
216Requires(post): chkconfig
217Requires(preun): chkconfig
788cdc6d 218# Initscripts > 5.60 is required for IPv6 support
9a581ae4 219Requires(pre): initscripts >= 5.60
f755bf6d 220%endif
9a581ae4 221Provides: routingdaemon = %{version}-%{release}
5d82c57b
BR
222Obsoletes: gated mrt zebra frr-sysvinit
223Conflicts: bird
788cdc6d 224
95c16f4c 225
788cdc6d 226%description
447a8fe9 227FRRouting is a free software that manages TCP/IP based routing
788cdc6d 228protocol. It takes multi-server and multi-thread approach to resolve
229the current complexity of the Internet.
230
3e7c8d04 231FRRouting supports BGP4, OSPFv2, OSPFv3, ISIS, RIP, RIPng, PIM, LDP
7134904b 232NHRP, Babel, PBR, EIGRP and BFD.
788cdc6d 233
447a8fe9 234FRRouting is a fork of Quagga.
788cdc6d 235
95c16f4c 236
448ed4a2 237%package contrib
c115e4a4 238Summary: contrib tools for frr
448ed4a2 239Group: System Environment/Daemons
240
241%description contrib
c115e4a4 242Contributed/3rd party tools which may be of use with frr.
448ed4a2 243
95c16f4c 244
386fcd12
MW
245%package pythontools
246Summary: python tools for frr
83d4df8e
MW
247%if 0%{?rhel} && 0%{?rhel} < 7
248#python27 is available from ius community repo for RedHat/CentOS 6
249BuildRequires: python27
250Requires: python27-ipaddress
251%else
252%if %{use_python2}
253BuildRequires: python2
254Requires: python2-ipaddress
3f5c15f6 255%else
83d4df8e
MW
256BuildRequires: python3
257%endif
3f5c15f6 258%endif
386fcd12
MW
259Group: System Environment/Daemons
260
261%description pythontools
262Contributed python 2.7 tools which may be of use with frr.
263
95c16f4c 264
e0626854 265%package devel
c115e4a4 266Summary: Header and object files for frr development
e0626854 267Group: System Environment/Daemons
f755bf6d 268Requires: %{name} = %{version}-%{release}
e0626854 269
270%description devel
485ac9a7 271The frr-devel package contains the header and object files necessary for
c115e4a4 272developing OSPF-API and frr applications.
e0626854 273
95c16f4c 274
a0187fdc
MW
275%package rpki-rtrlib
276Summary: BGP RPKI support (rtrlib)
277Group: System Environment/Daemons
0ad71348 278BuildRequires: librtr-devel >= 0.8
a0187fdc
MW
279Requires: %{name} = %{version}-%{release}
280
281%description rpki-rtrlib
282Adds RPKI support to FRR's bgpd, allowing validation of BGP routes
283against cryptographic information stored in WHOIS databases. This is
284used to prevent hijacking of networks on the wider internet. It is only
285relevant to internet service providers using their own autonomous system
286number.
287
288
d0df840a
MW
289%package snmp
290Summary: SNMP support
291Group: System Environment/Daemons
292BuildRequires: net-snmp-devel
293Requires: %{name} = %{version}-%{release}
294
295%description snmp
296Adds SNMP support to FRR's daemons by attaching to net-snmp's snmpd
297through the AgentX protocol. Provides read-only access to current
298routing state through standard SNMP MIBs.
299
300
788cdc6d 301%prep
5f371d0b 302%setup -q -n frr-%{frrversion}
788cdc6d 303
95c16f4c 304
788cdc6d 305%build
7966b97c 306
307# For standard gcc verbosity, uncomment these lines:
308#CFLAGS="%{optflags} -Wall -Wsign-compare -Wpointer-arith"
309#CFLAGS="${CFLAGS} -Wbad-function-cast -Wwrite-strings"
310
311# For ultra gcc verbosity, uncomment these lines also:
312#CFLAGS="${CFLAGS} -W -Wcast-qual -Wstrict-prototypes"
313#CFLAGS="${CFLAGS} -Wmissing-declarations -Wmissing-noreturn"
314#CFLAGS="${CFLAGS} -Wmissing-format-attribute -Wunreachable-code"
315#CFLAGS="${CFLAGS} -Wpacked -Wpadded"
316
788cdc6d 317%configure \
c63f5f2c 318 --sbindir=%{_sbindir} \
931e1d68 319 --sysconfdir=%{configdir} \
0bb68611 320 --localstatedir=%{rundir} \
5c3ad1d4 321 --disable-static \
9a581ae4 322 --disable-werror \
0ed9196b 323 --enable-irdp \
54b25dca 324%if %{with_multipath}
9a581ae4 325 --enable-multipath=%{with_multipath} \
788cdc6d 326%endif
9a581ae4 327 --enable-vtysh \
54b25dca 328%if %{with_ospfclient}
19ced9a4 329 --enable-ospfclient \
68980084 330%else
19ced9a4 331 --disable-ospfclient\
68980084 332%endif
54b25dca 333%if %{with_ospfapi}
c9cad876 334 --enable-ospfapi \
68980084 335%else
0cff191d 336 --disable-ospfapi \
68980084 337%endif
e7cd37bf 338%if %{with_rtadv}
c9cad876 339 --enable-rtadv \
e7cd37bf 340%else
0cff191d 341 --disable-rtadv \
e7cd37bf 342%endif
b021388f 343%if %{with_ldpd}
9a581ae4 344 --enable-ldpd \
b021388f 345%else
9a581ae4 346 --disable-ldpd \
b021388f 347%endif
41b86ba4
MW
348%if %{with_pimd}
349 --enable-pimd \
b021388f 350%else
41b86ba4 351 --disable-pimd \
b021388f 352%endif
9289b933
MR
353%if %{with_pim6d}
354 --enable-pim6d \
355%else
356 --disable-pim6d \
357%endif
1abe1280
DS
358%if %{with_pbrd}
359 --enable-pbrd \
360%else
361 --disable-pbrd \
362%endif
729f041c 363%if %{with_nhrpd}
fe99b015 364 --enable-nhrpd \
729f041c 365%else
fe99b015 366 --disable-nhrpd \
729f041c 367%endif
5a76db68 368%if %{with_eigrpd}
fe99b015 369 --enable-eigrpd \
5a76db68 370%else
fe99b015 371 --disable-eigrpd \
5a76db68 372%endif
e763afa5 373%if %{with_babeld}
fe99b015 374 --enable-babeld \
e763afa5 375%else
fe99b015 376 --disable-babeld \
e763afa5 377%endif
97b5f22b
QY
378%if %{with_vrrpd}
379 --enable-vrrpd \
380%else
381 --disable-vrrpd \
382%endif
54b25dca 383%if %{with_pam}
9a581ae4 384 --with-libpam \
788cdc6d 385%endif
c115e4a4 386%if 0%{?frr_user:1}
1dc5a0dc
RK
387 --enable-user=%{frr_user} \
388 --enable-group=%{frr_user} \
edd7c245 389%endif
f755bf6d 390%if 0%{?vty_group:1}
1dc5a0dc 391 --enable-vty-group=%{vty_group} \
edd7c245 392%endif
f755bf6d 393%if %{with_fpm}
9a581ae4 394 --enable-fpm \
f755bf6d 395%else
9a581ae4 396 --disable-fpm \
f755bf6d 397%endif
9473e340 398%if %{with_watchfrr}
9a581ae4 399 --enable-watchfrr \
f755bf6d 400%else
9a581ae4 401 --disable-watchfrr \
65efcfce 402%endif
0e3daa4d
RK
403%if %{with_cumulus}
404 --enable-cumulus \
405%endif
65efcfce 406%if %{with_bgp_vnc}
9a581ae4 407 --enable-bgp-vnc \
65efcfce 408%else
9a581ae4 409 --disable-bgp-vnc \
f755bf6d 410%endif
c9cad876 411 --enable-isisd \
7134904b 412 --enable-rpki \
7134904b 413%if %{with_bfdd}
a214288c 414 --enable-bfdd \
9f892cc5 415%else
a214288c 416 --disable-bfdd \
4d7b695d
SM
417%endif
418%if %{with_pathd}
419 --enable-pathd \
420%else
421 --disable-pathd \
aaf38c94 422%endif
d0df840a 423 --enable-snmp
45da32d7 424 # end
788cdc6d 425
a214288c 426make %{?_smp_mflags} MAKEINFO="makeinfo --no-split"
788cdc6d 427
83d4df8e
MW
428%if %{use_python2}
429# Change frr-reload.py to use python2.7
430sed -e '1c #!/usr/bin/python2.7' -i %{zeb_src}/tools/frr-reload.py
431sed -e '1c #!/usr/bin/python2.7' -i %{zeb_src}/tools/generate_support_bundle.py
432%else
433# Change frr-reload.py to use python3
434sed -e '1c #!/usr/bin/python3' -i %{zeb_src}/tools/frr-reload.py
435sed -e '1c #!/usr/bin/python3' -i %{zeb_src}/tools/generate_support_bundle.py
436%endif
437
788cdc6d 438pushd doc
a214288c 439make info
788cdc6d 440popd
441
95c16f4c 442
788cdc6d 443%install
9b979646 444mkdir -p %{buildroot}%{_sysconfdir}/{frr,sysconfig,logrotate.d,pam.d,default} \
9bf7cb0b
DA
445 %{buildroot}%{_infodir}
446mkdir -m 0755 -p %{buildroot}%{_localstatedir}/log/frr
a214288c 447make DESTDIR=%{buildroot} INSTALL="install -p" CP="cp -p" install
788cdc6d 448
9a344b74 449# Remove this file, as it is uninstalled and causes errors when building on RH9
f755bf6d 450rm -rf %{buildroot}/usr/share/info/dir
9a344b74 451
2cdd3d94
MW
452# Remove debian init script if it was installed
453rm -f %{buildroot}%{_sbindir}/frr
c63f5f2c 454
5c3ad1d4
RK
455# kill bogus libtool files
456rm -vf %{buildroot}%{_libdir}/frr/modules/*.la
457rm -vf %{buildroot}%{_libdir}/*.la
7cad61cb 458rm -vf %{buildroot}%{_libdir}/frr/libyang_plugins/*.la
0ed9196b 459
f755bf6d
MW
460# install /etc sources
461%if "%{initsystem}" == "systemd"
462mkdir -p %{buildroot}%{_unitdir}
81b834a5 463install -m644 %{zeb_src}/tools/frr.service %{buildroot}%{_unitdir}/frr.service
f755bf6d 464%else
9b979646 465mkdir -p %{buildroot}%{_initddir}
81b834a5 466ln -s %{_sbindir}/frrinit.sh %{buildroot}%{_initddir}/frr
f755bf6d
MW
467%endif
468
81b834a5 469install %{zeb_src}/tools/etc/frr/daemons %{buildroot}%{_sysconfdir}/frr
328b7121 470install %{zeb_src}/tools/etc/frr/frr.conf %{buildroot}%{_sysconfdir}/frr/frr.conf.template
5f371d0b
RK
471install -m644 %{zeb_rh_src}/frr.pam %{buildroot}%{_sysconfdir}/pam.d/frr
472install -m644 %{zeb_rh_src}/frr.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/frr
473install -d -m750 %{buildroot}%{rundir}
edd7c245 474
83d4df8e 475%if 0%{?rhel} > 7 || 0%{?fedora} > 29
3f5c15f6 476# avoid `ERROR: ambiguous python shebang in` errors
83d4df8e
MW
477pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}/usr/lib/frr/*.py
478%py_byte_compile %{__python3} %{buildroot}/usr/lib/frr/*.py
9191ac86
CH
479%else
480# remove ospfclient.py (if present) as it requires > python36
481rm -f %{buildroot}%{_sbindir}/ospfclient.py
3f5c15f6 482%endif
95c16f4c 483
edd7c245 484%pre
485# add vty_group
f755bf6d 486%if 0%{?vty_group:1}
1a629db7 487 getent group %{vty_group} >/dev/null || groupadd -r -g %{vty_gid} %{vty_group}
edd7c245 488%endif
e7cd37bf 489
c115e4a4
MW
490# add frr user and group
491%if 0%{?frr_user:1}
1a629db7
RK
492 # Ensure that frr_gid gets correctly allocated
493 getent group %{frr_user} >/dev/null || groupadd -g %{frr_gid} %{frr_user}
494 getent passwd %{frr_user} >/dev/null || \
495 useradd -r -u %{frr_uid} -g %{frr_user} \
496 -s /sbin/nologin -c "FRRouting suite" \
497 -d %{rundir} %{frr_user}
498
499 %if 0%{?vty_group:1}
500 usermod -a -G %{vty_group} %{frr_user}
501 %endif
502%endif
503exit 0
f676b06e 504
788cdc6d 505
788cdc6d 506%post
30b9d89b 507# zebra_spec_add_service <service name> <port/proto> <comment>
788cdc6d 508# e.g. zebra_spec_add_service zebrasrv 2600/tcp "zebra service"
509
510zebra_spec_add_service ()
511{
150e7c7e 512 # Add port /etc/services entry if it isn't already there
9b979646 513 if [ -f %{_sysconfdir}/services ] && \
40bd7a62 514 ! %__sed -e 's/#.*$//' %{_sysconfdir}/services 2>/dev/null | %__grep -wq $1 ; then
9b979646 515 echo "$1 $2 # $3" >> %{_sysconfdir}/services
9a581ae4 516 fi
788cdc6d 517}
518
519zebra_spec_add_service zebrasrv 2600/tcp "zebra service"
520zebra_spec_add_service zebra 2601/tcp "zebra vty"
7ac1de8e 521zebra_spec_add_service staticd 2616/tcp "staticd vty"
788cdc6d 522zebra_spec_add_service ripd 2602/tcp "RIPd vty"
523zebra_spec_add_service ripngd 2603/tcp "RIPngd vty"
524zebra_spec_add_service ospfd 2604/tcp "OSPFd vty"
525zebra_spec_add_service bgpd 2605/tcp "BGPd vty"
526zebra_spec_add_service ospf6d 2606/tcp "OSPF6d vty"
5f371d0b 527zebra_spec_add_service isisd 2608/tcp "ISISd vty"
54b25dca 528%if %{with_ospfapi}
5f371d0b 529 zebra_spec_add_service ospfapi 2607/tcp "OSPF-API"
7021c425 530%endif
e763afa5 531%if %{with_babeld}
5f371d0b 532 zebra_spec_add_service babeld 2609/tcp "BABELd vty"
5a76db68 533%endif
729f041c 534%if %{with_nhrpd}
5f371d0b 535 zebra_spec_add_service nhrpd 2610/tcp "NHRPd vty"
729f041c 536%endif
41b86ba4 537%if %{with_pimd}
5f371d0b 538 zebra_spec_add_service pimd 2611/tcp "PIMd vty"
41b86ba4 539%endif
1abe1280 540%if %{with_pbrd}
5f371d0b 541 zebra_spec_add_service pbrd 2615/tcp "PBRd vty"
1abe1280 542%endif
b021388f 543%if %{with_ldpd}
5f371d0b 544 zebra_spec_add_service ldpd 2612/tcp "LDPd vty"
b021388f 545%endif
e763afa5 546%if %{with_eigrpd}
5f371d0b 547 zebra_spec_add_service eigrpd 2613/tcp "EIGRPd vty"
e763afa5 548%endif
7134904b
RZ
549%if %{with_bfdd}
550 zebra_spec_add_service bfdd 2617/tcp "BFDd vty"
551%endif
13d9aad8 552zebra_spec_add_service fabricd 2618/tcp "Fabricd vty"
97b5f22b
QY
553%if %{with_vrrpd}
554 zebra_spec_add_service vrrpd 2619/tcp "VRRPd vty"
555%endif
4d7b695d
SM
556%if %{with_pathd}
557 zebra_spec_add_service pathd 2620/tcp "Pathd vty"
558%endif
788cdc6d 559
f755bf6d 560%if "%{initsystem}" == "systemd"
5f371d0b
RK
561 for daemon in %all_daemons ; do
562 %systemd_post frr.service
563 done
f755bf6d 564%else
5f371d0b 565 /sbin/chkconfig --add frr
f755bf6d 566%endif
788cdc6d 567
75429e11
MW
568# Fix bad path in previous config files
569# Config files won't get replaced by default, so we do this ugly hack to fix it
81b834a5 570%__sed -i 's|watchfrr_options=|#watchfrr_options=|g' %{configdir}/daemons 2> /dev/null || true
75429e11 571
5b7077e8
DS
572# With systemd, watchfrr is mandatory. Fix config to make sure it's enabled if
573# we install or upgrade to a frr built with systemd
574%if "%{initsystem}" == "systemd"
931e1d68 575 %__sed -i 's|watchfrr_enable=no|watchfrr_enable=yes|g' %{configdir}/daemons 2> /dev/null || true
5b7077e8
DS
576%endif
577
c115e4a4 578/sbin/install-info %{_infodir}/frr.info.gz %{_infodir}/dir
788cdc6d 579
328b7121 580# Create dummy config file if they don't exist so basic functions can be used.
bc6ea7ae
KVH
581if [ ! -e %{configdir}/frr.conf ] && [ ! -e %{configdir}/zebra.conf ]; then
582 # No frr.conf and per daemon configs exist
328b7121 583 mv %{configdir}/frr.conf.template %{configdir}/frr.conf
c115e4a4 584%if 0%{?frr_user:1}
328b7121 585 chown %{frr_user}:%{frr_user} %{configdir}/frr.conf
e7cd37bf 586%endif
328b7121 587 chmod 640 %{configdir}/frr.conf
788cdc6d 588fi
2cdd3d94 589%if 0%{?frr_user:1}
1dc5a0dc 590 chown %{frr_user}:%{frr_user} %{configdir}/daemons
2cdd3d94
MW
591%endif
592
9473e340 593%if %{with_watchfrr}
9a581ae4 594 # No config for watchfrr - this is part of /etc/sysconfig/frr
931e1d68 595 rm -f %{configdir}/watchfrr.*
f755bf6d
MW
596%endif
597
931e1d68
RK
598if [ ! -e %{configdir}/vtysh.conf ]; then
599 touch %{configdir}/vtysh.conf
600 chmod 640 %{configdir}/vtysh.conf
2cdd3d94 601%if 0%{?frr_user:1}
5f371d0b
RK
602 %if 0%{?vty_group:1}
603 chown %{frr_user}:%{vty_group} %{configdir}/vtysh.conf*
604 %endif
f755bf6d 605%endif
788cdc6d 606fi
607
95c16f4c 608
788cdc6d 609%postun
fc43ecc7 610if [ "$1" -ge 1 ]; then
19ced9a4
MW
611 #
612 # Upgrade from older version
613 #
9a581ae4
MW
614 %if "%{initsystem}" == "systemd"
615 ##
616 ## Systemd Version
617 ##
c88ca85d 618 %systemd_postun_with_restart frr.service
9a581ae4
MW
619 %else
620 ##
621 ## init.d Version
622 ##
515a8ee8 623 service frr restart >/dev/null 2>&1
9a581ae4 624 %endif
e321aed1 625 :
788cdc6d 626fi
788cdc6d 627
95c16f4c 628
788cdc6d 629%preun
f755bf6d 630%if "%{initsystem}" == "systemd"
9a581ae4
MW
631 ##
632 ## Systemd Version
633 ##
c88ca85d
MW
634 if [ $1 -eq 0 ] ; then
635 %systemd_preun frr.service
9a581ae4 636 fi
f755bf6d 637%else
9a581ae4
MW
638 ##
639 ## init.d Version
640 ##
c88ca85d 641 if [ $1 -eq 0 ] ; then
515a8ee8 642 service frr stop >/dev/null 2>&1
c2953ac5 643 /sbin/chkconfig --del frr
9a581ae4 644 fi
f755bf6d 645%endif
c115e4a4 646/sbin/install-info --delete %{_infodir}/frr.info.gz %{_infodir}/dir
788cdc6d 647
95c16f4c 648
788cdc6d 649%files
b832909b 650%doc COPYING
30b9d89b 651%doc doc/mpls
f20aafee 652%doc README.md
7cad61cb 653/usr/share/yang/*.yang
c115e4a4 654%if 0%{?frr_user:1}
1dc5a0dc 655 %dir %attr(751,%{frr_user},%{frr_user}) %{configdir}
9bf7cb0b 656 %dir %attr(755,%{frr_user},%{frr_user}) %{_localstatedir}/log/frr
1dc5a0dc 657 %dir %attr(751,%{frr_user},%{frr_user}) %{rundir}
edd7c245 658%else
5f371d0b 659 %dir %attr(750,root,root) %{configdir}
9bf7cb0b 660 %dir %attr(755,root,root) %{_localstatedir}/log/frr
5f371d0b 661 %dir %attr(750,root,root) %{rundir}
edd7c245 662%endif
c115e4a4 663%{_infodir}/frr.info.gz
788cdc6d 664%{_mandir}/man*/*
54b25dca 665%{_sbindir}/zebra
7ac1de8e 666%{_sbindir}/staticd
54b25dca 667%{_sbindir}/ospfd
668%{_sbindir}/ripd
669%{_sbindir}/bgpd
2cdd3d94 670%exclude %{_sbindir}/ssd
9473e340 671%if %{with_watchfrr}
9a581ae4 672 %{_sbindir}/watchfrr
f755bf6d 673%endif
54b25dca 674%{_sbindir}/ripngd
675%{_sbindir}/ospf6d
41b86ba4
MW
676%if %{with_pimd}
677 %{_sbindir}/pimd
678%endif
9289b933
MR
679%if %{with_pim6d}
680 %{_sbindir}/pim6d
681%endif
1abe1280
DS
682%if %{with_pbrd}
683 %{_sbindir}/pbrd
684%endif
97b5f22b
QY
685%if %{with_vrrpd}
686 %{_sbindir}/vrrpd
687%endif
54b25dca 688%{_sbindir}/isisd
13d9aad8 689%{_sbindir}/fabricd
b021388f 690%if %{with_ldpd}
c2953ac5 691 %{_sbindir}/ldpd
b021388f 692%endif
5a76db68
MW
693%if %{with_eigrpd}
694 %{_sbindir}/eigrpd
695%endif
729f041c 696%if %{with_nhrpd}
5a76db68 697 %{_sbindir}/nhrpd
729f041c 698%endif
e763afa5
DL
699%if %{with_babeld}
700 %{_sbindir}/babeld
701%endif
7134904b
RZ
702%if %{with_bfdd}
703 %{_sbindir}/bfdd
704%endif
4d7b695d
SM
705%if %{with_pathd}
706 %{_sbindir}/pathd
74971473 707 %{_libdir}/frr/modules/pathd_pcep.so
4d7b695d 708%endif
d0df840a
MW
709%{_libdir}/libfrr.so*
710%{_libdir}/libfrrcares*
711%{_libdir}/libfrrospf*
84b05ca1 712%if %{with_fpm}
4aa7422e 713 %{_libdir}/frr/modules/zebra_fpm.so
84b05ca1 714%endif
d621815a 715%{_libdir}/frr/modules/zebra_cumulus_mlag.so
c871e6c9 716%{_libdir}/frr/modules/dplane_fpm_nl.so
4aa7422e 717%{_libdir}/frr/modules/zebra_irdp.so
ed18356f 718%{_libdir}/frr/modules/bgpd_bmp.so
788cdc6d 719%{_bindir}/*
9b979646 720%config(noreplace) %{configdir}/[!v]*.conf*
1dc5a0dc 721%config(noreplace) %attr(750,%{frr_user},%{frr_user}) %{configdir}/daemons
f755bf6d 722%if "%{initsystem}" == "systemd"
07a138ec 723 %{_unitdir}/frr.service
f755bf6d 724%else
9b979646 725 %{_initddir}/frr
f755bf6d 726%endif
9b979646
RK
727%config(noreplace) %{_sysconfdir}/pam.d/frr
728%config(noreplace) %{_sysconfdir}/logrotate.d/frr
32398f01 729%{_sbindir}/frr-reload
ea4d91bf
DL
730%{_sbindir}/frrcommon.sh
731%{_sbindir}/frrinit.sh
732%{_sbindir}/watchfrr.sh
788cdc6d 733
95c16f4c 734
448ed4a2 735%files contrib
448ed4a2 736%doc tools
737
386fcd12 738%files pythontools
11c83aa4 739%{_sbindir}/generate_support_bundle.py
83d4df8e 740%{_sbindir}/frr-reload.py
b9c3be8b 741%{_sbindir}/frr_babeltrace.py
9191ac86
CH
742%if %{with_ospfclient} && (0%{?rhel} > 7 || 0%{?fedora} > 29)
743%{_sbindir}/ospfclient.py
744%endif
83d4df8e
MW
745%if 0%{?rhel} > 7 || 0%{?fedora} > 29
746%{_sbindir}/__pycache__/*
747%else
11c83aa4
SMS
748%{_sbindir}/generate_support_bundle.pyc
749%{_sbindir}/generate_support_bundle.pyo
386fcd12
MW
750%{_sbindir}/frr-reload.pyc
751%{_sbindir}/frr-reload.pyo
b9c3be8b
AK
752%{_sbindir}/frr_babeltrace.pyc
753%{_sbindir}/frr_babeltrace.pyo
83d4df8e 754%endif
386fcd12 755
95c16f4c 756
a0187fdc
MW
757%post rpki-rtrlib
758# add rpki module to daemons
759sed -i -e 's/^\(bgpd_options=\)\(.*\)\(".*\)/\1\2 -M rpki\3/' %{_sysconfdir}/frr/daemons
760
761%postun rpki-rtrlib
762# remove rpki module from daemons
763sed -i 's/ -M rpki//' %{_sysconfdir}/frr/daemons
764
765%files rpki-rtrlib
766%{_libdir}/frr/modules/bgpd_rpki.so
767
768
d0df840a
MW
769%files snmp
770%{_libdir}/libfrrsnmp.so*
771%{_libdir}/frr/modules/*snmp.so
772
773
e0626854 774%files devel
d1ef2aaf 775%{_libdir}/lib*.so
4aa7422e 776%dir %{_includedir}/%{name}
b8b18c06 777%{_includedir}/%{name}/*.h
4aa7422e 778%dir %{_includedir}/%{name}/ospfd
b8b18c06 779%{_includedir}/%{name}/ospfd/*.h
319d840c
RZ
780%if %{with_bfdd}
781 %dir %{_includedir}/%{name}/bfdd
782 %{_includedir}/%{name}/bfdd/bfddp_packet.h
783%endif
54b25dca 784%if %{with_ospfapi}
4aa7422e 785 %dir %{_includedir}/%{name}/ospfapi
b8b18c06 786 %{_includedir}/%{name}/ospfapi/*.h
68980084 787%endif
5a76db68 788%if %{with_eigrpd}
4aa7422e 789 %dir %{_includedir}/%{name}/eigrpd
b8b18c06 790 %{_includedir}/%{name}/eigrpd/*.h
5a76db68 791%endif
e0626854 792
95c16f4c 793
788cdc6d 794%changelog
4ca513bb
JAG
795
796* Wed Jul 20 2022 Martin Winter <mwinter@opensourcerouting.org> - %{version}
797
798* Wed Jul 13 2022 Jafar Al-Gharaibeh <jafar@atcorp.com> - 8.3
799- General:
800- Add camelcase json keys in addition to pascalcase (Wrong JSON keys will be depracated)
801- Fix corruption when route-map delete/add sequence happens (fast re-add)
802- Reworked gRPC
803- RFC5424 & journald extended syslog target
804- bfdd:
805- Fix broken FSM in active/passive modes
806- bgpd:
807- Notification Message Support for BGP Graceful Restart (rfc8538)
808- BGP Cease Notification Subcode For BFD
809- Send Hold Timer for BGP (own implementation without an additional knob)
810- New `set as-path replace` command for BGP route-map
811- New `match peer` command for BGP route-map
812- New `ead-es-frag evi-limit` command for EVPN
813- New `match evpn route-type` command for EVPN route-map to match Type-1/Type-4
814- JSON outputs for all RPKI show commands
815- Set attributes via route-map for BGP conditional advertisements
816- Pass non-transitive extended communities between RS and RS-clients
817- Send MED attribute when aggregate prefix is created
818- Fix aspath memory leak in aggr_suppress_map_test
819- Fix crash for `show ip bgp vrf all all neighbors 192.168.0.1 ...`
820- Fix crash for `show ip bgp vrf all all`
821- Fix memory leak for BGP Community Alias in CLI
822- Fix memory leak when setting BGP community at egress
823- Fix memory leak when setting BGP large-community at egress
824- Fix SR color nexthop processing in BGP
825- Fix setting local-preference in route-map using +/-
826- Fix crash using Lua and route-map to set attributes via scripts
827- Fix crash when issuing various forms of `bgp no-rib`
828- isisd:
829- JSON output for show summary command
830- Fix crash when MTU mismatch occurs
831- Fix crash with xfrm interface type
832- Fix infinite loop when parsing LSPs
833- Fix router capability TLV parsing issues
834- vtysh:
835- New `show thread timers` command
836- ospfd6:
837- Add LSA statistics to LSA database
838- Add LSA stats to `show area json` output
839- Show time left in hello timer for `show ipv6 ospf6 int`
840- Restart SPF when distance is updated
841- Support keychain for ospf6 authentication
842- ospfd:
843- New `show ip ospf reachable-routers` command
844- Restart SPF when distance is updated
845- Use consistent JSON keys for `show ip ospf neighbor` and detail version
846- pimd:
847- Add additional IGMP stats
848- Add IGMP join sent/failed statistics
849- Add IGMP total groups and total source groups to statistics
850- New `debug igmp trace detail` command
851- New `ip pim passive` command
852- JSON support added for command `show ip igmp sources`
853- Allow the LPM match work properly with prefix lists and normal RPs
854- Do not allow 224.0.0.0/24 range in IGMP join
855- Fix IGMP packet/query check
856- Handle PIM join/prune receive flow for IPv6
857- Handle receive of (*,G) register stop with source address as 0
858- Handle of exclude mode IGMPv3 report messages for SSM-aware group
859- Handle of IGMPv2 report message for SSM-aware group range
860- Send immediate join with possible sg rpt prune bit set
861- Show group-type under `show ip pim rp-info`
862- Show total received messages IGMP stats
863- staticd:
864- Capture zebra advertised ECMP limit
865- Do not register existing nexthop to Zebra
866- Reject route config with too many nexthops
867- Track nexthops per-safi
868- watchfrr:
869- Add some more information to `show watchfrr`
870- Send operational state to systemd
871- zebra:
872- Add ability to know when FRR is not ASIC offloaded
873- Add command for setting protodown bit
874- Add dplane type for netconf data
875- Add ECMP supported to `show zebra`
876- Add EVPN status to `show zebra`
877- Add if v4/v6 forwarding is turned on/off to `show zebra`
878- Add initial zebra tracepoint support
879- Add kernel nexthop group support to `show zebra`
880- Add knowledge about ra and rfc 5549 to `show zebra`
881- Add mpls status to `show zebra`
882- Add netlink debug dump for netconf messages
883- Add netlink debugs for ip rules
884- Add OS and version to `show zebra`
885- Add support for end.dt4
886- Add to `show zebra` the type of vrf devices being used
887- Allow *BSD to specify a receive buffer size
888- Allow multiple connected routes to be choosen for kernel routes
889- Allow system routes to recurse through themselves
890- Do not send RAs w/o link-local v6 or on bridge-ports
891- Evpn disable remove l2vni from l3vni list
892- Evpn-mh bonds protodown check for set
893- Evpn-mh use protodown update reason api
894- Fix cleanup of meta queues on vrf disable
895- Fix crash in evpn neigh cleanup all
896- Fix missing delete vtep during vni transition
897- Fix missing vrf change of l2vni on vxlan interface
898- Fix rtadv startup when config read in is before interface up
899- Fix use after deletion event in FreeBSD
900- Fix v6 route replace failure turned into success
901- Get zebra graceful restart working when restarting on *BSD
902- Handle FreeBSD routing socket enobufs
903- Handle protodown netlink for vxlan device
904- Include mpls enabled status in interface output
905- Include old reason in evpn-mh bond update
906- Keep the interface flags safe on multiple ioctl calls
907- Let /32 host route with same ip cross vrf
908- Make router advertisement warnings show up once every 6 hours
909- Prevent crash if zebra_route_all is used for a route type
910- Prevent installation of connected multiple times
911- Protodown-up event trigger interface up
912- Register nht nexthops with proper safi
913- Update advertise-svi-ip macips w/ new mac
914- When handling unprocessed messages from kernel print usable string
915- New `show ip nht mrib` command
916- Handle ENOBUFS errors for FreeBSD
778e0cef
JAG
917
918* Tue Mar 1 2022 Jafar Al-Gharaibeh <jafar@atcorp.com> - 8.2
919- The FRRouting community would like to announce FRR Release 8.2.
920- This release consists of just over 800 commits from 62 authors.
921- Selected features and bug fixes are listed below.
922- babeld:
923- Fix the checks for truncated packets
924- bfdd:
925- Correct one spelling error of comment
926- Fix detection timeout update
927- Fix possibly wrong counter of control packets
928- bgpd:
929- Add "json" option to a few more show commands
930- Add 'show bgp <afi> <safi> json detail' header data
931- Add a 6 hour warning to missing policy
932- Add an ability to match ipv6 next-hop by prefix-list
933- Add autocomplete for access-list under bmp node
934- Add autocomplete for as-path filters
935- Add autocomplete for set/match community/large/ext lists
936- Add long-lived graceful restart capability
937- Add peer-groups to neighbor autocomplete
938- Adjust symbolic names for cease notifications according to rfc4486
939- Deprecate dpa, advertiser and rcid_path path attributes
940- Extended bgp administrative shutdown communication
941- Fix crash when using "show bgp vrf all"
942- Fix inconsistency of match ip/ipv6 next-hop commands
943- Fix missing name of default vrf
944- Handle TCP connection errors with connection callbacks for RPKI
945- Implement llgr helper mode
946- Implement rfc9072
947- Support redirect import more than one route-target ipv6
948- docker:
949- Update alpine build enable set own version
950- isisd:
951- Add link state traffic engineering support
952- Fix router capability tlv parsing issues
953- Fix running-config for fast-reroute
954- Make isis work with default vrf name different than 'default'
955- ospf6d
956- Add missing vrf parameter to "clear ipv6 ospf6 interface"
957- Add prompt for commands with non-exist vrf
958- Add support for nssa type-7 address ranges
959- Add the ability of specifying router-id/area-id in no debug ospf6
960- Do not originate type-4 lsa when nssa
961- Do not send type-5 into stub area
962- Fix ecmp inter-area route nexthop update
963- Fix memory leak for `show ipv6 ospf6 zebra json`
964- ospfd
965- Fix wrong comparison of routemap name
966- Fix crash on "ospf send-extra-data zebra"
967- Fix incorrect detection of topology changes in helper mode
968- Fix loss of mixed form in "range" command
969- Fix no-form of "graceful-restart" command
970- Fix summary-address deletion
971- Fix wrong parsing of te subtlv
972- pbrd
973- Add vlan actions to vty
974- Pbr route maps get addr family of nhgs
975- Protect from a possible null dereference
976- pimd
977- Do not allow 224.0.0.0/24 range in igmp join
978- Fix igmp user config
979- Fix msdp mesh grp with wildcard member addr
980- Fix stale forwarding entries left around after join goes away
981- Fix FRR drops IGMP packets for TOS value other than 0XC0
982- redhat
983- Check if frr.conf already exists
984- Logrotate file has typo for staticd
985- ripd
986- Fix packet send for non primary addresses
987- vtysh
988- Add missing rpki node when showing config
989- Improve startup time by ca. ×6
990- remove `address-family evpn`
991- watchfrr
992- Allow an integrated config to work within a namespace
993- zebra
994- Add optional nhg id output to `show ip ro`
995- Add resolver flag for nexthop in json
996- Add support for json output in srv6 locator detail command
997- Don't lose next hop weights while exporting via fpm
998- Fix buffer overflow
999- Fix netns deletion
1000- Fix route-map application when when using vrfs
c2177771 1001
c5b26b20
JAG
1002* Tue Nov 2 2021 Jafar Al-Gharaibeh <jafar@atcorp.com> - 8.1
1003- FRR 8.1 brings a long list of enhancements and fixes with 1200 commits from
1004- 75 developers. Thanks to all contributers.
1005- New Features:
1006- Lua hooks are now feature complete, with one hook available for use (http://docs.frrouting.org/en/latest/scripting.html)
1007- Improvements to SRv6 (Segment Routing over IPv6) (http://docs.frrouting.org/en/latest/zebra.html#segment-routing-ipv6)
1008- Improvements to Prefix-SID (Type 5)
1009- EVPN route type-5 gateway IP overlay Index (http://docs.frrouting.org/en/latest/bgp.html#evpn-overlay-index-gateway-ip)
1010- OSPFv3 NSSA and NSSA totally stub areas (http://docs.frrouting.org/en/latest/ospf6d.html#ospf6-area)
1011- OSPFv3 ASBR summarization (http://docs.frrouting.org/en/latest/ospf6d.html#asbr-summarisation-support-in-ospfv3)
1012- OSPFv3 Graceful Restart (http://docs.frrouting.org/en/latest/ospf6d.html#graceful-restart)
1013- OSPFv2 Graceful Restart (restarting mode added, helper was already implemented) (http://docs.frrouting.org/en/latest/ospfd.html#graceful-restart)
1014- Behavior Changes
1015- Every node in running config now has an explicit "exit" tag
1016- Link bandwidth in BGP is now correctly encoded according to IEEE 754. To stay with old incorrect encoding use:
1017- `neighbor PEER disable-link-bw-encoding-ieee`
1018- Changelog
1019- alpine:
1020 Fix path for daemons file install
1021- BGP:
1022- Add "json" option to "show bgp as-path-access-list"
1023- Add `disable-addpath-rx` knob
1024- Add an ability to set extcommunity to none in route-maps
1025- Add counter of displayed show bgp summary when filtering
1026- Add knob to config cond-adv scanner period
1027- Add route-map `match alias` command
1028- Add rpki source address configuration
1029- Add show bgp summary filter by neighbor or as
1030- Add terse display option on show bgp summary
1031- Allow for auto-completion of community alias's created
1032- Bgp knob to teardown session immediately when peer is unreachable
1033- Expand 'bgp default <afi>-<safi>' cmds
1034- Extend evpn next hop tracking to type-1 and type-4 routes
1035- Fix "no router bgp x vrf default"
1036- Flowspec redirect vrf uses vrf table instead of allocated table id
1037- Handle quick flaps of an evpn prefix properly
1038- Initial batch of evpn lttng tracepoints
1039- Limit processing to what is needed in rpki validation
1040- Modify vrf/view display in show bgp summary
1041- Set 4096 instead of 65535 as new max packet size for a new peer
1042- Set extended msg size only if we advertised and received capability
1043- Show bgp community alias in json community list output
1044- Show bgp prefixes by community alias
1045- Show max packet size per update-group
1046- Split soft reconfigure table task into several jobs to not block vtysh
1047- Store distance received from a redistribute statement
1048- Update route-type-1 legend to match output
1049- ISIS:
1050- Fix sending of lsp with null seqno
1051- lib:
1052- Add "json" option to "show ip[v6] access-list"
1053- Add "json" option to "show ip[v6] prefix-list"
1054- Add "json" option to "show route-map"
1055- Prevent grpc assert on missing yang node
1056- NHRP:
1057- Clear cache when shortcuts are cleared
1058- Fix corrupt address being shown for shortcuts with no cache entry
1059- Set prefix correctly in resolution request
1060- OSPF6:
1061- Add debug commands for lsa all and route all
1062- Add warning log for late hello packets
1063- Add write-multiplier configuration
1064- Don't update router-id if at least one adjacency is full
1065- Extend the "redistribute" command with more options
1066- Fix issue when displaying the redistribute command
1067- Fix logging of border router routes
1068- Json output for database dump show command
1069- Link state id in lsa database json output
1070- Send lsa update immediately when ospf instance is deleted
1071- OSPF:
1072- Fix crash when creating vlink in unknown vrf
1073- Gr conformance fix for hello packet dr election
1074- Print extra lsa information in some log messages
1075- Rfc conformance test case 25.23 issue fix
1076- Show ip ospf route json does not shown metric and tag
1077- Summary lsa is not originated when process is reset
1078- pathd:
1079- Handle pcinitiated configuration, main thread
1080- Handle pcinitiated messages, thread controller
1081- Handle srp_id correctly
1082- If pce ret no-path to pcreq don't retry pcreq nor delegate
1083- PBR:
1084- Add `match ip-protocol [tcp|udp]`
1085- Add ability to set/unset src and dest ports
1086- Nhg "add" edge case for last in table range
1087- Start inclusion of src and dst ports for pbrd
1088- PIM:
1089- Add tos/ttl check for igmp conformance
1090- Allow join prune intervals to be as small as 5 seconds
1091- Allow msdp group name 'default'
1092- Fix register suppress timer code
1093- Fix uaf/heap corruption in bsm code
1094- Fix command "no ip msdp mesh-group member"
1095- Igmp groups are not getting timeout
1096- Igmp memberships are not querier specific
1097- Igmp sockets need to be iface-bound too
1098- Prevent uninited usage of nexthop
1099- Support msdp global timers configuration
1100- vtysh
1101- Add cli timestamp '-t' flag
1102- Add error code if daemon is not running
1103- Fix searching commands in parent nodes
1104- yang:
1105- Add msdp timer configuration
1106- Fix bgp multicast prefix type
1107- Mark a couple of prefix-list/access-list leafs as mandatory
1108- Move multicast prefix type definition
1109- Replace an empty pattern with a zero-length restriction
1110- Rework pim msdp mesh group
1111- Simplify msdp peer handling
1112- zebra :
1113- Add "json" option to "show interface"
1114- Various improvment to dataplane interface
1115- Add message counts for `show zebra client`
1116- Add nhg id to show ip route json
1117- Add show command for ra interface lists
1118- Fix ipv4 routes with ipv6 link local next hops install in fpm
1119- Handle bridge mac address update in evpn contexts
1120- Move individual lines to table in `show zebra client` command
1121- Refresh vxlan evpn contexts, when bridge interface goes up
1122- Update zl3vni when bridge link refreshed in other namespaces
1123
1124* Wed Jul 21 2021 Martin Winter <mwinter@opensourcerouting.org> - 8.0
1125- Major changes
1126- New daemon pathd for segment routing
1127- EVPN Multihoming is now fully supported
1128- OSPFv3 now supports VRFs
1129- TI-LFA has been implemented in IS-IS and OSPF
1130- Ability for Zebra to dump netlink messages in a human-friendly format
1131- LDP gained SNMP support
1132- libyang minimun version is now 2.0
1133- BABEL:
1134- Add `distribute-list` commands
1135- Fix memory leak in connected route handling
1136- BGP:
1137- Add support for use of aliases with communities
1138- Add support of tcp-mss for neighbors
1139- Add support for EVPN Multihoming
1140- Add ability to show BGP routes from a particular table version
1141- Add support for for RFC 8050 (MRT add-path)
1142- Add SNMP support for MPLS VPN
9bf7cb0b 1143- Add `show bgp summary wide` command to show more detailed output
c5b26b20
JAG
1144 on wide terminals
1145- Add ability for peer-groups to have `ttl-security hops` configured
1146- Add support for conditional Advertisement
1147- Add support for RFC 4271 Delay Open Timer
1148- Add a knob to not advertise until route is installed in fib
1149- Add BGP-wide configuration for graceful shutdown
1150- Add support for RFC 8654 extended messages
1151- Improve RPKI reporting as well as new show commands
1152- Improve handling of VRF route leaking
1153- Improve scaling behavior for dynamic neighbors
1154- Improve LL nexthop tracking to be interface based
1155- Improve route reachability handling with respect to blackhole routes
1156- Improve SNMP traps to RFC 4273 notifications
1157- Improve EVPN routes to use L3 NHG's where applicable
1158- Improvements to EVPN
1159- Improvements to update behavior
1160- Fix various issues with connection resolution
1161- Fix statistics commands in some situations
1162- Fix non-determistic locally-originated paths in bestpath selection
1163- Continue working on transitioning to YANG/Northbound configuration
1164- Various bug fixes and performance improvements
1165- EIGRP:
1166- Add `distribute-list` commands
1167- Ensure received AS number is the same as ours in all situations
1168- Properly validate TLV lengths in some situations
1169- IS-IS:
1170- Add ldb-sync functionality
1171- Add TI-LFA functionality
1172- Add support for Anycast-SID's
1173- Add support for classic LFA RFC 5286
1174- Add `show isis fast-reroute summary` command
1175- Add support for Remote LFA RFC 7490
1176- Fix Attach-bit processing in some scenarios
1177- Cleanup BFD integration
1178- Various bug fixes and performance improvements
1179- LDP:
1180- Add SNMP support
1181- Support for LDP IGP Synchronization
1182- Support for RLFA clients
1183- Various bug fixes and performance improvements
1184- LIBFRR:
1185- Various bugfixes and performance improvements
1186- NHRP:
1187- Add `nhrp multicast-nflog-group (1-65535)` command
1188- Add configuration options for vici socket path
1189- Add support for forwarding multicast packets
1190- Fix handling of MTU
1191- Fix handling of NAT extension
1192- Retry IPsec under some conditions
1193- OSPFv2:
1194- Add OSPF GR helper support
1195- Add JSON support for various commands
1196- Add `summary-address A.B.C.D/M ...` commands
1197- Add `area X nssa suppress-fa` command
1198- Add support for TI-LFA
1199- Add support for BFD profiles
1200- Add support for Traffic Engineering database
1201- Add support for usage of DMPVPN with OSPF
1202- Add `clear ip ospf neighbor` commands
1203- Add YANG support for route-maps
1204- Improvements to SNMP
1205- Fixes for type 5 and type 7 LSA handling
1206- Various bug fixes and performance improvements
1207- OSPFv3:
1208- Add support for VRFs
1209- Add JSON support to a bunch of commands
1210- Add ability to control maximum paths for routes
1211- Add `show ipv6 ospf6 vrfs` command
1212- Add support for BFD profiles
1213- Fix to not send hellos on loopbacks
1214- Cleanup area handling around interfaces
1215- YANG support for route-maps
1216- Various bug fixes and performance improvements
1217- OSPFCLIENT:
1218- Cleanup trust of user input
1219- PATHd:
1220- Add support of SR-TE policy management daemon
1221- Add optional support for PCEP to pathd
1222- Integrate PCEP-LIB into FRR
1223- PBR:
1224- Add `set installable` nhg command
1225- Improve interface up/down event handling
1226- PIM:
1227- Add YANG integration
1228- Add JSON support to various commands
1229- Add BFD profile support
1230- Fixes to IGMP conformance
1231- Fixes to behavior surrounding Prune and Prune-pending
1232- Various bug fixes and performance improvements
1233- RIPNG:
1234- Fix interface wakeup after shutdown
1235- SHARP:
1236- Add ability to use Nexthop Groups
1237- Add v4 redistribute watching
1238- Add TED support
1239- Various bug fixes
1240- STATIC:
1241- Fix nexthop handling in some situations
1242- Forbid blackhole and non-blackhole nexthops in a single route
1243- VRRP:
1244- printf formatting cleanups
1245- VTYSH:
1246- Add a `show history` command
1247- Add `show memory <daemon>` support
1248- Start deprecation cycle for `address-family evpn`
1249- Display version with --help
1250- Various bug fixes
1251- WATCHFRR:
1252- Fix some crashes
1253- ZEBRA:
1254- Add JSON support to various commands
1255- Add Human readable netlink dumps
1256- Add L2 NHG support
1257- Add support for LSPs to FPM dataplane
1258- Add ability for other protocol daemons to install nexthop groups into the kernel
1259- Add YANG support for route-maps
1260- Improve scale performance when handling a large number of VRF's
1261- Improve network namespace handling
1262- Improve asic-offload handling
1263- Improve FreeBSD interface and route handling
1264- Improve handling of neighbors in kernel dataplane plugin
1265- Improve label manager
1266- Improve route-map processing
1267- Improve debug-ability of routes and VRFs
1268- Improve FPM dataplane plugin
1269- Improve handling of reachability / nexthop tracking on shutdown interfaces
1270- Improve EVPN support
1271- Fix startup handling of `set src X`
1272- Various bug fixes and performance improvements
1273
1274* Wed Mar 3 2021 Martin Winter <mwinter@opensourcerouting.org> - 7.5.1
1275- BABEL:
1276- Fix connected route leak on change
1277- BFD:
1278- Session lookup was sometimes wrong
1279- Memory leak and handling cleanups
1280- In some situations handle vrf appropriately when receiving packets
1281- BGP:
1282- Peer Group Inheritance Fixes
1283- Dissallow attempt to peer peers reachable via blackholes
1284- Send BMP down message when reachability fails
1285- Cleanup handling of aggregator data when the AGG AS is 0
1286- Handle `neighbor <peer-group allowas-in` config changes properly
1287- Properly parse community and lcommunity values in some circumstances
1288- Allow peer-groups to configure `ttl-security hops`
1289- Prevent v6 routes with v4 nexthops from being installed
1290- Allow `default-originate` to be cleared from a peer group
1291- Fix evpn route-map vni filter at origin
1292- local routes were using non-default distance
1293- Properly track if the nexthop was updated in some circumstances
1294- Cleanup `show running` when running bgp with `-e X` values
1295- Various Memory leaks in show commands
1296- Properly withdraw exported routes when deleting a VRF
1297- Avoid resetting ebgp-multihop if peer setting is the same as peer-group
1298- Properly encode flowspec rules to zebra in some rare circumstances
1299- Generate statistics for routes in bgp when we have exactly 1 route
1300- Properly apply route-map for the default-originate command
1301- EIGRP:
1302- Properly set MTU for eigrp packets sent
1303- Various memory leaks and using uninited data fixes
1304- ISIS:
1305- When last area address is removed, resign if we were the DR
1306- Various memory leaks and using uninited data fixes
1307- LDP:
1308- Various memory leaks and using uninited data fixes
1309- NHRP:
1310- Use onlink routes when prefix == nh
1311- Shortcut routes are installed with proper nexthop
1312- OSPF:
1313- Prevent duplicate packet read in multiple vrf situation
1314- Fix area removal at interface level
1315- Restore Point to MultiPoint interface types
1316- Correctly handle MTU change on startup
1317- Multi Instance initialization sometimes was not successful
1318- NSSA translate-always was not working properly
1319- OSPFv3:
1320- Don't send hellos on loopback interfaces
1321- Handle ECMP better when a sub-path is removed
1322- Memory leak and handling fixes
1323- Fix Link LSA not updating when router priority is modified
1324- Some output from show commands was wrong
1325- Intra area remote connected prefixes sometimes not installed
1326- PBR:
1327- Various memory leaks and using uninited data fixes
1328- PIM:
1329- SGRpt prune received during prune didn't override holdtime
1330- Various memory leaks and using uninited data fixes
1331- STATIC:
1332- Fix VRF and usage on startup in some instances
1333- Tableid was being mishandled in some cases
1334- VTYSH:
1335- Disable bracketed paste in readline.
1336- WATCHFRR:
1337- Various memory leaks and using uninited data fixes
1338- ZEBRA:
1339- Always install blackhole routes using kernel routes instead of nexthops
1340- Various memory leaks and using uninited data fixes
1341- Dissallow resolution to duplicate nexthops that created infinite nexthops
1342- Apply the route-map delay-timer globally
1343- Some routes were stuck in Queued state when using the FPM
1344- Better handle vrf creation when using namespaces
1345- Set NUD_NOARP on sticky mac entries in addtion to NTF_STICKY
1346- Allow `set src X` to work on startup
1347- FRR Library:
1348- Fix a variety of memory leaks
1349- Fix VRF Creation in some instances
1350- RPKI context editing was not properly handled in reload situations
1351- routemap code was not properly handling modification of CLI in some instances
1352- SNAPCRAFT:
1353- Update to using rtrlib 0.7.0
1354- Fix passthrough path for Libyang 1.x
1355- ALPINE:
1356- Remove old docker deps
1357
1358* Mon Nov 2 2020 Donald Sharp <sharpd@nvidia.com> - 7.5
1359- BFD
1360- Profile support
1361- Minimum ttl support
1362- BGP
1363- rpki VRF support
1364- GR fixes
1365- Add wide option to display of routes
1366- Add `maximum-prefix <num> force`
1367- Add `bestpath-routes` to neighbor command
1368- Add `bgp shutdown message MSG...` command
1369- Add v6 Flowspec support
1370- Add `neighbor <neigh> shutdown rtt` command
1371- Allow update-delay to be applied globaly
1372- EVPN
1373- Beginning of MultiHoming Support
1374- ISIS
1375- Segment Routing Support
1376- VRF Support
1377- Guard against adj timer display overflow
1378- Add support for Anycast-SIDs
1379- Add support for Topology Independent LFA (TI-LFA)
1380- Add `lsp-gen-interval 2` to isis configuration
1381- OSPF
1382- Segment Routing support for ECMP
1383- Various LSA fixes
1384- Prevent crash if transferring config amongst instances
1385- PBR
1386- Adding json support to commands
1387- DSCP/ECN based PBR Matching
1388- PIM
1389- Add more json support to commands
1390- Fix missing mesh-group commands
1391- MSDP SA forwarding
1392- Clear (s,g,rpt) ifchannel on (*, G) prune received
1393- Fix igmp querier election and IP address mapping
1394- Crash fix when RP is removed
1395- STATIC
1396- Northbound Support
1397- YANG
1398- Filter and route-map Support
1399- OSPF model definition
1400- BGP model definition
1401- VTYSH
1402- Speed up output across daemons
1403- Fix build-time errors for some --enable flags
1404- Speed up output of configuration across daemons
1405- ZEBRA
1406- nexthop group support for FPM
1407- northbound support for rib model
1408- Backup nexthop support
1409- netlink batching support
1410- Allow upper level protocols to request ARP
1411- Add json output for zebra ES, ES-EVI and access vlan dumps
1412-
1413- Upgrade to using libyang1.0.184
1414-
1415- RPM
1416- Moved RPKI to subpackage
1417- Added SNMP subpackage
1418-
1419- As always there are too many bugfixes to list individually. This release
1420- compromises just over 1k of commits by the community, with contributors from
1421- 70 people.
3ad504d6
MW
1422
1423* Tue Jun 30 2020 Martin Winter <mwinter@opensourcerouting.org> - 7.4
1424- BGPd
1425- Use sequence numbers for community lists
1426- Fixes to nexthop groups
1427- Add feature to limit outgoing number of routes
1428- Per Neighbor Graceful Restart
1429- Multiple Graceful Restart fixes
1430- Support sub-Type-4 and sub-Type-5 for the VPNv4 SRv6 backend
1431- rfc7606 support: treat certain malformed routes as withdraw
1432- allow origin override for route aggregates
1433- rfc6608 support: Subcodes for BGP Finite State Machine Error
1434- rfc7607 support: Codification of AS 0 Processing
1435- rfc6286 support: Autonomous-System-Wide Unique BGP Identifier for BGP-4
1436- Unequal cost multipath (a.ka. weighted ECMP) with BGP link-bandwidth
1437- Enable rfc8212 by default except datacenter profile
1438- staticd
1439- Add debug support
1440- vtysh
1441- Add copy command to copy config from file into running config
1442- LDPd
1443- adding support for LDP ordered label distribution control
1444- ISISd
1445- IS-IS Segment Routing support
1446- SHARPd
1447- add initial support to add/remove lsps
1448- Zebra
1449- fix broadcast address in IPv4 networks with /31 mask
1450- Add Graceful Restart support for Protocol Daemon restarts
1451- lib
1452- migrate route-maps to use northbound interface
1453- plus countless bug fixes and other improvements
1454
4d7b695d
SM
1455* Mon Jun 15 2020 Sascha Kattelmann <sascha@netdef.org>
1456- Add Pathd support
1457
3ad504d6
MW
1458* Wed May 06 2020 David Lamparter <equinox@opensourcerouting.org> - 7.3.1
1459- upstream 7.3.1
1460
1461* Fri Feb 14 2020 Martin Winter <mwinter@opensourcerouting.org> - 7.3
1462- BGPd
1463- EVPN PIP Support
1464- Route Aggregation code speed ups
1465- BGP Vector I/O speed ups
1466- New CLI: `set distance XXX`
1467- New CLI: `aggregate-address A.B.C.D/M route-map WORD`
1468- New CLI: `bgp reject-as-sets`
1469- New CLI: `advertise pip ...`
1470- New CLI: `match evpn rd ASN:NN_OR_IP-ADDRESS:NN`
1471- New CLI: `show bgp l2vpn evpn community|large-community X`
1472- New CLI: `show bgp l2vpn evpn A.B.C.D`
1473- Auto-completion for clear bgp command
1474- Add ability to set tcp socket buffer size
1475- OSPFd
1476- Partial MPLS TE support
1477- PBRd
1478- New CLI: `set vrf unchanged|NAME`
1479- BFDd
1480- VRF Support
1481- New CLI: 'show bfd peers brief'
1482- New CLI: 'clear bfd peer ...'
1483- PIMd
1484- Significant Speedups in accessing Internal Data for higher scale
1485- Support for joining any-source Multicast
1486- Updated CLI: 'show ip pim upstream-join-desired'
1487- New CLI: 'show ip pim channel'
1488- Debug Cleanup
1489- MLAG experimental support
1490- VRRPd
1491- VRF Support
1492- Northbound Conversion- NHRPd
1493- LDPd
1494- vtysh
1495- New CLI: `banner motd line LINE...`
1496- yang
1497- New CLI: `show yang operational-data XPATH`
1498- New CLI: `debug northbound`
1499- Zebra
1500- Nexthop Group support
1501- New CLI: 'debug zebra nexthop [detail]'
1502- New CLI: 'show router-id'
1503- MLAG experimental support
1504- watchfrr
1505- Additional status messages of system state to systemd
1506- New CLI: `watchfrr ignore DAEMON`
1507- Others
1508- As always all daemons have received too many bug fixes to fully list
1509- There has been a significant focus on increasing test coverage
1510- Change in Behavior:
1511- ISISd
1512- All areas created default automatically to level-1-2
1513- Zebra
1514- Nexthop Group Installation in Kernel is turned on by default
1515 if the kernel supports- New CLI: 'show nexthop-group rib [singleton]'
1516- Man Pages
1517- Renamed to frr-* to remove collision with other packages
1518
1519* Fri Jan 17 2020 Martin Winter <mwinter@opensourcerouting.org> - 7.2.1
1520- BGPd
1521- Fix Addpath issue
1522- Do not apply eBGP policy for iBGP peers
1523- Show `ip` and `fqdn` in json output for `show [ip] bgp <route> json`
1524- Fix large route-distinguisher's format
1525- Fix `no bgp listen range ...` configuration command
1526- Autocomplete neighbor for clear bgp
1527- Reflect the distance in RIB when it is changed for an arbitrary afi/safi
1528- Notify "Peer De-configured" after entering 'no neighbor <neighbor> cmd
1529- Fix per afi/safi addpath peer counting
1530- Rework BGP dampening to be per AFI/SAFI
1531- Do not send next-hop as :: in MP_REACH_NLRI if no link-local exists
1532- Override peer's TTL only if peer-group is configured with TTL
1533- Remove error message for unkown afi/safi combination
1534- Keep the session down if maximum-prefix is reached
1535- OSPFd
1536- Fix BFD down not tearing down OSPF adjacency for point-to-point net
1537- BFDd
1538- Fix multiple VRF handling
1539- VRF security improvement
1540- PIMd
1541- Fix rp crash
1542- NHRPd
1543- Make sure `no ip nhrp map <something>` works as expected
1544- LDPd
1545- Add missing sanity check in the parsing of label messages
1546- Zebra
1547- Use correct state when installing evpn macs
1548- Capture dplane plugin flags
1549- lib
1550- Fix interface config when vrf changes
1551- Fix Interface Infinite Loop Walk (for special interfaces such as bond)
1552- snapcraft
1553- fix missing vrrpd daemon
1554- Others
1555- Rename man pages (to avoid conflicts with other packages)
1556- Various other fixes for code cleanup and memory leaks
1557
3f5c15f6
DA
1558* Fri Dec 27 2019 Donatas Abraitis <donatas.abraitis@gmail.com>
1559- Add CentOS 8 support
1560
3ad504d6
MW
1561* Tue Oct 15 2019 Martin Winter <mwinter@opensourcerouting.org> - 7.2
1562- ALL Daemons
1563- -N <namespace> to allow for config file locating when running FRR inside
1564 of a namespace
1565- Impoved Testing across all daemons
1566- BFD
1567- VRF Support
1568- Conversion to Northbound interface
1569- BGP
1570- Aggregate-address add route-map support
1571- BMP Support
1572- Improved JSON output for many commands
1573- `show bgp afi safi summary failed` command
1574- `clear bop *` clears all peers
1575- Show FQDN for `show bgp ipv4 uni` commands
1576- Display BestPath selection reason as part of show commands
1577- EIGRP
1578- Infrastructure changes to allow VRF's
1579- SIGHUP signals the config reload
1580- Conversion to Northbound interface
1581- ISIS
1582- BFD Support
1583- Support for circuits with MTU > 8192
1584- PBRD
1585- fwmark support as part of match criteria
1586- autocompletion of PBRMAPS
1587- Improved Nexthop Support
1588- PIMD
1589- PIM-BSM receive support
1590- Improved debugging support
1591- Store ECMP paths that are not currently legal for use
1592- Disallow igmp query from a non-connected source
1593- Many new cli improvements and changes
1594- VRRPD
1595- Add Support for RFC 3768 and RFC 5798
1596- Route-Maps
1597- Add sequence numbers to access-lists
1598- Add `match ip next-hop type blackhole`
1599- Improved ability to notice dependency changes
1600- SHARPD
1601- `sharp watch [import|nexthop]` you can now specify a prefix instead
1602 of assuming a /32
1603- STATICD
1604- Significantly Improved NHT
1605- ZEBRA
1606- Many dataplane improvements for routes, neighbor table and EVPN
1607- NHT cli can now be specified per VRF and improved ability to control
1608 NHT data being shown
1609- Removed duplicate processing of routes
1610- Improved debugablility
1611- RMAC and VxLan support for the FPM
1612- LIB
1613- RCU support
1614- Nexthop Group Improvements
1615- `log-filter WORD` added
1616- Building
1617- openssl support
1618- libcap should be used as part of build or significant slowdowns
1619 will be experienced
1620- Lua builds have been fixed
1621- Improved Cross building
1622
1623* Mon Jun 17 2019 David Lamparter <equinox@opensourcerouting.org> - 7.1
1624- gRPC northbound plugin
1625- "table NNN" removed from zebra
1626- more dataplane MT work
1627- EVPN in non-default VRFs
1628- RFC 8212 (default deny policy for eBGP)
1629- RFC 8106 (IPv6 RA DNS options)
1630
1631* Wed May 8 2019 Martin Winter <mwinter@opensourcerouting.org> - 7.0.1
1632- bgp:
1633- Don't send Updates with BGP Max-Prefix Overflow
1634- Make sure `next-hop-self all` backward compatible with force
1635- Fix as-path validation in "show bgp regexp"
1636- Fix interface-based peers to override peergroups
1637- Fix removing private AS numbers if local-as is used
1638- Fix show bgp labeled_unicast
1639- Add command to lookup prefixes in rpki table
1640- Fix peer count in "show bgp ipv6 summary"
1641- Add missing ipv6 only peer flag action
1642- Fix address family output in "show bgp [ipv4|ipv6] neighbors"
1643- Add missing checks for vpnv6 nexthops
1644- Fix nexthop for ipv6 vpn case
1645- rip: Fix removal of passive interfaces
1646- ospf:
1647- Fix json timer output
1648- Fix milliseconds in json output
1649- bfd:
1650- Fix source port according RFC 5881, Sec 4
1651- Fix IPv6 link-local peer removal
1652- Fix interface clean up when deleting interface
1653- pim: Fix interface clean up when deleting interface
1654- nhrp: Fix interface clean up when deleting interface
1655- lib:
1656- Workaround to get FRR building with libyang 0.x and 1.x
1657- Fix in priv handling
1658- Make priv elevation thread-safe
1659- zebra:
1660- Pseudowire event recovery
1661- Fix race condition in label manager
1662- Fix system routes selection and next-hop tracking
1663- Set connected route metric based on devaddr metric
1664- Display metric for connected routes
1665- Add selected fib details to json output
1666- Always use replace if installing new route
1667- watchfrr: Silently ignore declare failures (for backward compatibility)
1668- RPM packages: Switch to new init script
1669
1670* Thu Feb 28 2019 Martin Winter <mwinter@opensourcerouting.org> - 7.0
1671- Added libyang dependency: New work for northbound interface based on libyang
1672- Fabricd: New Daemon based on https://datatracker.ietf.org/doc/draft-white-openfabric/
1673- various bug fixes and other enhancements
1674
1675* Sun Oct 7 2018 Martin Winter <mwinter@opensourcerouting.org> - 6.0
1676- Staticd: New daemon responsible for management of static routes
1677- ISISd: Implement dst-src routing as per draft-ietf-isis-ipv6-dst-src-routing
1678- BFDd: new daemon for BFD (Bidrectional Forwarding Detection). Responsible
1679 for notifying link changes to make routing protocols converge faster.
1680- various bug fixes
1681
1682* Thu Jul 5 2018 Martin Winter <mwinter@opensourcerouting.org> - 5.0.1
1683- Support Automake 1.16.1
1684- BGPd: Support for flowspec ICMP, DSCP, packet length, fragment and tcp flags
1685- BGPd: fix rpki validation for ipv6
1686- VRF: Workaround for kernel bug on Linux 4.14 and newer
1687- Zebra: Fix interface based routes from zebra not marked up
1688- Zebra: Fix large zebra memory usage when redistribute between protocols
1689- Zebra: Allow route-maps to match on source instance
1690- BGPd: Backport peer-attr overrides, peer-level enforce-first-as and filtered-routes fix
1691- BGPd: fix for crash during display of filtered-routes
1692- BGPd: Actually display labeled unicast routes received
1693- Label Manager: Fix to work correctly behind a label manager proxy
1694
1695* Thu Jun 7 2018 Martin Winter <mwinter@opensourcerouting.org> - 5.0
1696- PIM: Add a Multicast Trace Command draft-ietf-idmr-traceroute-ipm-05
1697- IS-IS: Implement Three-Way Handshake as per RFC5303
1698- BGPD: Implement VPN-VRF route leaking per RFC4364.
1699- BGPD: Implement VRF with NETNS backend
1700- BGPD: Flowspec
1701- PBRD: Add a new Policy Based Routing Daemon
1702
1703* Mon May 28 2018 Rafael Zalamena <rzalamena@opensourcerouting.org>
7134904b
RZ
1704- Add BFDd support
1705
bc1dc4fe 1706* Sun May 20 2018 Martin Winter <mwinter@opensourcerouting.org>
b4c554e2
MW
1707- Fixed RPKI RPM build
1708
1709* Sun Mar 4 2018 Martin Winter <mwinter@opensourcerouting.org>
aaf38c94
MW
1710- Add option to build with RPKI (default: disabled)
1711
1712* Tue Feb 20 2018 Martin Winter <mwinter@opensourcerouting.org>
609dee9d
MW
1713- Adapt to new documentation structure based on Sphinx
1714
1715* Fri Oct 20 2017 Martin Winter <mwinter@opensourcerouting.org>
75429e11 1716- Fix script location for watchfrr restart functions in daemon config
c88ca85d 1717- Fix postun script to restart frr during upgrade
75429e11
MW
1718
1719* Mon Jun 5 2017 Martin Winter <mwinter@opensourcerouting.org>
5a76db68
MW
1720- added NHRP and EIGRP daemon
1721
1722* Mon Apr 17 2017 Martin Winter <mwinter@opensourcerouting.org>
41b86ba4
MW
1723- new subpackage frr-pythontools with python 2.7 restart script
1724- remove PIMd from CentOS/RedHat 6 RPM packages (won't work - too old)
2cdd3d94 1725- converted to single frr init script (not per daemon) based on debian init script
150e7c7e 1726- created systemd service file for systemd based systems (which uses init script)
41b86ba4
MW
1727- Various other RPM package fixes for FRR 2.0
1728
1729* Fri Jan 6 2017 Martin Winter <mwinter@opensourcerouting.org>
447a8fe9 1730- Renamed to frr for FRRouting fork of Quagga
c115e4a4 1731
150e7c7e 1732* Thu Feb 11 2016 Paul Jakma <paul@jakma.org>
30da4585
PJ
1733- remove with_ipv6 conditionals, always build v6
1734- Fix UTF-8 char in spec changelog
1735- remove quagga.pam.stack, long deprecated.
1736
f755bf6d
MW
1737* Thu Oct 22 2015 Martin Winter <mwinter@opensourcerouting.org>
1738- Cleanup configure: remove --enable-ipv6 (default now), --enable-nssa,
1739 --enable-netlink
1740- Remove support for old fedora 4/5
1741- Fix for package nameing
1742- Fix Weekdays of previous changelogs (bogus dates)
150e7c7e 1743- Add conditional logic to only build tex footnotes with supported texi2html
f755bf6d
MW
1744- Added pimd to files section and fix double listing of /var/lib*/quagga
1745- Numerous fixes to unify upstart/systemd startup into same spec file
9473e340 1746- Only allow use of watchfrr for non-systemd systems. no need with systemd
f755bf6d
MW
1747
1748* Fri Sep 4 2015 Paul Jakma <paul@jakma.org>
7c08d77f
PJ
1749- buildreq updates
1750- add a default define for with_pimd
1751
f755bf6d 1752* Mon Sep 12 2005 Paul Jakma <paul@dishone.st>
e7cd37bf 1753- Steal some changes from Fedora spec file:
1754- Add with_rtadv variable
1755- Test for groups/users with getent before group/user adding
1756- Readline need not be an explicit prerequisite
1757- install-info delete should be postun, not preun
1758
fc43ecc7 1759* Wed Jan 12 2005 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1760- on package upgrade, implement careful, phased restart logic
1761- use gcc -rdynamic flag when linking for better backtraces
1762
f3931751 1763* Wed Dec 22 2004 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1764- daemonv6_list should contain only IPv6 daemons
1765
b3324e27 1766* Wed Dec 22 2004 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
9473e340 1767- watchfrr added
b3324e27 1768- on upgrade, all daemons should be condrestart'ed
1769- on removal, all daemons should be stopped
1770
36002ae5 1771* Mon Nov 08 2004 Paul Jakma <paul@dishone.st>
1772- Use makeinfo --html to generate quagga.html
1773
0df63b52 1774* Sun Nov 07 2004 Paul Jakma <paul@dishone.st>
1775- Fix with_ipv6 set to 0 build
1776
cfc1842b 1777* Sat Oct 23 2004 Paul Jakma <paul@dishone.st>
1778- Update to 0.97.2
1779
1780* Sat Oct 23 2004 Andrew J. Schorr <aschorr@telemetry-investments.com>
1781- Make directories be owned by the packages concerned
1782- Update logrotate scripts to use correct path to killall and use pid files
1783
da29c6b0 1784* Fri Oct 08 2004 Paul Jakma <paul@dishone.st>
1785- Update to 0.97.0
1786
54b25dca 1787* Wed Sep 15 2004 Paul Jakma <paul@dishone.st>
1788- build snmp support by default
1789- build irdp support
1790- build with shared libs
1791- devel subpackage for archives and headers
1792
00bc5603 1793* Thu Jan 08 2004 Paul Jakma <paul@dishone.st>
1794- updated sysconfig files to specify local dir
1795- added ospf_dump.c crash quick fix patch
1796- added ospfd persistent interface configuration patch
1797
15d74e93 1798* Tue Dec 30 2003 Paul Jakma <paul@dishone.st>
1799- sync to CVS
1800- integrate RH sysconfig patch to specify daemon options (RH)
1801- default to have vty listen only to 127.1 (RH)
1802- add user with fixed UID/GID (RH)
1803- create user with shell /sbin/nologin rather than /bin/false (RH)
1804- stop daemons on uninstall (RH)
f755bf6d 1805- delete info file on preun, not postun to avoid deletion on upgrade. (RH)
15d74e93 1806- isisd added
1807- cleanup tasks carried out for every daemon
1808
406f7000 1809* Sun Nov 2 2003 Paul Jakma <paul@dishone.st>
1810- Fix -devel package to include all files
1811- Sync to 0.96.4
1812
6bd8fd3b 1813* Tue Aug 12 2003 Paul Jakma <paul@dishone.st>
1814- Renamed to Quagga
1815- Sync to Quagga release 0.96
1816
f755bf6d 1817* Thu Mar 20 2003 Paul Jakma <paul@dishone.st>
edd7c245 1818- zebra privileges support
1819
f755bf6d 1820* Tue Mar 18 2003 Paul Jakma <paul@dishone.st>
e0626854 1821- Fix mem leak in 'show thread cpu'
1822- Ralph Keller's OSPF-API
1823- Amir: Fix configure.ac for net-snmp
1824
448ed4a2 1825* Sat Mar 1 2003 Paul Jakma <paul@dishone.st>
1826- ospfd IOS prefix to interface matching for 'network' statement
1827- temporary fix for PtP and IPv6
1828- sync to zebra.org CVS
1829
8f754983 1830* Mon Jan 20 2003 Paul Jakma <paul@dishone.st>
1831- update to latest cvs
1832- Yon's "show thread cpu" patch - 17217
1833- walk up tree - 17218
1834- ospfd NSSA fixes - 16681
1835- ospfd nsm fixes - 16824
150e7c7e 1836- ospfd OLSA fixes and new feature - 16823
8f754983 1837- KAME and ifindex fixes - 16525
1838- spec file changes to allow redhat files to be in tree
1839
d7ccae28 1840* Sat Dec 28 2002 Alexander Hoogerhuis <alexh@ihatent.com>
1841- Added conditionals for building with(out) IPv6, vtysh, RIP, BGP
1842- Fixed up some build requirements (patch)
1843- Added conditional build requirements for vtysh / snmp
f755bf6d 1844- Added conditional to files for _bindir depending on vtysh
d7ccae28 1845
788cdc6d 1846* Mon Nov 11 2002 Paul Jakma <paulj@alphyra.ie>
1847- update to latest CVS
1848- add Greg Troxel's md5 buffer copy/dup fix
1849- add RIPv1 fix
1850- add Frank's multicast flag fix
1851
1852* Wed Oct 09 2002 Paul Jakma <paulj@alphyra.ie>
1853- update to latest CVS
1854- timestamped crypt_seqnum patch
1855- oi->on_write_q fix
1856
1857* Mon Sep 30 2002 Paul Jakma <paulj@alphyra.ie>
1858- update to latest CVS
1859- add vtysh 'write-config (integrated|daemon)' patch
1860- always 'make rebuild' in vtysh/ to catch new commands
1861
1862* Fri Sep 13 2002 Paul Jakma <paulj@alphyra.ie>
1863- update to 0.93b
1864
1865* Wed Sep 11 2002 Paul Jakma <paulj@alphyra.ie>
1866- update to latest CVS
1867- add "/sbin/ip route flush proto zebra" to zebra RH init on startup
1868
1869* Sat Aug 24 2002 Paul Jakma <paulj@alphyra.ie>
1870- update to current CVS
1871- add OSPF point to multipoint patch
1872- add OSPF bugfixes
1873- add BGP hash optimisation patch
1874
1875* Fri Jun 14 2002 Paul Jakma <paulj@alphyra.ie>
1876- update to 0.93-pre1 / CVS
1877- add link state detection support
1878- add generic PtP and RFC3021 support
1879- various bug fixes
1880
1881* Thu Aug 09 2001 Elliot Lee <sopwith@redhat.com> 0.91a-6
1882- Fix bug #51336
1883
f755bf6d 1884* Wed Aug 1 2001 Trond Eivind Glomsrød <teg@redhat.com> 0.91a-5
788cdc6d 1885- Use generic initscript strings instead of initscript specific
1886 ( "Starting foo: " -> "Starting $prog:" )
1887
1888* Fri Jul 27 2001 Elliot Lee <sopwith@redhat.com> 0.91a-4
1889- Bump the release when rebuilding into the dist.
1890
1891* Tue Feb 6 2001 Tim Powers <timp@redhat.com>
1892- built for Powertools
1893
150e7c7e 1894* Sun Feb 4 2001 Pekka Savola <pekkas@netcore.fi>
788cdc6d 1895- Hacked up from PLD Linux 0.90-1, Mandrake 0.90-1mdk and one from zebra.org.
1896- Update to 0.91a
1897- Very heavy modifications to init.d/*, .spec, pam, i18n, logrotate, etc.
1898- Should be quite Red Hat'isque now.