Files
dawnline/backend/handout/testdata/conf.uci
T
Aemeath ac90575b0b
Build packages / CI (push) Blocked by required conditions
Build packages / Version (push) Waiting to run
CI / Web (format, types, tests, bundles) (push) Blocked by required conditions
CI / ShellCheck (push) Blocked by required conditions
CI / Backend (Go: vet, tests, a real ubusd and uhttpd) (push) Blocked by required conditions
CI / Package files (push) Blocked by required conditions
Dawnline 0.20.0
- **Backend rewritten in Go.** One daemon, `dawnlined`, replaces the whole ucode backend: the rpcd plugin, the agent, the CLI and the updater. The package no longer depends on ucode.
- **Per-architecture builds.** The release carries the backend for arm64, ARMv7, mips, mipsle and amd64; the router fetches its own after the package is installed and checks its sha256. Dawnline does not run on other architectures (older ARM, 32-bit x86, RISC-V).
- **Faster on the router.** A firewall sync takes 0.06 s instead of 0.9 s; a full apply takes about 300 ms. The portal is served by the daemon itself, without a CGI process per request.
- **Live pages.** The admin and the portal follow a live stream from the router instead of re-fetching the whole state every 30 seconds.
- **Admin redesigned in the portal's style.** Three sections (Overview · Log · Settings); a server is a page of its own with People, Places and Settings; a device opens as a dialog over its person.
- **Changes wait for «Apply».** Every setting, and a person's access, is staged in one dock before it reaches the router.
- **Configuration rollout.** After a change that makes devices fetch their configuration again, the admin shows how many have fetched it and who has not. Every setting shows beforehand (⟳N) how many devices it will touch.
- **Waiting for a decision.** Overview and People put first the people who need one (access ended, limit reached, a device that does not connect), each with its one action a tap away.
- **Bulk actions on people.** «Select» (or a long press on a card) picks several people to extend by a month, pause or resume at once.
- **Undo.** An action done from a card or a request is undone from its toast.
- **Update dialogs redesigned.** An update is one view from its question to its result; Dawnline's own update runs in it like every other, and the page reloads itself once the new version answers. Other versions are a list, each with its notes and Install on a page of its own.
- **Site to site: networks behind a router.** A router connected as a device can have networks behind it (up to eight, /16 to /30): the server routes them and applies the router's access to them. A network that shares addresses with a tunnel, the router's own networks or another site is refused by name.
- **Routers from the portal.** People can add a router and name its networks on their own page; the admin accepts or declines with a reason, or lets them through without asking.
- **Check access and Health know the networks behind routers.**
- **Usage limits reworked.** A monthly limit no longer follows the calendar. A person's month starts with their first traffic and ends a month later; the next one starts only when they connect again, so time away uses up none of it. Before, everyone's limit reset on the 1st.
- Extra data lasts until that person's month ends; «Reset usage» starts the month anew.
- A limit is for a month or for the whole term; the admin and the portal show when it resets.
- Charts that said «this month» show the last 30 days.
- After the update nobody loses what was counted: the month that was running becomes the person's first and ends on the 1st.
- **Access by time of day removed.** The Hours limit is gone from the admin, the portal and the backend; saved hours are dropped.
- **Expiry simplified.** An end date always stops access, with a heads-up three days before; the per-person choice is gone.
- **No false disconnects from sleeping phones.** A phone or a tablet stays online through ten minutes of silence.
- **Mobile Safari fixes.** Pressing a control no longer sends the page to its top; tab tracks that do not fit scroll; switches animate after a press.
2026-11-13 09:43:50 +03:00

312 lines
7.5 KiB
Plaintext

# Configurations to hold to ucode: plain WireGuard, the junk-only disguise, the 3.1 one; home-only people with
# and without home names, internet, both; a device with its own local network outside; names in Cyrillic.
config settings 'settings'
option portal_host 'vpn.example.com'
option home_dns_fallback '9.9.9.9'
config server 'plain'
option name 'Дом на море'
option ifname 'awgplain'
option port '51820'
option subnet '10.9.0.0/24'
option public_key 'xTIBA5rboUvnH4htodjb6e697QjLERt1NAB4mZqp8Dg='
option auto_lan '0'
list lan_device 'dlhome'
list lan_device 'dlguest'
config server 'junk'
option name 'con'
option ifname 'awgjunk'
option port '443'
option subnet '10.10.0.0/29'
option endpoint '2001:db8::7'
option public_key 'AuTb2wZ8C1032Ksn76nFgXzOJgT86OgEVbEE7ClpNy8='
option mesh 'off'
option keepalive '25'
option jc '4'
option jmin '40'
option jmax '200'
option s1 '15'
option s2 '68'
option h1 '1407'
option h2 '2'
option h3 '3'
option h4 '4'
list dns '10.10.0.1'
list dns 'fd00::53'
list dns '2606:4700::1111'
list dns '192.168.50.2'
option auto_lan '0'
list lan_device 'dlhome'
config server 'max'
option name 'A very long server name indeed'
option ifname 'awgmax'
option port '8443'
option subnet '172.20.0.0/16'
option public_key 'yAnz5TF+lXXJte14tji3zlMNq+hd2rYUIgJBgB3fBmk='
option keepalive '30'
option mtu '1420'
option jc '10'
option jmin '64'
option jmax '90'
option s4 '24'
option h1 '100-200'
option h2 '300-400'
option h3 '500-600'
option h4 '700-800'
option i1 '<b 0x0102><r 16>'
option header_protection_key 'yvVKA41To0000000000000000000IUdcl4Zi0000000='
option rekey_after_time '100-140'
option auto_lan '0'
config person 'p_net'
option server 'plain'
option name 'Internet'
option access 'wan'
config person 'p_both'
option server 'plain'
option name 'Both'
option access 'both'
config person 'p_lan'
option server 'plain'
option name 'Home'
option access 'lan'
config person 'p_lanhome'
option server 'plain'
option name 'Home names'
option access 'lan'
option dns_mode 'home'
list home_nets 'dlguest'
config person 'j_both'
option server 'junk'
option name 'Junk both'
option access 'both'
config person 'j_lan'
option server 'junk'
option name 'Junk home'
option access 'lan'
option dns_mode 'home'
config person 'm_net'
option server 'max'
option name 'Max'
option access 'wan'
config person 'lost'
option server 'gone'
option name 'Lost'
config device 'd_p_net_0'
option person 'p_net'
option name 'Device 0'
option kind 'phone'
option address '10.9.0.4'
option public_key 'k00'
config device 'd_p_net_1'
option person 'p_net'
option name 'Device 1'
option kind 'computer'
option address '10.9.0.5'
option public_key 'k01'
option lan_bypass '1'
option private_key 'cHJpdmF0ZXByaXZhdGVwcml2YXRlcHJpdmF0ZXByaXY='
option preshared_key 'cHNrcHNrcHNrcHNrcHNrcHNrcHNrcHNrcHNrcHNrcHM='
config device 'd_p_net_2'
option person 'p_net'
option name 'Device 2'
option kind 'router'
option address '10.9.0.6'
option public_key 'k02'
option mtu '1300'
option keepalive '0'
config device 'd_p_both_0'
option person 'p_both'
option name 'Device 0'
option kind 'phone'
option address '10.9.0.7'
option public_key 'k10'
config device 'd_p_both_1'
option person 'p_both'
option name 'Device 1'
option kind 'computer'
option address '10.9.0.8'
option public_key 'k11'
option lan_bypass '1'
option private_key 'cHJpdmF0ZXByaXZhdGVwcml2YXRlcHJpdmF0ZXByaXY='
option preshared_key 'cHNrcHNrcHNrcHNrcHNrcHNrcHNrcHNrcHNrcHNrcHM='
config device 'd_p_both_2'
option person 'p_both'
option name 'Device 2'
option kind 'router'
option address '10.9.0.9'
option public_key 'k12'
option mtu '1300'
option keepalive '0'
config device 'd_p_lan_0'
option person 'p_lan'
option name 'Device 0'
option kind 'phone'
option address '10.9.0.10'
option public_key 'k20'
config device 'd_p_lan_1'
option person 'p_lan'
option name 'Device 1'
option kind 'computer'
option address '10.9.0.11'
option public_key 'k21'
option lan_bypass '1'
option private_key 'cHJpdmF0ZXByaXZhdGVwcml2YXRlcHJpdmF0ZXByaXY='
option preshared_key 'cHNrcHNrcHNrcHNrcHNrcHNrcHNrcHNrcHNrcHNrcHM='
config device 'd_p_lan_2'
option person 'p_lan'
option name 'Device 2'
option kind 'router'
option address '10.9.0.12'
option public_key 'k22'
option mtu '1300'
option keepalive '0'
config device 'd_p_lanhome_0'
option person 'p_lanhome'
option name 'Device 0'
option kind 'phone'
option address '10.9.0.13'
option public_key 'k30'
config device 'd_p_lanhome_1'
option person 'p_lanhome'
option name 'Device 1'
option kind 'computer'
option address '10.9.0.14'
option public_key 'k31'
option lan_bypass '1'
option private_key 'cHJpdmF0ZXByaXZhdGVwcml2YXRlcHJpdmF0ZXByaXY='
option preshared_key 'cHNrcHNrcHNrcHNrcHNrcHNrcHNrcHNrcHNrcHNrcHM='
config device 'd_p_lanhome_2'
option person 'p_lanhome'
option name 'Device 2'
option kind 'router'
option address '10.9.0.15'
option public_key 'k32'
option mtu '1300'
option keepalive '0'
config device 'd_j_both_0'
option person 'j_both'
option name 'Device 0'
option kind 'phone'
option address '10.10.0.16'
option public_key 'k40'
config device 'd_j_both_1'
option person 'j_both'
option name 'Device 1'
option kind 'computer'
option address '10.10.0.17'
option public_key 'k41'
option lan_bypass '1'
option private_key 'cHJpdmF0ZXByaXZhdGVwcml2YXRlcHJpdmF0ZXByaXY='
option preshared_key 'cHNrcHNrcHNrcHNrcHNrcHNrcHNrcHNrcHNrcHNrcHM='
config device 'd_j_both_2'
option person 'j_both'
option name 'Device 2'
option kind 'router'
option address '10.10.0.18'
option public_key 'k42'
option mtu '1300'
option keepalive '0'
config device 'd_j_lan_0'
option person 'j_lan'
option name 'Device 0'
option kind 'phone'
option address '10.10.0.19'
option public_key 'k50'
config device 'd_j_lan_1'
option person 'j_lan'
option name 'Device 1'
option kind 'computer'
option address '10.10.0.20'
option public_key 'k51'
option lan_bypass '1'
option private_key 'cHJpdmF0ZXByaXZhdGVwcml2YXRlcHJpdmF0ZXByaXY='
option preshared_key 'cHNrcHNrcHNrcHNrcHNrcHNrcHNrcHNrcHNrcHNrcHM='
config device 'd_j_lan_2'
option person 'j_lan'
option name 'Device 2'
option kind 'router'
option address '10.10.0.21'
option public_key 'k52'
option mtu '1300'
option keepalive '0'
config device 'd_m_net_0'
option person 'm_net'
option name 'Device 0'
option kind 'phone'
option address '172.20.0.22'
option public_key 'k60'
config device 'd_m_net_1'
option person 'm_net'
option name 'Device 1'
option kind 'computer'
option address '172.20.0.23'
option public_key 'k61'
option lan_bypass '1'
option private_key 'cHJpdmF0ZXByaXZhdGVwcml2YXRlcHJpdmF0ZXByaXY='
option preshared_key 'cHNrcHNrcHNrcHNrcHNrcHNrcHNrcHNrcHNrcHNrcHM='
config device 'd_m_net_2'
option person 'm_net'
option name 'Device 2'
option kind 'router'
option address '172.20.0.24'
option public_key 'k62'
option mtu '1300'
option keepalive '0'
config device 'd_lost_0'
option person 'lost'
option name 'Device 0'
option kind 'phone'
option address '10.99.0.25'
option public_key 'k70'
config device 'd_lost_1'
option person 'lost'
option name 'Device 1'
option kind 'computer'
option address '10.99.0.26'
option public_key 'k71'
option lan_bypass '1'
option private_key 'cHJpdmF0ZXByaXZhdGVwcml2YXRlcHJpdmF0ZXByaXY='
option preshared_key 'cHNrcHNrcHNrcHNrcHNrcHNrcHNrcHNrcHNrcHNrcHM='
config device 'd_lost_2'
option person 'lost'
option name 'Device 2'
option kind 'router'
option address '10.99.0.27'
option public_key 'k72'
option mtu '1300'
option keepalive '0'