Go to file
Quentin Young 470bc61919
watchfrr, vtysh: do not write config during crash
If a daemon is restarting, crashed, or otherwise in the process of
reconnecting to watchfrr and a user issues "write memory" or "write
file" the resulting config will not include the configuration of that
daemon. This is problematic because this output will overwrite the
previous config, potentially causing unintentional loss of configuration
stored only in the config file based upon timing.

This patch remedies that by making watchfrr check that all daemons are
up before attempting a configuration write, and updating vtysh so that
its failsafe respects this condition as well.

Note that this issue only manifests when using integrated config.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-03-21 03:11:02 -04:00
alpine docker build: build Alpine Linux dev packages in docker 2018-03-19 13:05:26 -07:00
babeld *: Track vrfs per nexthop not per route entry 2018-02-08 19:35:53 -05:00
bgpd Merge pull request #1913 from LabNConsulting/working/master/bgp-vpn-leak-cli 2018-03-20 13:26:48 -04:00
debianpkg debianpkg: Fix - need to always run dh_gencontrol 2018-03-17 10:16:42 -07:00
doc Merge pull request #1937 from LabNConsulting/working/master/bgp-vpn-leak-doc 2018-03-20 13:08:56 -04:00
docker docker build: build Alpine Linux dev packages in docker 2018-03-19 13:05:26 -07:00
eigrpd *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
fpm build: clean up BUILT_SOURCES 2017-08-04 11:13:55 +02:00
gdb gdb: Add a directory of files with gdb macros 2016-05-26 15:33:30 +00:00
include *: PBR - netlink interaction and basic definitions 2018-03-09 11:07:41 -05:00
init build: delete .cvsignore files 2011-12-13 14:27:01 +04:00
isisd Merge pull request #1925 from opensourcerouting/bugfix-isis_bpf_read 2018-03-19 10:13:35 -04:00
ldpd *: globally ignore clippy-generated source 2018-03-09 17:52:15 -05:00
lib Merge pull request #1913 from LabNConsulting/working/master/bgp-vpn-leak-cli 2018-03-20 13:26:48 -04:00
m4 build: non-recursive auxiliary directories 2017-07-31 23:03:30 +02:00
nhrpd *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
ospf6d ospf6d: Stop debug messages happening in rare case 2018-03-13 21:06:04 -04:00
ospfclient Merge pull request #911 from opensourcerouting/non-recursive-2 2017-08-09 14:38:07 -04:00
ospfd Merge branch 'master' into working/master/bgp-vpn-vrf-leaking 2018-03-14 13:31:58 -07:00
pimd pimd: Fix leaked fd and prevent null pointer deref 2018-03-19 09:18:10 -04:00
pkgsrc *: Remove cvs control points 2017-12-05 17:28:12 -05:00
ports pimd: merge pimd as of 2015-01-19 2016-05-25 20:38:32 -04:00
python zebra: unify the ipv4/ipv6 'show ip route' commands - part 1/2 2017-10-24 10:12:40 -02:00
qpb *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
redhat redhat: enable dist tarball to build in a chroot 2018-03-19 11:37:58 -07:00
ripd *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
ripngd *: Track vrfs per nexthop not per route entry 2018-02-08 19:35:53 -05:00
sharpd sharpd: Add ability to register for nht 2018-03-16 12:27:22 -04:00
snapcraft build: non-recursive auxiliary directories 2017-07-31 23:03:30 +02:00
solaris gitignore: update references to FRR 2017-07-12 11:55:04 -05:00
tests Merge pull request #1830 from opensourcerouting/isis-three-way-adj 2018-03-14 08:22:18 -04:00
tools Merge pull request #1898 from opensourcerouting/reload-helper2 2018-03-17 07:18:51 -04:00
vtysh watchfrr, vtysh: do not write config during crash 2018-03-21 03:11:02 -04:00
watchfrr watchfrr, vtysh: do not write config during crash 2018-03-21 03:11:02 -04:00
zebra Merge pull request #1913 from LabNConsulting/working/master/bgp-vpn-leak-cli 2018-03-20 13:26:48 -04:00
.clang-format ospfd: LSDB_LOOP treat it as a loop. 2018-01-17 13:29:58 -05:00
.dir-locals.el .dir-locals.el: show trailing whitespace 2017-11-07 12:05:09 -05:00
.gitignore *: globally ignore clippy-generated source 2018-03-09 17:52:15 -05:00
AUTHORS Initial revision 2002-12-13 20:15:29 +00:00
bootstrap.sh autoreconf -i 2007-02-06 19:28:28 +00:00
buildtest.sh config: switch a few references to say FRR 2017-07-12 11:25:33 -05:00
ChangeLog Rename: freerangerouting --> frrouting 2017-03-30 14:24:05 -04:00
common.am python/clippy: make output file writing less weird 2017-08-24 00:18:53 +02:00
COMMUNITY.md FRR: Update Community.md to reflect release process 2018-02-22 08:48:45 -05:00
configure.ac Merge branch 'master' into docuser 2018-03-13 12:08:38 -04:00
COPYING *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
COPYING-LGPLv2.1 build: remove LGPL v2.0, add LGPL v2.1 2016-11-15 17:19:38 +09:00
defaults.h *: reindent 2017-07-17 14:04:07 +02:00
Makefile.am Makefile.am: Add 'make indent' target 2018-03-06 13:58:54 -05:00
NEWS release: 0.99.24 2016-06-03 15:56:44 -04:00
README frr: update README 2018-01-16 15:54:32 -05:00
README.NetBSD config: switch a few references to say FRR 2017-07-12 11:25:33 -05:00
REPORTING-BUGS config: switch a few references to say FRR 2017-07-12 11:25:33 -05:00
SERVICES babeld/eigrpd: flip VTY ports & fix rpm 2017-06-13 14:36:55 +02:00
stamp-h.in Initial revision 2002-12-13 20:15:29 +00:00
update-autotools * README.NetBSD: use update-autotools instead of autoreconf 2007-02-02 16:52:38 +00:00

FRRouting is free software that implements and manages various IPv4 and IPv6
routing protocols.

Currently FRRouting supports BGP4, BGP4+, OSPFv2, OSPFv3, RIPv1, RIPv2, RIPng,
IS-IS, PIM-SM/MSDP, LDP and Babel as well as very early support for EIGRP and
NHRP.

See the file REPORTING-BUGS to report bugs.

See COMMUNITY.md for information on contributing.

Free RRRouting is free software. See the file COPYING for copying conditions.

Public email discussion can be found at https://lists.frrouting.org/listinfo

Our public slack channel is at https://frrouting.slack.com