JulianSchmid / etherparse

A rust library for parsing ethernet & ethernet using protocols.
Apache License 2.0
285 stars 54 forks source link

Reworked layer slicing to include payloads & add lax parsing methods #71

Closed JulianSchmid closed 5 months ago

JulianSchmid commented 11 months ago

Implements https://github.com/JulianSchmid/etherparse/issues/46

Lax Parsing with invalid length fields:

Lax Parsing with support for LenErrors & ContentErrors in later headers

Provide Lax Packet parsing

codecov[bot] commented 11 months ago

Codecov Report

Attention: 154 lines in your changes are missing coverage. Please review.

Comparison is base (4c6c586) 0.00% compared to head (3a1da93) 97.74%.

:exclamation: Current head 3a1da93 differs from pull request most recent head e440268. Consider uploading reports for the commit e440268 to get more accurate results

Files Patch % Lines
etherparse/src/sliced_packet.rs 66.40% 126 Missing :warning:
etherparse/src/internet/ipv6_exts.rs 98.92% 16 Missing :warning:
etherparse/src/packet_filter.rs 98.49% 10 Missing :warning:
etherparse/src/err/ip/headers_error.rs 98.55% 1 Missing :warning:
etherparse/src/packet_builder.rs 99.93% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #71 +/- ## =========================================== + Coverage 0 97.74% +97.74% =========================================== Files 0 135 +135 Lines 0 38410 +38410 =========================================== + Hits 0 37542 +37542 - Misses 0 868 +868 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.