|
|
@5325ff0
|
2 years |
jacobvw |
Make sure we dont add the IP header to the layer2_headers structure
develop
|
|
|
@b9af56e
|
2 years |
jacobvw |
Fix merge conflict
develop
|
|
|
@5e5b6ca
|
2 years |
jacobvw |
Allocate space for 10 headers at a time rather than calling realloc …
develop
|
|
|
@fc85f33
|
2 years |
salcock |
Merge branch 'master' of git://github.com/markzz/libtrace into …
develop
|
|
|
@5cdb37d
|
2 years |
noreply |
Merge pull request #101 from jacobvw/meta-api
Meta API
develop
|
|
|
@4e5a51f
|
2 years |
jcv9 |
Structs mapped directly to a packet/file are now packed.
Replaced …
develop
|
|
|
@58c226e
|
2 years |
jcv9 |
Move function descriptions to the correct header file, Revert …
develop
|
|
|
@7b4f5e2
|
2 years |
jcv9 |
cleanup trace_get_interface ipv4 and ipv6 functions
develop
|
|
|
@a0e5b65
|
2 years |
jcv9 |
NULL terminate all strings returned from the meta API
develop
|
|
|
@e0f2dca
|
2 years |
jcv9 |
Fix posible memory leaks, Add missing TRACE_ERR_OUT_OF_MEMORY err code
develop
|
|
|
@4d253ae
|
2 years |
jcv9 |
Ensure trace_get_meta_option() returns all occurances of the requested …
develop
|
|
|
@a86d10e
|
2 years |
jcv9 |
byte ordering is handling by the format
develop
|
|
|
@6f6fcbb
|
2 years |
jcv9 |
Improve names for ERF sections
develop
|
|
|
@c876f29
|
2 years |
jcv9 |
Resolve merge conflict attempt 2
develop
|
|
|
@db919d5
|
2 years |
jcv9 |
Resolve merge conflict
develop
|
|
|
@692bf9c
|
2 years |
jcv9 |
Add support to retrieve outermost vlan tag, outermost mpls label, and …
develop
|
|
|
@4e9be84
|
2 years |
jcv9 |
Remove old unused meta-api result structure
develop
|
|
|
@0cc91ee
|
2 years |
jcv9 |
Meta-API - Keep ip4 address in network byte order, Cleanup bits and pieces
develop
|
|
|
@0af3a4e
|
2 years |
jcv9 |
ERF can contain multiple occurances of the same section per meta …
develop
|
|
|
@254c926
|
2 years |
jcv9 |
Cleanup some duplicate code, Added datatype/option_name for …
develop
|
|
|
@d0f25d4
|
2 years |
jcv9 |
Add ERF and PCAPNG decoders to libpacketdump
develop
|
|
|
@23d263a
|
2 years |
jcv9 |
Dont forget to add format_pcapng.h header file
develop
|
|
|
@ddad48c
|
2 years |
jcv9 |
Convert ip4 and fcs length to host byte ordering
develop
|
|
|
@b27ed21
|
2 years |
jcv9 |
Add datatype enum to libtrace_meta_item_t structure, Convert interface …
develop
|
|
|
@c8171e5
|
2 years |
jcv9 |
Add specific ERF meta-api functions trace_get_erf_dag_card_model, …
develop
|
|
|
@66ffac4
|
2 years |
jcv9 |
Add more meta functions, cleanup function names, DLLEXPORT all …
develop
|
|
|
@8a6910b
|
2 years |
mark.weiman |
trace_post_reporter(): fully initialize message
Valgrind complains …
develop
|
|
|
@d4eed70
|
2 years |
jcv9 |
Add config option TRACE_OPTION_DISCARD_META
develop
|
|
|
@d51e5d0
|
2 years |
jcv9 |
fix trace_get_section_option prototype typo
develop
|
|
|
@ef5ba20
|
2 years |
jcv9 |
add abilty to get custom option from meta packets, add abilty to get …
develop
|
|
|
@e9fe6ac
|
2 years |
salcock |
Use a #defined constant for SLL header size
develop
|
|
|
@be1b03a
|
2 years |
salcock |
Fix header files that are missing header guards
develop
|
|
|
@4d390c0
|
2 years |
salcock |
Fix warnings when building format_dpdk.c
develop
|
|
|
@063d5dd
|
2 years |
salcock |
pcapng: don't try to read section headers that are bigger than our …
develop
|
|
|
@629b19b
|
2 years |
jcv9 |
Use ERF model for trace_get_interface_hardware_description()
develop
|
|
|
@cbd77bd
|
2 years |
jcv9 |
Fallback to packet callback if meta callback is not defined
develop
|
|
|
@7aa03d9
|
2 years |
jcv9 |
Check for NULL packet buffer in get_meta_data(), Make sure not to read …
develop
|
|
|
@385678b
|
2 years |
salcock |
Don't try to guess layer2 payload type when no payload exists.
Fixes #91.
develop
|
|
|
@2f9b609
|
2 years |
salcock |
Exit trace_get_layer2() early if the meta layer is NULL.
Fixes #93.
develop
|
|
|
@d0941cc
|
2 years |
salcock |
Fix potential underflow when calculating wire length of pcap packets.
…
develop
|
|
|
@15f32cb
|
2 years |
salcock |
Fix potential buffer overflow in pcapng:
Fixes #95.
develop
|
|
|
@5460603
|
2 years |
salcock |
Fix potential buffer overflow in pcapfile: reading code.
Fixes #97.
develop
|
|
|
@6b7a958
|
2 years |
salcock |
If pcap payload is NULL, then wire length must be zero.
Fixes #90.
develop
|
|
|
@2d16fc7
|
2 years |
salcock |
Make sure we have four bytes of ERF payload before probing contents.
…
develop
|
|
|
@e7132d6
|
2 years |
jcv9 |
improvements to meta-api
develop
|
|
|
@977e0db
|
2 years |
jcv9 |
Add meta api for erf and pcapng meta packets
develop
|
|
|
@e0d922a
|
2 years |
salcock |
Make sure ERF packet has a header before trying to access fields in …
develop
|
|
|
@2a1eebc
|
2 years |
salcock |
Don't get unhappy if a pcap packet has a wire length of 65534
Our …
develop
|
|
|
@d83006c
|
2 years |
salcock |
Fix bad use of logical ORs in format_pcapng.c
develop
|
|
|
@9a792a9
|
2 years |
salcock |
Disable unused pcapng parsing functions.
This is mainly to suppress …
develop
|
|
|
@4854e88
|
2 years |
salcock |
Don't return uninitialised timevals / timespecs on error
Bug was …
develop
|
|
|
@6d2a120
|
2 years |
salcock |
Fix unused "err" warning in trace_set_hasher()
develop
|
|
|
@3c828b8
|
2 years |
jcv9 |
Ensure provenance records are correctly tagged
develop
|
|
|
@fce4572
|
2 years |
salcock |
Add more failure cases to "can_write" functions for some formats.
…
develop
|
|
|
@32de4c7
|
2 years |
salcock |
Merge branch 'pcapng_write' of git://github.com/jacobvw/libtrace into …
develop
|
|
|
@5fe998b
|
2 years |
salcock |
Make sure we zero any filter structures we allocate
This fixes …
develop
|
|
|
@62b2d97
|
2 years |
jcv9 |
Add callback for meta packets
develop
|
|
|
@d0bc7e2
|
2 years |
salcock |
Merge branch '87' of git://github.com/jacobvw/libtrace into jacobvw-87
develop
|
|
|
@6514097
|
2 years |
salcock |
ndag: when reporting a unknown config option id, include the id.
develop
|
|
|
@29760bc
|
2 years |
salcock |
Clear error in trace_set_hasher() before resolving the problem
If the …
develop
|
|
|
@f47025d
|
2 years |
jcv9 |
Improve options/custom options byteswapping
develop
|
|
|
@3dc6ed6
|
2 years |
jcv9 |
Add functions to byteswap each packet type of pcapng
develop
|
|
|
@aceeda6
|
2 years |
jcv9 |
Add some checks to prevent segfaults with dead traces
develop
|
|
|
@b39eaee
|
2 years |
jcv9 |
cleanup some code and handle some cases where fields need to be byteswapped
develop
|
|
|
@9a6bdbc
|
2 years |
jcv9 |
Added can_write functions to each output format, Fixed …
develop
|
|
|
@979ab1a0
|
2 years |
jcv9 |
Remove debugging message
develop
|
|
|
@ca01854
|
2 years |
jcv9 |
Make sure lastdlt is initialised
develop
|
|
|
@49f8ceb
|
2 years |
jcv9 |
Fix incorrect type id for pcapng_meta, fix compiler warnings
develop
|
|
|
@ebd6275
|
2 years |
jcv9 |
pcapng do not try to write unknown and meta packets, cleanup the code
develop
|
|
|
@d9ca546
|
2 years |
jcv9 |
Add write support for pcapng
develop
|
|
|
@630460b
|
2 years |
jcv9 |
FORMAT_DATA filter should point to the copied one
develop
|
|
|
@8df87c4
|
2 years |
jcv9 |
Instead we should still copy the filter but make sure its freed when …
develop
|
|
|
@6327ce6
|
2 years |
jcv9 |
Fix memory leak when configuring bpf filters issue #87
develop
|
|
|
@b359a11
|
2 years |
salcock |
Fix uninitialised ETSI live sockets bug
If we ever had to extend the …
develop
|
|
|
@1668208
|
2 years |
salcock |
Force compiler to use gnu99 standard where possible
Older gccs don't …
develop
|
|
|
@ccabd47
|
2 years |
salcock |
Update format_etsilive.c to work with new cached data structure
develop
|
|
|
@8c5c550
|
2 years |
salcock |
Fix build errors introduced recently in format_dag25.c
develop
|
|
|
@10fd24b
|
2 years |
salcock |
Update format_dpdk.c to handle new cached packet data structure.
develop
|
|
|
@d439067
|
2 years |
salcock |
Move packet cached fields into a distinct structure.
This will help …
develop
|
|
|
@418c78d
|
2 years |
salcock |
Add TRACE_OPTION_CONSTANT_ERF_FRAMING into remaining formats.
These …
develop
|
|
|
@509ee47
|
2 years |
salcock |
Add option to allow users to specify a constant ERF framing length.
…
develop
|
|
|
@54ef438
|
2 years |
salcock |
ndag: just read one "batch" of packets per pread call
Previously, we …
develop
|
|
|
@c337c9f9
|
2 years |
salcock |
Try to tidy up erf_get_framing_length()
A compiler might have better …
develop
|
|
|
@8a58afd
|
2 years |
salcock |
format_ndag: only call FD_ZERO if we're going to use the fd set
A …
develop
|
|
|
@9c46b65
|
2 years |
salcock |
Fix bug where trace_pstop had stopped working as intended.
Bug crept …
develop
|
|
|
@5964f52
|
2 years |
rsanger |
Fix for issue #86 clobbered LDFLAGS
Save a copy of linker and …
develop
|
|
|
@5141cd6
|
2 years |
rsanger |
Fix build error from when asserts were removed
develop
|
|
|
@9b92664
|
2 years |
noreply |
Merge pull request #85 from jacobvw/pcap
Check the pcap output …
develop
|
|
|
@c434445
|
2 years |
jcv9 |
Check the pcap output device/trace before closing it
develop
|
|
|
@9c86dee
|
2 years |
jcv9 |
trace_create_dead not initialising startcount
develop
|
|
|
@c337c62f
|
2 years |
salcock |
Fix bad git conflict that crept into ring: source code :/
develop
|
|
|
@d7d3267
|
2 years |
salcock |
Merge branch 'master' of git://github.com/jacobvw/libtrace into …
develop
|
|
|
@fdf23b8
|
2 years |
jcv9 |
Fix typo and remove spammy error message
develop
|
|
|
@2193905
|
2 years |
jcv9 |
Apply changes required for pull request #81
develop
|
|
|
@1ed3f1e
|
2 years |
jcv9 |
Prevent trace_construct_packet creating packets will invalid linktype
develop
|
|
|
@b6ff245
|
2 years |
jcv9 |
cleanup
develop
|
|
|
@0a474e3
|
2 years |
jcv9 |
And more..
develop
|
|
|
@88b9798
|
2 years |
jcv9 |
More assertion cleanups
develop
|
|
|
@f6f3ae5
|
2 years |
jcv9 |
Assertion cleanup
develop
|
|
|
@2ceec6a
|
2 years |
jcv9 |
Assertion cleanups
develop
|
|
|