Repository navigation
DEYROUTE 0.3.1-edge.83 (development build)
Pre-release
Pre-release
Install on the hub (Iran server) — نصب روی هاب (سرور ایران):
bash <(curl -fsSL https://github.com/localroot4/DeyRoute/releases/download/v0.3.1-edge.83/install.sh) --version 0.3.1-edge.83Already installed? Run deyroute update on the hub (the nodes follow).
قبلاً نصب کردهاید؟ روی هاب deyroute update بزنید (نودها خودشان دنبال میکنند).
What's new
Added
deyroute setup --public-ip A.B.C.Dand--public-ip6 Xstore exactly
that hub address (canonical form) and skip the wizard's IP question;
--allow-private-ipaccepts a private, CGNAT or loopback address for test
labs (never a link-local one). A refused address isDEY-C013before any
setup step; the three flags are refused with--role nodeand on
deyroute join.setup --jsonaddspublic_ip_source(flag,
detectedorwizard). Without the flag nothing changes: a private
detection still only warns (DEY-I021), so automation on a NAT or
floating-IP server must pass--public-ip(docs/en/install.md, lab S01,
DR-07).deyroute join --sysctl off|balanced|auto(defaultbalanced; when
given, the kernel question is not asked;offwrites nothing under
/etc/sysctl.d) and--reserve-ports LIST(ports and ranges, the flag
repeats, at most 64 entries, at least 1024 ephemeral ports left free;
withoffit isDEY-C013).join --jsonaddsreserved_ports(never
null). The entries are kept in/var/lib/deyroute/reserved-portsand
reserved again by every profile the node applies exceptoff
(docs/en/join.md, docs/en/tuning.md, lab S23, DR-09).- A node joined with
--sysctl off, or whose owner answered no to the
kernel question, refuses the hub's kernel tuning (optimize applyand
optimize auto) with the newDEY-N052; a revert tooffstill runs.
The switch is the root-only marker/var/lib/deyroute/hub-tuning-off: to
lift it, remove it on the node and re-apply the hub's profile as
deyroute optimize statusshows it. Nodes joined with an earlier version
keep following the hub (QUESTIONS.md C.65, DR-09).
Changed
- The
balancedandaggressiveprofiles a node applies, at join or
pushed by the hub, now also reserve the backend control range
30000-31999innet.ipv4.ip_local_reserved_ports, asautoalready
did (a set union: existing reservations stay). Migration: on the hub,
re-apply the profiledeyroute optimize statusshows (deyroute optimize autoon an auto hub, otherwisedeyroute optimize apply --profile <that profile>) so the online nodes reserve the range now (QUESTIONS.md C.64,
DR-09).
Fixed
deyroute setup --helpsaid--yesapplies the balanced kernel profile;
it applies the automatic profile, and the help now says so (deyroute optimize statusshows it). The hiddenjoin --yeskeeps its own text: a
join applies balanced (docs/en/install.md, DR-19).- The sysctl backup recorded the live union of
net.ipv4.ip_local_reserved_portsas deyroute's value, so a later apply
followed by a revert or uninstall also removed a port another program
had reserved in between. It now records only the entries deyroute
requested; the kernel write is still the union (DR-09). deyroute optimize checkno longer reports the reserved ports as drift
when another program adds or removes its own reservation; only a port
deyroute wants that is missing counts (DR-09).
Full changelog · راهنمای فارسی · English guides
Verify
SHA256SUMS is signed with minisign; the installer and deyroute update check it before anything is installed. Public key: RWQtE2Hu1KwstgupEuPAWy+J2tiIgFVTIcReWI+Qh+yGMY3s2xWpyMuO
Built from 98b4cf2 (Linux amd64 and arm64, static binary).
branch: dev