Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update etherparse requirement from 0.10.1 to 0.13.0 #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Dec 6, 2022

Updates the requirements on etherparse to permit the latest version.

Release notes

Sourced from etherparse's releases.

Switched license to MIT OR Apache-2.0

The open source license is switched from the "BSD 3 Clause License" to "MIT or Apache 2.0" with version 0.13.0 to make the library easier to use in command line tools.

No code changes are present in this release.

Changelog

Sourced from etherparse's changelog.

Changelog:

0.12.0

  • Add payload_ether_type method to SlicedPacket & PacketHeaders

0.11.0

New Features:

  • Added partial ICMP and ICMPv6 support (thanks to @​robs-zeynet for the PR with the initial implementation).
  • Added PacketBuilder::<IpHeader>::write that allows writing without specifying a transport protocol (thanks to @​karpawich for the PR)
  • Added functions SlicedPacket::from_ether_type & PacketHeaders::from_ether_type to slice & decode messages based on the starting ether type
  • IpHeader::set_payload_len added to set the length fields in the ip header (thanks to @​agrover for the PR).
  • InternetSlice::is_fragmenting_payload added to check for fragmentation (thanks to @​agrover for the PR).

Breaking Changes:

  • Ipv4Header::new changed protocol argument type from IpNumber to u8.
  • TransportHeader::Icmpv4 & TransportHeader::Icmpv6 enum values added
  • TransportSlice::Icmpv4& TransportSlice::Icmpv6 enum values added

0.10.1: Corrected Fragmentation Handling, Additional IP Extension Headers Support & Qualitiy of Life Improvements

With this version the support for IPv6 gets extended and bugs in the parsing of fragmented packets as well as authentification headers are fixed. Additionally a bunch of performance improvements are included and new methods have been added (e.g. the method to_bytes for headers with static sizes).

It has been almost two years since the last update and I think it is fair to say that I underestimated the effort it would take to introduce partial support for IPv6 extension headers. As it was so long sice the last update a bunch of changes have piled on. This also means there are some breaking changes in this version.

The next versions will hopefully be smaller and contain some qualitiy of life improvements.

Special thanks to @​Bren2010 for reporting the errors with fragmented packets.

Extension headers added to IpHeader & InternetSlice

With the added support for authentification headers (for both IPV4 and IPV6) and additional IPV6 extension headers support a place to store the results when parsing headers or slicing them had be chosen. After some though I decided to put the results into the enum values as a second argument.

So the signature of IpHeader has changed from

pub enum IpHeader {
    Version4(Ipv4Header),
    Version6(Ipv6Header)
}

to

pub enum IpHeader {
    Version4(Ipv4Header, Ipv4Extensions),
</tr></table> 

... (truncated)

Commits
  • 05ac511 Restricted branch builds for coverage to master
  • 55b5692 Added github action build variants and restricted branch builds to master
  • 6123935 Reduce appveyor to only 32 bit stable windows builds
  • 9755a37 Added Apache 2.0 and MIT LICENSE files
  • 9db30d5 Switched from BSD-3-Clause to either MIT or Apache 2.0
  • aebf1a5 Updated for 0.12.0 release
  • 6be2b7d Added payload_ether_type to PacketHeaders
  • 2a1e65a Added payload_ether_type to SlicedPacket
  • 118dd6c Updated changelog
  • d93dec4 Updated changelog
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [etherparse](https://github.com/JulianSchmid/etherparse) to permit the latest version.
- [Release notes](https://github.com/JulianSchmid/etherparse/releases)
- [Changelog](https://github.com/JulianSchmid/etherparse/blob/master/changelog.md)
- [Commits](JulianSchmid/etherparse@0.10.1...v0.13.0)

---
updated-dependencies:
- dependency-name: etherparse
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants