Commit Graph

34 Commits

Author SHA1 Message Date
Lorenzo Cogotti b57316654b [bgpgrep] Add human readable shorthand for attribute OTC (-attr option). 2023-06-20 09:41:53 +02:00
Lorenzo Cogotti ef77abb25a [tools/bgpgrep] Make filter bytecode generation smarter, take advantage of new optimization opportunities 2021-10-18 12:15:32 +02:00
Lorenzo Cogotti 631ee335d8 [lonetic/bufio,lonetix/bgp,tools/bgpgrep,tools/peerindex] Add support for buffered input 2021-10-15 12:18:35 +02:00
Lorenzo Cogotti 7be90e6e87 [tools/peerindex] Prevent possible clobbering of argc,argv after longjmp() 2021-08-22 10:14:04 +02:00
Lorenzo Cogotti db129a0d39 [lonetix/*,tools/bgpgrep/*] Correct handling of extended timestamps during filtering, decode and dump 2021-08-20 22:37:20 +02:00
Lorenzo Cogotti 39dac63d82 [tools/bgpscanner] Fix -o quoting (and options quoting in case PRETEND=y) 2021-08-11 23:46:55 +02:00
Lorenzo Cogotti 705670d682 [tools/bgpscanner] Make isipv4() return 0 explicit 2021-08-11 18:02:48 +02:00
Lorenzo Cogotti c7a2417499 [tools/bgpscanner] Be more consistent about printf/echo usage 2021-08-10 22:06:51 +02:00
Lorenzo Cogotti a08e54b046 [tools/bgpscanner] One more minor style fix 2021-08-10 20:17:30 +02:00
Lorenzo Cogotti 9c7e4d0be0 [tools/bgpscanner] Minor style fix 2021-08-10 20:12:23 +02:00
Lorenzo Cogotti f9e7ab9972 [tools/bgpscanner] Handle arguments quoting properly 2021-08-10 20:01:01 +02:00
Lorenzo Cogotti c23a29d2da [tools/bgpscanner] Remove safety belts... 2021-08-10 15:05:51 +02:00
Lorenzo Cogotti 48e8e4dd3e [tools/bgpgrep] Fix minor error in man page 2021-08-10 14:28:01 +02:00
Lorenzo Cogotti 91431d94b1 [tools/bgpscanner] Fix chknospc() 2021-08-10 14:01:49 +02:00
Lorenzo Cogotti 81bfac05ae [tools/bgpscanner] Add backwards compatible bgpscanner wrapper 2021-08-10 12:10:17 +02:00
Lorenzo Cogotti cb3fa6e427 [tools/bgpgrep/bgpgrep_compile.c] Fix leftover typo in assert() 2021-08-05 06:30:46 +02:00
Lorenzo Cogotti 7a18fb4211 [tools/bgpgrep/bgpgrep_vmfunc.c] Minor style improvement
Better highlight the fact that n is not big endian format.
2021-08-04 20:07:22 +02:00
Lorenzo Cogotti f222daa08f [tools/bgpgrep] Add bogon ASN filtering option: -bogon-asn 2021-08-04 19:31:11 +02:00
Lorenzo Cogotti 0d6093a74b [tools/peerindex] Add support for -o option 2021-08-03 23:56:05 +02:00
Lorenzo Cogotti 49e4ee3bfa [tools/bgpgrep] Add support for -o option 2021-08-03 23:55:48 +02:00
Lorenzo Cogotti 11dc537d21 [tools/bgpgrep,tools/peerindex] Improve misleading comment 2021-08-01 15:17:24 +02:00
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 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 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 cb5d775869 [tools/bgpgrep] Support __builtin_longjmp() only on GCC 2021-06-08 01:18:12 +02:00
Lorenzo Cogotti b0ef4dd774 [*] Initial commit 2021-06-07 16:55:13 +02:00