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.
2 years ago
Lorenzo Cogotti
f214c5e42d
[lonetix/sys] Only use posix_fadvise() and fdatasync() on Linux.
...
Some platforms don't offer these functions (e.g. Apple).
3 years ago
Lorenzo Cogotti
207924beac
[lonetix/bgp] Fix Bgp_VmDoBreak() logic for nested BLKs
3 years ago
Lorenzo Cogotti
ef77abb25a
[tools/bgpgrep] Make filter bytecode generation smarter, take advantage of new optimization opportunities
3 years ago
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
3 years ago
Lorenzo Cogotti
45d9b20b9e
[lonetix/bufio] Optimize buffer write operations avoiding copies, also introduce smallbytecopy.h
3 years ago
Lorenzo Cogotti
5ab4cd72a8
[lonetix/bgp] Take advantage of smallbytecopy.h inside Patriecia Tries
3 years ago
Lorenzo Cogotti
914911ba87
[lonetix/bgp] Take advantage of smallbytecopy.h for prefix copies
3 years ago
Lorenzo Cogotti
4eb6e55570
[lonetix/numlib] Make use of smallbytecopy.h for integer conversion result copy
3 years ago
Lorenzo Cogotti
d7c7060cb7
[lonetix/smallbytecopy] Add optimized routines for small byte buffer copies.
3 years ago
Lorenzo Cogotti
bfdde40031
[lonetix/bgp] Check for AGGREGATOR4 presence before checking its correctness
3 years ago
Lorenzo Cogotti
631ee335d8
[lonetic/bufio,lonetix/bgp,tools/bgpgrep,tools/peerindex] Add support for buffered input
3 years ago
Lorenzo Cogotti
3b5b41bf54
[lonetix/strlib] Add convenience function to reverse strings
3 years ago
Lorenzo Cogotti
62d3f846e6
[lonetix/bgp] Add quick access functions for BGP UPDATE fields
3 years ago
Lorenzo Cogotti
4bde2c79a3
[lonetix/lexer] Minor style fix in function signature
3 years ago
Lorenzo Cogotti
de514e8a07
[lonetix/xpt] Minor style fix, do not use uintptr_t directly
3 years ago
Lorenzo Cogotti
a004e014e1
[lonetix/fs] Some fixes to Windows system specific API - implementation still partial
3 years ago
Lorenzo Cogotti
07ffdf5a73
[lonetix/lexer] Fix octal number parsing and minor typo fixes
3 years ago
Lorenzo Cogotti
dbd36e302c
[lonetix/fs] Make Sys_ListFiles() safer when NULL is returned, by clearing *nfiles
3 years ago
Lorenzo Cogotti
c195ecd8d7
[lonetix/fs] Make path extension functions more reliable
3 years ago
Lorenzo Cogotti
7be90e6e87
[tools/peerindex] Prevent possible clobbering of argc,argv after longjmp()
3 years ago
Lorenzo Cogotti
db129a0d39
[lonetix/*,tools/bgpgrep/*] Correct handling of extended timestamps during filtering, decode and dump
3 years ago
Lorenzo Cogotti
39dac63d82
[tools/bgpscanner] Fix -o quoting (and options quoting in case PRETEND=y)
3 years ago
Lorenzo Cogotti
705670d682
[tools/bgpscanner] Make isipv4() return 0 explicit
3 years ago
Lorenzo Cogotti
c7a2417499
[tools/bgpscanner] Be more consistent about printf/echo usage
3 years ago
Lorenzo Cogotti
a08e54b046
[tools/bgpscanner] One more minor style fix
3 years ago
Lorenzo Cogotti
9c7e4d0be0
[tools/bgpscanner] Minor style fix
3 years ago
Lorenzo Cogotti
f9e7ab9972
[tools/bgpscanner] Handle arguments quoting properly
3 years ago
Lorenzo Cogotti
c23a29d2da
[tools/bgpscanner] Remove safety belts...
3 years ago
Lorenzo Cogotti
48e8e4dd3e
[tools/bgpgrep] Fix minor error in man page
3 years ago
Lorenzo Cogotti
91431d94b1
[tools/bgpscanner] Fix chknospc()
3 years ago
Lorenzo Cogotti
cc036e7608
[meson.build] Improve include directories path management with include_directories()
3 years ago
Lorenzo Cogotti
2923f955c3
[meson.build,meson_options.txt] Add options to install the bgpscanner legacy wrapper script
3 years ago
Lorenzo Cogotti
81bfac05ae
[tools/bgpscanner] Add backwards compatible bgpscanner wrapper
3 years ago
Lorenzo Cogotti
73691101ce
[bgp/dump_isolario.c] Respect withColors
3 years ago
Lorenzo Cogotti
cb3fa6e427
[tools/bgpgrep/bgpgrep_compile.c] Fix leftover typo in assert()
3 years ago
Lorenzo Cogotti
7a18fb4211
[tools/bgpgrep/bgpgrep_vmfunc.c] Minor style improvement
...
Better highlight the fact that n is not big endian format.
3 years ago
Lorenzo Cogotti
f222daa08f
[tools/bgpgrep] Add bogon ASN filtering option: -bogon-asn
3 years ago
Lorenzo Cogotti
0d6093a74b
[tools/peerindex] Add support for -o option
3 years ago
Lorenzo Cogotti
49e4ee3bfa
[tools/bgpgrep] Add support for -o option
3 years ago
Lorenzo Cogotti
11dc537d21
[tools/bgpgrep,tools/peerindex] Improve misleading comment
3 years ago
Lorenzo Cogotti
5e43edd273
[tools/peerindex] Improve resource management and error reporting
3 years ago
Lorenzo Cogotti
5b090d605e
[tools/bgpgrep] Factor out code that cleans up current MRT record on success path. Improve code
3 years ago
Lorenzo Cogotti
77469130ed
[tools/bgpgrep] Avoid file handle leak on file drop, minor code refactor
3 years ago
Lorenzo Cogotti
626275d3d5
[README] Mention peerindex inside utilities section
3 years ago
Lorenzo Cogotti
11a1247a94
[peerindex/peerindex.c] Fix MRT record allocator initialization
3 years ago
Lorenzo Cogotti
42ff863599
[peerindex/peerindex.c] Out of range peer indexes do count as errors
3 years ago
Lorenzo Cogotti
4239f2168d
[peerindex/peerindex.1.in] Improve tool description
3 years ago
Lorenzo Cogotti
505df69648
[peerindex/peerindex.1.in] Minor fix to man page formatting, remove mention to bgpgrep
3 years ago
Lorenzo Cogotti
0c745d7f12
[meson.build,meson_options.txt] Add peerindex to meson
3 years ago