Repository navigation
plugins: add VPN 2.1.0 - #233
Glitchboi-sudo wants to merge 2 commits into
Conversation
neur0map
left a comment
There was a problem hiding this comment.
🔴 Changes requested — 0 critical and 3 major issue(s): see the inline comments and the walkthrough for fixes and an agent-ready prompt.
🧹 Nitpicks (1) — optional, not blocking
plugins/registry.json:435-436— Data Integrity — The existing preview and screenshots are removed from the registry, so the updated catalogue item has no real preview. Restore the existing images or add replacement captures, then include them in the regenerated product…
| function useExitNode(addr) { | ||
| if (!addr || String(addr).length === 0) return; | ||
| var cmd = ["tailscale", "set", "--exit-node=" + addr, "--exit-node-allow-lan-access"]; | ||
| if (svc.acceptRoutes) cmd.push("--accept-routes"); | ||
| ts._run(cmd, "exiton"); |
There was a problem hiding this comment.
🟠 major · Possible Bug · fix: medium effort
Disabling acceptRoutes only omits the flag; it never clears Tailscale's persisted accept-routes preference. After routes have been enabled, turning the setting off and reconnecting or selecting an exit node can still route traffic through advertised subnets. Apply the false value explicitly as well.
Reply here to discuss, say it's fixed, or explain why it's intended — no mention needed.
There was a problem hiding this comment.
Fixed. turnOn and useExitNode now pass --accept-routes=<true|false> explicitly (via a shared _acceptFlag()), so turning the setting off applies --accept-routes=false and clears Tailscale's persisted preference instead of merely omitting the flag.
There was a problem hiding this comment.
I can't confirm this is fixed yet. setAcceptRoutes now explicitly passes false, but the excerpt omits _acceptFlag(), reconnect logic, and setting-change wiring needed to verify the reported failure is fully resolved.
🦊 mika's reviewIncremental review: new commits since the last checkpoint. Summary
Estimated review effort: 2/5 · risk: high 📁 Walkthrough details
|
724f8aa to
d865379
Compare
d865379 to
b618de4
Compare
|
I've reviewed 5 pushes on this PR automatically, so I'll stop doing full passes here and only check whether open threads get fixed. Add the |
What is this?
An update to the existing community
vpnwidget (by neur0map), bumping it to 2.1.0 with three Tailscale additions. I'm submitting as a contributor; original authorship, theLICENSE, and the existingpreview-desktop.pngare preserved, and neur0map is credited in the README.New in 2.1.0
tailscale set --exit-node=<ip> --exit-node-allow-lan-access), with the active node marked and a one-tap clear.acceptRoutessetting (default on) adds--accept-routeson turn-on and when an exit node is picked.pkexec systemctl restart tailscaledto tear down and rebuild the policy-routing table andts-*firewall chains, leaving no stale routes after a killed session.The new privileged command (
pkexec systemctl restart tailscaled) is declared incapabilities.privilegedand documented in the README.ryoku plugin validatepasses clean (0 blocking, 0 warnings). The diff touches only the changed files — no existing files are removed.Checklist
assets/preview-widget.pngrefreshed with a real capture of the 2.1.0 panel (identity fields redacted);assets/preview-desktop.pngkept as-is.registry.json(lastUpdatedinYYYY-MM-DD;official: falsefor community items).ryoku plugin add, verified against a real tailnet with exit nodes).tests/validate-catalogue.sh— manifest/audit pass locally viaryoku plugin validate.Opened with
ryoku plugin share; the product manifest and the registry entry were generated from the installed plugin.