Commit Graph

76 Commits

Author SHA1 Message Date
Marek Küthe 90e36b349f
Closes https://codeberg.org/1414codeforge/ubgpsuite/issues/3 2024-05-08 19:02:49 +00:00
Marek Küthe b43b7a66a6
Update links to Codeberg
Signed-off-by: Marek Küthe <m.k@mk16.de>
2024-04-19 11:12:13 +00:00
Lorenzo Cogotti 25707a25d8 [dbg_unix] Make sure to use execinfo.h only when available, fixes #1 2023-06-23 09:26:10 +02:00
Lorenzo Cogotti b57316654b [bgpgrep] Add human readable shorthand for attribute OTC (-attr option). 2023-06-20 09:41:53 +02:00
Lorenzo Cogotti 2ce39190e1 [bgp] Add constant macro for OTC (RFC9234) attribute. 2023-06-20 09:41:53 +02:00
Lorenzo Cogotti d09c5ddee4 [README,doc,meson*] Rework documentation build
* Avoid going through hoops to silently enable docs if doxygen is
  available
* Require build-doc explicitly set to true before scanning for doxygen
* build-doc is conservatively false by default
* Update README
2023-05-25 22:51:22 +02:00
Lorenzo Cogotti 20d0b9bd44 [README] Update meson setup commands.
meson command syntax has changed, update
documentation to reflect this.
2023-05-25 20:11:40 +02:00
Lorenzo Cogotti 10052d7a8d [mem_file] Fix Stm_MemFileWrite() buffer management. 2022-10-03 00:39:27 +02:00
Lorenzo Cogotti bc0db5aeed [cpr] Fix bzip2 decompression over files with multiple streams.
Some bz2 archives contain concatenated streams,
libbz2 returns BZ_STREAM_END with possibly leftover data
on input buffer.
We should support this case gracefully.
2022-10-03 00:34:07 +02:00
Lorenzo Cogotti f214c5e42d [lonetix/sys] Only use posix_fadvise() and fdatasync() on Linux.
Some platforms don't offer these functions (e.g. Apple).
2021-11-06 00:12:07 +01:00
Lorenzo Cogotti 207924beac [lonetix/bgp] Fix Bgp_VmDoBreak() logic for nested BLKs 2021-10-18 16:35:14 +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 ae052ea987 [lonetix/bgp] Optimize BGP VM code by adding more terminating instructions and factorize their code; remove obsolete ASMTCH instruction, redirecting it to FASMTC 2021-10-18 12:14:22 +02:00
Lorenzo Cogotti 45d9b20b9e [lonetix/bufio] Optimize buffer write operations avoiding copies, also introduce smallbytecopy.h 2021-10-18 12:04:07 +02:00
Lorenzo Cogotti 5ab4cd72a8 [lonetix/bgp] Take advantage of smallbytecopy.h inside Patriecia Tries 2021-10-18 12:02:52 +02:00
Lorenzo Cogotti 914911ba87 [lonetix/bgp] Take advantage of smallbytecopy.h for prefix copies 2021-10-18 12:01:11 +02:00
Lorenzo Cogotti 4eb6e55570 [lonetix/numlib] Make use of smallbytecopy.h for integer conversion result copy 2021-10-18 11:58:25 +02:00
Lorenzo Cogotti d7c7060cb7 [lonetix/smallbytecopy] Add optimized routines for small byte buffer copies. 2021-10-18 11:57:17 +02:00
Lorenzo Cogotti bfdde40031 [lonetix/bgp] Check for AGGREGATOR4 presence before checking its correctness 2021-10-18 11:45:17 +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 3b5b41bf54 [lonetix/strlib] Add convenience function to reverse strings 2021-10-15 12:13:01 +02:00
Lorenzo Cogotti 62d3f846e6 [lonetix/bgp] Add quick access functions for BGP UPDATE fields 2021-10-15 12:04:42 +02:00
Lorenzo Cogotti 4bde2c79a3 [lonetix/lexer] Minor style fix in function signature 2021-10-15 11:57:03 +02:00
Lorenzo Cogotti de514e8a07 [lonetix/xpt] Minor style fix, do not use uintptr_t directly 2021-10-15 11:56:30 +02:00
Lorenzo Cogotti a004e014e1 [lonetix/fs] Some fixes to Windows system specific API - implementation still partial 2021-10-15 11:54:23 +02:00
Lorenzo Cogotti 07ffdf5a73 [lonetix/lexer] Fix octal number parsing and minor typo fixes 2021-10-15 11:52:12 +02:00
Lorenzo Cogotti dbd36e302c [lonetix/fs] Make Sys_ListFiles() safer when NULL is returned, by clearing *nfiles 2021-10-15 11:51:14 +02:00
Lorenzo Cogotti c195ecd8d7 [lonetix/fs] Make path extension functions more reliable 2021-10-15 11:45:53 +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 cc036e7608 [meson.build] Improve include directories path management with include_directories() 2021-08-10 12:35:16 +02:00
Lorenzo Cogotti 2923f955c3 [meson.build,meson_options.txt] Add options to install the bgpscanner legacy wrapper script 2021-08-10 12:34:11 +02:00
Lorenzo Cogotti 81bfac05ae [tools/bgpscanner] Add backwards compatible bgpscanner wrapper 2021-08-10 12:10:17 +02:00
Lorenzo Cogotti 73691101ce [bgp/dump_isolario.c] Respect withColors 2021-08-06 01:27:13 +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