Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Tags: mozilla/mtu

Tags

Verified

This tag was signed with the committer’s verified signature.
mxinden Max Inden

v0.2.8

Toggle v0.2.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: Draft a `0.2.8` release (#125)

v0.2.7

Toggle v0.2.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: Android support (#96)

* feat: Android support

WIP

* Fix

* Debug

* Again

* Again

* Again

* Again

* Again

* Again

* Again

* Again

* Again

* Again

* Again

* Again

* Again

* Again

* Again

* Again

* Again

* Again

* Again

* Bump version

* Again

* armv7

* armv7-linux-androideabi

* Again

* Again

* More

* ifconfig

* Again

* Debug

* Again

* Again

* Again

* printf

* tr

* Again

* Again

* Test

* Again

* Again

* Again

* Again

* Again

* output

* Fix test

* Debug

* test

* condition

* Again

* Fix

* Finalize

* MSRV

Verified

This tag was signed with the committer’s verified signature.
mxinden Max Inden

v0.2.5

Toggle v0.2.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(build.rs): use CARGO_CFG_TARGET_OS and target_os android (#81)

In a `build.rs` file `cfg(target_os = "linux")` refers to the target OS of the
`build.rs` binary. The environment variable `CARGO_CFG_TARGET_OS` refers to the
target OS of the final binary.

When cross-compiling, the target OS of the `build.rs` binary and the target OS
of the final binary are not the same. The `mtu`'s `build.rs` should use
`CARGO_CFG_TARGET_OS`.

In addition, `cfg(target_os = "linux")` does not include `android`. This
commit `cfg`s `linux` and `android` everywhere.

v0.2.4

Toggle v0.2.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: v0.2.4 (#74)

v0.2.3

Toggle v0.2.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: Solaris support (#45)

* feat: Solaris support

WIP

* Fixes

* More llvm

* `set -e -x`

* Again

* More

* Again

* Again

* Again

* More

* Again

* Again

* Again

* Minimize diff

* Cleanup

* Don't sync `target` back to host

* Update src/bsd.rs

Co-authored-by: Max Inden <mail@max-inden.de>

* Suggestions from @mxinden

* libc@0.2.158

* Fix mozbuild

---------

Co-authored-by: Max Inden <mail@max-inden.de>

v0.2.2

Toggle v0.2.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: BSDs need different `#include`s (#50)

* fix: Don't include `sys/types.h` on BSD

Breaks macOS Firefox build.

* FreeBSD needs it

* OpenBSD is special, too

* Again

* Bump crate version

v0.2.1

Toggle v0.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: Fix various dep versions and reduce features (#49)

* fix: Fix various dep versions and reduce features

In order to make Firefox build.

* Bump version

* More

v0.2.0

Toggle v0.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: Obtain info via routing sockets (#29)

* feat: Obtain info via routing sockets

WIP

This avoids the need to mess around with sockets.

* Fixes

* Fixes

* Linux

* Windows

* Fixes

* Clippy

* Clippy

* Update src/bsd.rs

Co-authored-by: Martin Thomson <mt@lowentropy.net>

* Try and fix sanitizer issue

* Rearrange Windows code

* Fixes

* Fixes

* Omit win_bindings.rs from codecov (again)

* Update docs

* Read all socket responses to allow socket reuse

* Update README

* Add .clippy.toml

* Update src/windows/mod.rs

Co-authored-by: Max Inden <mail@max-inden.de>

* Drop neli

* Cleanups

* Nit

* Fixes

* Fix

* Fix

* Simplify

* Also install llvm-symbolizer for the sanitizer runs

* Fixes

* Fixes

* README

* clippy

* Tweaks

* Misc improvements

* ASAN_OPTIONS: detect_leaks=1:detect_stack_use_after_return=1

* Suppress

* LSAN_OPTIONS

* llvm

* path

* Again

* Again

* Again

* Again

* Again

* Again

* Again

* Again

* Again

* Again

* Again

* Again

* Again

* Again

* Update src/linux.rs

Co-authored-by: Max Inden <mail@max-inden.de>

* Use `OwnedFd`

* Address code review

* BSDs and Windows

* ifconfig

* env

* rmx_filler

* Debug

* Debug

* send

* recv

* Again

* Again

* Again

* mtu

* Fix cloudflare.com v6 address

* Undo

* rt_metrics

* More BSD

* RTAX_IFA

* All the BSDs are different, sigh

* More

* codecov

* Again

* binstall

* cargo-llvm-cov

* Again

* llvm

* Minimize conversions

* More

* Again

* Again

* Again

* Again

* Again

* More

* Again

* Again

* Linux fix

* More

* stable

* Simplify

* More comments

* Use bindgen

* Address code review

* Iterator

* Final fixes

* Install llvm

* Workflow fixes

* Hack

* Fix?

* CI

* llvm-16.0.6p30

* netbsd

* netbsd

* clang

* Remove unused code.

* More helpers

* Tweaks

* Fix

* Address code review

* Update .github/workflows/check.yml

Co-authored-by: Martin Thomson <mt@lowentropy.net>

* Update .github/workflows/check.yml

Co-authored-by: Martin Thomson <mt@lowentropy.net>

* Update .github/workflows/check.yml

Co-authored-by: Martin Thomson <mt@lowentropy.net>

* Update src/bsd.rs

Co-authored-by: Martin Thomson <mt@lowentropy.net>

* Update src/linux.rs

Co-authored-by: Martin Thomson <mt@lowentropy.net>

* Address first batch of comments from @martinthomson

* Suppress shellcheck warning

* More suggestions from @martinthomson

* Use `std::io::Result`

* clippy

* Nits

* Suggestions from @martinthomson

* Fix

* Macro

* Not Windows

---------

Co-authored-by: Martin Thomson <mt@lowentropy.net>
Co-authored-by: Max Inden <mail@max-inden.de>