| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files @@ Coverage Diff @@
## main #3772 +/- ##
==========================================
- Coverage 57.44% 52.41% -5.03%
==========================================
Files 638 281 -357
Lines 45524 18768 -26756
==========================================
- Hits 26151 9838 -16313
+ Misses 19373 8930 -10443
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Sorry, something went wrong.
There was a problem hiding this comment.
do we want this for cpud too? and cpu? or do we have it?
Sorry, something went wrong.
There was a problem hiding this comment.
VSOCK ports are incorrectly restricted to 16 bits, and the new listener paths lack behavioral tests.
Review effort: Balanced
Findings: 1 · 1
Adds configurable TCP, VSOCK, and Unix socket listeners to sshd.
Changes:
| File | Description |
|---|---|
| cmds/core/sshd/sshd.go | Implements configurable listeners. |
| cmds/core/sshd/sshd_test.go | Checks the default network. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Sorry, something went wrong.
already have it: https://github.com/u-root/cpu/blob/790d2c9cd791787904808038e3f32b2e7d72d47e/cmds/cpud/serve.go#L116-L121 oh, and that cpud code also has the ParseInt 16 vs 32 bug that Copilot pointed out. (gemini probably got it from cpud). |
Sorry, something went wrong.
Allow sshd to listen on network types other than TCP (such as vsock and unix domain sockets) via the -net flag, defaulting to tcp. Assisted-by: LLM Signed-off-by: Barret Rhoden <brho@google.com>
|
can you submit a PR to fix cpud? |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Allow sshd to listen on network types other than TCP (such as vsock and unix domain sockets) via the -net flag, defaulting to tcp.
Assisted-by: LLM