LibtraceTeam / libtrace

C Library for working with network packet traces
GNU Lesser General Public License v3.0
155 stars 50 forks source link

DAG transmit output does not align records correctly or support extension headers #62

Open antcodd opened 6 years ago

antcodd commented 6 years ago

DAG transmit in format_dag25 is somewhat broken:

l4dri4l commented 5 years ago

+1, when using erf:out.erf, the DAG cards does not transmit the traces, due to the misalignment. Any idea on how to simply fix it?

salcock commented 5 years ago

There is a PR with a proposed fix here -- I've had a chance to test it out properly yet but you could try patching that change in and see if it works for you?

l4dri4l commented 5 years ago

Hi salcock ! Thanks for your reply ! I patched the lib this morning, still doesn't work, but what bugs me is that it doesn't even work on properly aligned erf files... I'll continue to look into it and keep you advised