mesalock-linux / mesabox

A collection of core system utilities written in Rust for Unix-like systems (and now Windows)
BSD 3-Clause "New" or "Revised" License
137 stars 19 forks source link

Add networking/traceroute #48

Open Arcterus opened 5 years ago

Arcterus commented 5 years ago

TCP and IPv6 support still need to be added (AFAICT my ISP doesn't support IPv6 so I can't really test it even if I added support). TCP was giving me issues so I have decided to shelve it for now (we can probably just open an issue so someone can come along and work on it later).

There are some FIXMEs and such still in the code that I haven't yet gotten around to fixing. Several are regarding output formatting (like what to do when the first connection times out by the second connection attempt to the same hop succeeds), but one or two involve malformed packets.

codecov[bot] commented 5 years ago

Codecov Report

Merging #48 into master will decrease coverage by 0.41%. The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #48      +/-   ##
==========================================
- Coverage   19.73%   19.32%   -0.42%     
==========================================
  Files          46       47       +1     
  Lines        4677     4912     +235     
  Branches     1083     1158      +75     
==========================================
+ Hits          923      949      +26     
- Misses       3367     3565     +198     
- Partials      387      398      +11
Impacted Files Coverage Δ
libmesabox/src/lib.rs 59.01% <ø> (ø) :arrow_up:
libmesabox/src/networking/traceroute.rs 0% <0%> (ø)
libmesabox/src/util/platform/unix.rs 0% <0%> (ø) :arrow_up:
libmesabox/src/posix/sh/parser.rs 0% <0%> (ø) :arrow_up:
libmesabox/src/networking/ping/mod.rs 0% <0%> (ø) :arrow_up:
libmesabox/src/lsb/tar/mod.rs 0% <0%> (ø) :arrow_up:
libmesabox/src/posix/chmod.rs 24.11% <0%> (+0.14%) :arrow_up:
libmesabox/src/util/mod.rs 53.68% <0%> (+0.49%) :arrow_up:
libmesabox/src/posix/sh/mod.rs 32.28% <0%> (+0.74%) :arrow_up:
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 30be44a...2e32c99. Read the comment docs.