Files
dawnline/backend/usage/testdata/trace.json
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

888 lines
11 KiB
JSON

{
"ts": 1794460039,
"steps": 400,
"seed": {
"devices": {
"d1": {
"raw": [
500,
700
],
"total": [
9000,
9000
],
"days": {
"2026-11-11": [
1,
2
],
"2026-11-10": [
2,
4
],
"2026-11-09": [
3,
6
],
"2026-11-08": [
4,
8
],
"2026-11-07": [
5,
10
],
"2026-11-06": [
6,
12
],
"2026-11-05": [
7,
14
],
"2026-11-04": [
8,
16
],
"2026-11-03": [
9,
18
],
"2026-11-02": [
10,
20
],
"2026-11-01": [
11,
22
],
"2026-10-31": [
12,
24
],
"2026-10-30": [
13,
26
],
"2026-10-29": [
14,
28
],
"2026-10-28": [
15,
30
],
"2026-10-27": [
16,
32
],
"2026-10-26": [
17,
34
],
"2026-10-25": [
18,
36
],
"2026-10-24": [
19,
38
],
"2026-10-23": [
20,
40
],
"2026-10-22": [
21,
42
],
"2026-10-21": [
22,
44
],
"2026-10-20": [
23,
46
],
"2026-10-19": [
24,
48
],
"2026-10-18": [
25,
50
],
"2026-10-17": [
26,
52
],
"2026-10-16": [
27,
54
],
"2026-10-15": [
28,
56
],
"2026-10-14": [
29,
58
],
"2026-10-13": [
30,
60
],
"2026-10-12": [
31,
62
],
"2026-10-11": [
32,
64
],
"2026-10-10": [
33,
66
],
"2026-10-09": [
34,
68
],
"2026-10-08": [
35,
70
],
"2026-10-07": [
36,
72
],
"2026-10-06": [
37,
74
],
"2026-10-05": [
38,
76
],
"2026-10-04": [
39,
78
],
"2026-10-03": [
40,
80
],
"2026-10-02": [
41,
82
],
"2026-10-01": [
42,
84
],
"2026-09-30": [
43,
86
],
"2026-09-29": [
44,
88
],
"2026-09-28": [
45,
90
],
"2026-09-27": [
46,
92
],
"2026-09-26": [
47,
94
],
"2026-09-25": [
48,
96
],
"2026-09-24": [
49,
98
],
"2026-09-23": [
50,
100
],
"2026-09-22": [
51,
102
],
"2026-09-21": [
52,
104
],
"2026-09-20": [
53,
106
],
"2026-09-19": [
54,
108
],
"2026-09-18": [
55,
110
],
"2026-09-17": [
56,
112
],
"2026-09-16": [
57,
114
],
"2026-09-15": [
58,
116
],
"2026-09-14": [
59,
118
],
"2026-09-13": [
60,
120
],
"2026-09-12": [
61,
122
],
"2026-09-11": [
62,
124
],
"2026-09-10": [
63,
126
],
"2026-09-09": [
64,
128
],
"2026-09-08": [
65,
130
],
"2026-09-07": [
66,
132
],
"2026-09-06": [
67,
134
],
"2026-09-05": [
68,
136
],
"2026-09-04": [
69,
138
],
"2026-09-03": [
70,
140
]
},
"months": {
"2026-10": [
10,
20
],
"2026-09": [
20,
40
],
"2026-08": [
30,
60
],
"2026-07": [
40,
80
],
"2026-06": [
50,
100
],
"2026-05": [
60,
120
],
"2026-04": [
70,
140
],
"2026-03": [
80,
160
],
"2026-02": [
90,
180
],
"2026-01": [
100,
200
],
"2025-12": [
110,
220
],
"2025-11": [
120,
240
],
"2025-10": [
130,
260
],
"2025-09": [
140,
280
],
"2025-08": [
150,
300
],
"2025-07": [
160,
320
],
"2025-06": [
170,
340
],
"2025-05": [
180,
360
],
"2025-04": [
190,
380
],
"2025-03": [
200,
400
],
"2025-02": [
210,
420
],
"2025-01": [
220,
440
],
"2024-12": [
230,
460
],
"2024-11": [
240,
480
],
"2024-10": [
250,
500
],
"2024-09": [
260,
520
],
"2024-08": [
270,
540
],
"2024-07": [
280,
560
],
"2024-06": [
290,
580
],
"2024-05": [
300,
600
]
}
},
"gone": {
"raw": [
1,
1
],
"total": [
5,
5
]
}
},
"people": {
"anna": {
"total": [
5000,
6000
],
"months": {
"2026-11": [
1000,
2000
]
},
"days": {
}
},
"boris": {
"period": {
"start": 1791004039,
"rx": 11,
"tx": 22
},
"total": [
11,
22
]
},
"vera": {
"period": {
"start": 1794028039,
"rx": 100,
"tx": 200
},
"total": [
100,
200
]
}
},
"updated": 0,
"flushed": 0
},
"final": {
"devices": {
"d1": {
"raw": [
0,
0
],
"total": [
1408856,
22080989
],
"days": {
"2026-11-11": [
1,
2
],
"2026-11-10": [
2,
4
],
"2026-11-09": [
3,
6
],
"2026-11-08": [
4,
8
],
"2026-11-07": [
5,
10
],
"2026-11-06": [
6,
12
],
"2026-11-05": [
7,
14
],
"2026-11-04": [
8,
16
],
"2026-11-03": [
9,
18
],
"2026-11-02": [
10,
20
],
"2026-11-01": [
11,
22
],
"2026-10-31": [
12,
24
],
"2026-10-30": [
13,
26
],
"2026-10-29": [
14,
28
],
"2026-10-28": [
15,
30
],
"2026-10-27": [
16,
32
],
"2026-10-26": [
17,
34
],
"2026-10-25": [
18,
36
],
"2026-10-24": [
19,
38
],
"2026-10-23": [
20,
40
],
"2026-10-22": [
21,
42
],
"2026-10-21": [
22,
44
],
"2026-10-20": [
23,
46
],
"2026-10-19": [
24,
48
],
"2026-10-18": [
25,
50
],
"2026-10-17": [
26,
52
],
"2026-10-16": [
27,
54
],
"2026-10-15": [
28,
56
],
"2026-10-14": [
29,
58
],
"2026-11-12": [
1399856,
22071989
]
},
"months": {
"2026-10": [
10,
20
],
"2026-09": [
20,
40
],
"2026-08": [
30,
60
],
"2026-07": [
40,
80
],
"2026-06": [
50,
100
],
"2026-05": [
60,
120
],
"2026-04": [
70,
140
],
"2026-03": [
80,
160
],
"2026-02": [
90,
180
],
"2026-01": [
100,
200
],
"2025-12": [
110,
220
],
"2026-11": [
1399856,
22071989
]
},
"ifindex": 13,
"handshake": 1794457860,
"endpoint": "203.0.113.9",
"ips": {
"203.0.113.1": 1794457514,
"203.0.113.2": 1794457704,
"203.0.113.10": 1794457860,
"203.0.113.4": 1794457591,
"203.0.113.5": 1794457643,
"203.0.113.12": 1794457665,
"203.0.113.11": 1794457704,
"203.0.113.9": 1794457860
}
},
"d2": {
"raw": [
22072,
342972
],
"ifindex": 17,
"total": [
702411,
12930847
],
"months": {
"2026-11": [
702411,
12930847
]
},
"days": {
"2026-11-12": [
702411,
12930847
]
},
"handshake": 1794457781,
"endpoint": "203.0.113.10",
"ips": {
"203.0.113.12": 1794457744,
"203.0.113.11": 1794457118,
"203.0.113.6": 1794457166,
"203.0.113.4": 1794457702,
"203.0.113.9": 1794457336,
"203.0.113.8": 1794457660,
"203.0.113.1": 1794457375,
"203.0.113.10": 1794457781
}
},
"d3": {
"raw": [
7040,
168363
],
"ifindex": 17,
"total": [
247234,
4021581
],
"months": {
"2026-11": [
247234,
4021581
]
},
"days": {
"2026-11-12": [
247234,
4021581
]
},
"handshake": 1794457562,
"endpoint": "203.0.113.1",
"ips": {
"203.0.113.10": 1794457265,
"203.0.113.8": 1794457303,
"203.0.113.6": 1794457462,
"203.0.113.1": 1794457562
}
},
"d4": {
"raw": [
0,
0
],
"ifindex": 18,
"total": [
305250,
6415449
],
"months": {
"2026-11": [
305250,
6415449
]
},
"days": {
"2026-11-12": [
305250,
6415449
]
},
"handshake": 1794458057,
"endpoint": "203.0.113.11",
"ips": {
"203.0.113.2": 1794457539,
"203.0.113.3": 1794457992,
"203.0.113.11": 1794458057,
"203.0.113.6": 1794457370,
"203.0.113.1": 1794457822,
"203.0.113.12": 1794457458,
"203.0.113.9": 1794457923,
"203.0.113.5": 1794457993
}
},
"d5": {
"raw": [
0,
0
],
"ifindex": 17,
"total": [
766080,
13086788
],
"months": {
"2026-11": [
766080,
13086788
]
},
"days": {
"2026-11-12": [
766080,
13086788
]
},
"handshake": 1794458348,
"endpoint": "203.0.113.8",
"ips": {
"203.0.113.8": 1794458348,
"203.0.113.6": 1794458060,
"203.0.113.9": 1794458179,
"203.0.113.3": 1794457958,
"203.0.113.1": 1794458039,
"203.0.113.12": 1794458094,
"203.0.113.2": 1794458127,
"203.0.113.10": 1794458264
}
}
},
"people": {
"anna": {
"total": [
2107267,
35008836
],
"months": {
"2026-11": [
2103267,
35004836
]
},
"days": {
"2026-11-12": [
2102267,
35002836
]
},
"period": {
"start": 1793491200,
"rx": 2103267,
"tx": 35004836
}
},
"boris": {
"period": {
"start": 1794460039,
"rx": 247234,
"tx": 4021581
},
"total": [
247245,
4021603
],
"months": {
"2026-11": [
247234,
4021581
]
},
"days": {
"2026-11-12": [
247234,
4021581
]
}
},
"vera": {
"period": {
"start": 1794028039,
"rx": 1071430,
"tx": 19502437
},
"total": [
1071430,
19502437
],
"months": {
"2026-11": [
1071330,
19502237
]
},
"days": {
"2026-11-12": [
1071330,
19502237
]
}
}
},
"updated": 1794460039,
"flushed": 0,
"hours": {
"2026-11-12 05": [
3420831,
58526654
]
}
},
"hash": 174869661
}