Skip to content

feat(*): Initial Illumos support - #255

Open
extrowerk wants to merge 15 commits into
n0-computer:mainfrom
extrowerk:illumos
Open

extrowerk wants to merge 15 commits into
n0-computer:mainfrom
extrowerk:illumos

Conversation

@extrowerk

@extrowerk extrowerk commented Oct 18, 2026 •

Copy link
Copy Markdown

Description

Adds support for Illumos / OpenSolaris. It relies on shellrow/netdev#194

API Changes

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All API changes documented.
  • This PR was created by a human that thought critically about the
    proposed change and wrote an as clear and concise description as
    they could.
  • This PR isn't slop, and is carefully crafted to do have the
    intented effect.
  • cargo make passes locally.

Changes used in my rayfish Illumos port, it seems to be working fine.

@n0bot n0bot Bot added this to iroh Oct 18, 2026
@github-project-automation github-project-automation Bot moved this to 🚑 Needs Triage in iroh Oct 18, 2026
@Frando

Frando commented Oct 19, 2026

Copy link
Copy Markdown
Member

Thank you for working on this. We'd like to have illumos supported. I see this uses shellrow/netdev#194 - would be good to note that in the PR description.

Do you know if/how we can test this in CI?

@extrowerk

Copy link
Copy Markdown
Author

Thank you for working on this. We'd like to have illumos supported. I see this uses shellrow/netdev#194 - would be good to note that in the PR description.
Done

Do you know if/how we can test this in CI?

I have no first hand experience using CI pipelines, sorry.

@extrowerk

Copy link
Copy Markdown
Author

Regarding CI I was told:
" vmactions action on github allows you to run stuff inside omnios"

@extrowerk

Copy link
Copy Markdown
Author

The branch was merged with upstream main (netwatch 0.20.0) to resolve the conflict, and relative to main the only lock change is netdev pointing at the illumos fork.

The PR depends on the netdev PR landing first.

@Frando Frando mentioned this pull request Oct 21, 2026
2 of 5 tasks
@Frando

Frando commented Oct 22, 2026

Copy link
Copy Markdown
Member

@extrowerk I managed to get CI to work, see #257.
Can you cherry-pick that commit into your branch here. You might want to port the CI to your netdev PR as well, that might increase the chances of getting it merged sooner (also btw, your netdev PR has no description).

This PR will have to wait for a netdev release with your PR merged then.

Note that I know next to nothing about illumos, so I can't review the actual impl. Would be great if we could get someone with illumos experience to have a look.

@extrowerk

Copy link
Copy Markdown
Author

Cherry-picked 762f358 as f258e10, thanks. You can close #257.
I'll port the same workflow to the netdev PR and add a description there.
Tested natively on OmniOS r151058 (non-global zone) as a dependency of rayfish:
default_route works; home_router returns None by design for now.

@extrowerk

Copy link
Copy Markdown
Author

The netdev PR is merged. I’ll update this PR to use the released netdev once it is published.

@Frando Frando mentioned this pull request Oct 27, 2026
5 tasks done
@extrowerk

Copy link
Copy Markdown
Author

netdev 0.47.0 is released and contains the illumos support, so the git patch is gone:
netdev is now a plain crates.io dependency (0.47). Ready for review. CI still
needs maintainer approval to run.

@ramfox ramfox changed the title Initial Illumos support feat: Initial Illumos support Oct 29, 2026
@ramfox ramfox changed the title feat: Initial Illumos support feat(*): Initial Illumos support Oct 29, 2026
Comment thread .github/workflows/illumos.yaml Resolved
Comment thread .github/workflows/illumos.yaml Resolved
Comment thread netwatch/src/netmon/illumos.rs Resolved
Comment thread netwatch/src/netmon/illumos.rs Resolved
Comment thread netwatch/src/netmon/illumos.rs Resolved
Comment thread netwatch/build.rs Resolved
@github-project-automation github-project-automation Bot moved this from 🚑 Needs Triage to 🏗 In progress in iroh Nov 12, 2026
@extrowerk
extrowerk requested review from Frando and flub November 14, 2026 10:31

@Toasterson Toasterson left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Something outside of the illumos work seems to have slipped in. See comments, Other than that LGTM

Comment thread netwatch/src/interfaces/illumos.rs Resolved
Comment thread netwatch/src/netmon/actor.rs Resolved
Comment thread netwatch/src/netmon/noop.rs Resolved
@extrowerk
extrowerk requested a review from Toasterson November 18, 2026 20:58
@extrowerk

Copy link
Copy Markdown
Author

Could the illumos support also ship in a netwatch 0.19.x release? iroh 1.4.1
depends on netwatch ^0.19.3, so a 0.20 release won't reach iroh 1.x users.
I have a backport on extrowerk/net-tools, branch illumos-0.19, and can open
it as a PR against a 0.19 branch if that helps.

Comment thread .github/workflows/illumos.yaml Resolved
Comment thread .github/workflows/illumos.yaml Resolved
@flub

flub commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

Could the illumos support also ship in a netwatch 0.19.x release? iroh 1.4.1 depends on netwatch ^0.19.3, so a 0.20 release won't reach iroh 1.x users. I have a backport on extrowerk/net-tools, branch illumos-0.19, and can open it as a PR against a 0.19 branch if that helps.

Once this lands the next iroh release will use the new netwatch. No need to backport this to older netwatch releases.

@flub

flub commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the follow ups, and apologies for the slow reviews

@flub flub left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

thanks for the followups!

@flub

flub commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

Error is a sscache problem that we've also seen in minimal-crates checks elsewere. Will port a fix once it's there.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🏗 In progress

Development

Successfully merging this pull request may close these issues.

4 participants