3x-ui/frontend/src
MHSanaei 425a2bbf08
fix(amneziawg): bound what a handshake allocates and the tunnel MTU
Every handshake initiation builds Jc junk packets of Jmin..Jmax bytes
and the I1-I5 signature packets, and the limits allowed the full uint32
range and lengths of any size, so one connection made the embedded
device allocate without bound. The MTU reaches the device as an int32
and a wider value made it panic. Both ended the whole panel at the next
connection, after every restart.

Jc is now at most 128, Jmin/Jmax and each signature packet at most one
65535-byte datagram, and the MTU at most 65535. Saves refuse more, the
device setup refuses rows stored before, and the stored MTU is capped
where it is read. The form schemas carry the same limits.
2026-10-31 14:50:18 +01:00
..
api feat(amneziawg): add opt-in Linux kernel datapath (#6877) 2026-10-25 13:24:50 +01:00
components feat(tls): cipher suite presets and a uTLS fingerprint warning 2026-10-25 15:54:48 +01:00
entries fix(frontend): make the panel usable with screen readers (#6907) 2026-10-23 18:29:47 +02:00
generated feat(amneziawg): add opt-in Linux kernel datapath (#6877) 2026-10-25 13:24:50 +01:00
hooks refactor(frontend): read the panel's navigation from one route manifest (#6922) 2026-10-24 20:48:31 +02:00
i18n feat(i18n): add the Slovak (sk-SK) panel locale (#6889) 2026-10-24 07:35:28 +02:00
layouts refactor(frontend): read the panel's navigation from one route manifest (#6922) 2026-10-24 20:48:31 +02:00
lib fix(outbound): keep imported links to remote-server settings 2026-10-31 08:19:44 +00:00
models fix(monitoring): read LXC CPU, swap and uptime from the container (#6920) 2026-10-24 20:24:34 +02:00
pages feat(tls): cipher suite presets and a uTLS fingerprint warning 2026-10-25 15:54:48 +01:00
routes refactor(frontend): read the panel's navigation from one route manifest (#6922) 2026-10-24 20:48:31 +02:00
schemas fix(amneziawg): bound what a handshake allocates and the tunnel MTU 2026-10-31 14:50:18 +01:00
styles feat(panel): add sponsor slots fed from sponsors.sanaei.dev 2026-09-26 03:31:51 +02:00
test fix(amneziawg): bound what a handshake allocates and the tunnel MTU 2026-10-31 14:50:18 +01:00
utils feat(i18n): add the Slovak (sk-SK) panel locale (#6889) 2026-10-24 07:35:28 +02:00
env.d.ts feat(sub): redesign the subscription page around usage, tabs and app imports 2026-09-16 01:55:56 +02:00
main.tsx fix(frontend): make the panel usable with screen readers (#6907) 2026-10-23 18:29:47 +02:00
queryClient.ts feat(frontend): TanStack Query + React Router migration & in-panel API docs (#4541) 2026-05-24 21:34:52 +02:00
routes.tsx refactor(frontend): read the panel's navigation from one route manifest (#6922) 2026-10-24 20:48:31 +02:00