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

Add DecIpv4Hop and DecIpv6Hop Elements #87

Merged
merged 2 commits into from
Aug 31, 2019
Merged

Conversation

eeverett6
Copy link
Contributor

Adds an element to decrement the TTL of an IPv4 packet. Adds a
dependency on smoltcp for packet processing.

This is one of the basic transformation elements from the Click paper,
see #14

@eeverett6
Copy link
Contributor Author

Wanted to get a trivial networking element in to make sure we're all on the same page. I'm not sure this belongs in the runtime, but I know it's one of the basic elements we'll want to provide.

The warning generated in smoltcp seems to be referenced here, but nowhere else I can find: smoltcp-rs/smoltcp#242

@CollinValley
Copy link
Contributor

This is basically exactly what I was thinking. I think we are on the same page here. This could become an element on it's own if you want to resubmit the PR,. I'm not enamored with the name DecIPTTLElement, but renaming is easy to do later too.

@eeverett6 eeverett6 marked this pull request as ready for review August 30, 2019 04:29
@eeverett6
Copy link
Contributor Author

@scgruber just want to check with you as well before adding 0BSD as a compatible license for our dependencies.

@eeverett6 eeverett6 changed the title Add DecIPTTL Element for IPv4 Add DecIpv4Hop and DecIpv6Hop Elements Aug 30, 2019
CollinValley
CollinValley previously approved these changes Aug 30, 2019
Copy link
Contributor

@CollinValley CollinValley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approve these changes, but I would like to get a 👍 from @scgruber about adding the new acceptable license. This one seems compatible with our license schema from my reading but I'd like another pass from someone more versed.

@CollinValley CollinValley added this to Review in progress in Early Buildout Aug 31, 2019
route-rs-runtime/src/element/dec_ip_hop.rs Outdated Show resolved Hide resolved
deny.toml Show resolved Hide resolved
route-rs-runtime/Cargo.toml Show resolved Hide resolved
route-rs-runtime/src/element/dec_ip_hop.rs Outdated Show resolved Hide resolved
route-rs-runtime/src/element/dec_ip_hop.rs Outdated Show resolved Hide resolved
route-rs-runtime/src/element/dec_ip_hop.rs Outdated Show resolved Hide resolved
route-rs-runtime/src/element/dec_ip_hop.rs Show resolved Hide resolved
route-rs-runtime/src/element/mod.rs Show resolved Hide resolved
Adds elements to decrement the TTL of IPv4 and Ipv6 elements. Adds a
dependency on smoltcp for packet processing.

This is one of the basic transformation elements from the Click paper
(DecIPTTL), see #14
@scgruber scgruber merged commit 13660b7 into master Aug 31, 2019
Early Buildout automation moved this from Review in progress to Done Aug 31, 2019
@CollinValley CollinValley deleted the eeverett-dec-ip-ttl-element branch September 18, 2019 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants