diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2017-08-06 07:35:50 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2017-08-08 11:14:05 +0200 |
commit | 689f5a8c84b95dbd31ecab481f8f2977965fe741 (patch) | |
tree | 7c2a2b69908b3c3ac60e0de41b5a3f85caec2ef5 /redhat/frr.spec.in | |
parent | Merge pull request #924 from qlyoung/deprecate-ospf-lsa-min-arrival (diff) | |
download | frr-689f5a8c84b95dbd31ecab481f8f2977965fe741.tar.xz frr-689f5a8c84b95dbd31ecab481f8f2977965fe741.zip |
*: remove --enable-tcp-zebra, rework ZAPI path
This adds "@tcp" as new choice on the -z option present in zebra and the
protocol daemons. The --enable-tcp-zebra option on configure is no
longer needed, both UNIX and TCP socket support is always available.
Note that @tcp should not be used by default (e.g. in an init script),
and --enable-tcp-zebra should never have been in any distro package
builds, because
**** TCP-ZEBRA IS A SECURITY PROBLEM ****
It allows arbitrary local users to mess with the routing table and
inject bogus data -- and also ZAPI is not designed to be robust against
attacks.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'redhat/frr.spec.in')
-rw-r--r-- | redhat/frr.spec.in | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in index b23249e04..12cdcf04f 100644 --- a/redhat/frr.spec.in +++ b/redhat/frr.spec.in @@ -10,7 +10,6 @@ #################### FRRouting (FRR) configure options ##################### # with-feature options -%{!?with_tcp_zebra: %global with_tcp_zebra 0 } %{!?with_pam: %global with_pam 0 } %{!?with_ospfclient: %global with_ospfclient 1 } %{!?with_ospfapi: %global with_ospfapi 1 } @@ -75,12 +74,6 @@ %global with_pimd 0 %endif -# if FPM is enabled, then enable tcp_zebra as well -# -%if %{with_fpm} - %global with_tcp_zebra 1 -%endif - # misc internal defines %{!?frr_uid: %global frr_uid 92 } %{!?frr_gid: %global frr_gid 92 } @@ -234,9 +227,6 @@ developing OSPF-API and frr applications. %if %{with_multipath} --enable-multipath=%{with_multipath} \ %endif -%if %{with_tcp_zebra} - --enable-tcp-zebra \ -%endif --enable-vtysh \ %if %{with_ospfclient} --enable-ospfclient \ |