Commit Graph

27 Commits

Author SHA1 Message Date
Lorenzo Cogotti 5e43edd273 [tools/peerindex] Improve resource management and error reporting 2021-08-01 15:10:31 +02:00
Lorenzo Cogotti 5b090d605e [tools/bgpgrep] Factor out code that cleans up current MRT record on success path. Improve code 2021-08-01 15:09:45 +02:00
Lorenzo Cogotti 77469130ed [tools/bgpgrep] Avoid file handle leak on file drop, minor code refactor 2021-08-01 13:41:01 +02:00
Lorenzo Cogotti 626275d3d5 [README] Mention peerindex inside utilities section 2021-07-27 23:34:00 +02:00
Lorenzo Cogotti 11a1247a94 [peerindex/peerindex.c] Fix MRT record allocator initialization 2021-07-27 16:45:53 +02:00
Lorenzo Cogotti 42ff863599 [peerindex/peerindex.c] Out of range peer indexes do count as errors 2021-07-27 16:43:27 +02:00
Lorenzo Cogotti 4239f2168d [peerindex/peerindex.1.in] Improve tool description 2021-07-27 16:42:37 +02:00
Lorenzo Cogotti 505df69648 [peerindex/peerindex.1.in] Minor fix to man page formatting, remove mention to bgpgrep 2021-07-27 16:11:15 +02:00
Lorenzo Cogotti 0c745d7f12 [meson.build,meson_options.txt] Add peerindex to meson 2021-07-27 16:07:02 +02:00
Lorenzo Cogotti e60c9bd4f3 [tools/peerindex] Add PEER INDEX TABLE inspection tool: peerindex 2021-07-27 16:06:19 +02:00
Lorenzo Cogotti 49abfa2154 [bgpgrep/bgpgrep_vmfunc] Move guard after foundLoop=FALSE 2021-06-08 23:59:57 +02:00
Lorenzo Cogotti 609620c058 [bgpgrep/bgpgrep_vmfunc] Make -loops check for appropriate BGP message type 2021-06-08 23:50:38 +02:00
Lorenzo Cogotti 85c59f7514 [bgpgrep/bgpgrep_compile] Fix typo 2021-06-08 23:16:00 +02:00
Lorenzo Cogotti 6de065b5e6 [bgp/dump_isolario] Make sure BGP data is valid when dumping BGP4MP, print corruption warning when it is not 2021-06-08 22:11:50 +02:00
Lorenzo Cogotti 3ab2e69bb2 [bgp/attribute] Make sure EXTENDED attribute bit is off when clearing MP_UNREACH_NLRI during RIB rebuild 2021-06-08 11:08:36 +02:00
Lorenzo Cogotti dd57ccac53 [bgp/bgp] Minor style improvement 2021-06-08 11:07:55 +02:00
Lorenzo Cogotti 26996e1a8a [bgp/prefix] Minor style improvement 2021-06-08 11:07:23 +02:00
Lorenzo Cogotti 31d0c806be [bgp/vm] Minor whitespace fix 2021-06-08 11:05:34 +02:00
Lorenzo Cogotti cb5d775869 [tools/bgpgrep] Support __builtin_longjmp() only on GCC 2021-06-08 01:18:12 +02:00
Lorenzo Cogotti 01c4311eb7 [bgp/attribute] Make sure cleared MP_UNREACH_NLRI attribute size is consistent when rebuilding RIBs 2021-06-08 00:50:12 +02:00
Lorenzo Cogotti ac6c224f72 [bgp/attribute] Fix NEXT_HOP iterator switch 2021-06-08 00:40:35 +02:00
Lorenzo Cogotti 2480f1fa75 [bgp/vm] Drop vm->isRunning and other metadata, Bgp_VmExec() could leave the VM in an inconsistent state on longjmp(), causing troubles 2021-06-08 00:07:48 +02:00
Lorenzo Cogotti 739f798d11 [vm.c,vm_asmtch.c] Move match result PUSH to Bgp_VmStoreMsgTypeMatch() 2021-06-08 00:01:50 +02:00
Lorenzo Cogotti 3bf9ff9dc4 [dump_isolario] Add KEEPALIVE dump to updates 2021-06-07 23:59:26 +02:00
Lorenzo Cogotti 6c47814908 [README] Improve documentation for Doxygen 2021-06-07 18:07:03 +02:00
Lorenzo Cogotti 96e04f5b3a [README] Improve README with build instructions 2021-06-07 17:17:46 +02:00
Lorenzo Cogotti b0ef4dd774 [*] Initial commit 2021-06-07 16:55:13 +02:00