feat(editor): F4.5c the DHCP server and the port forwarding in the device sheet

Measured first: SheetRun now types into FILIUS' DHCP dialog and keeps rows
in its port forwarding dialog. Java's DHCP server keeps its bounds as typed
(".0.0.1" too), never takes an empty gateway or DNS server, hands out the
device's gateway and DNS server unless its own (a home router always its
LAN address, where "manual settings" do nothing), drops a second static
assignment of a MAC address silently and lets "_" through its MAC pattern;
the port forwarding dialog keeps any row, its firmware forwards only the
valid ones. Here a value passes its rule or is not taken, with a word why.

- doc: DHCP server addresses and flags, static assignments (a MAC address
  once, ignoring case), port forwarding rows (TCP or UDP, musterPort, the
  LAN address); the sheet shows what the server hands out and which rows
  Java's firmware forwards (the core's parsePortForwardingRow, exported)
- editor: Java's dialogs as pages of the sheet with a back button, the
  three row tables on one RowsEditor (the forwarding table rebuilt on it);
  a sheet per device, so an open page closes when another device is chosen

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-03 12:16:04 +00:00
co-authored by Claude Opus 5.5
parent eff9433673
commit c8edb87210
22 changed files with 1525 additions and 143 deletions
+19
View File
@@ -116,3 +116,22 @@ homeRouter lanIp 192.168.1.256
homeRouter lanIp 192.168.1.1
homeRouter lanMask 255.255.255.128
homeRouter lanMask abc
dhcpHost lower 192.168.0.110
dhcpHost lower 010.000.000.001
dhcpHost lower .0.0.1
dhcpHost lower 10..0.0.1
dhcpHost lower 256.0.0.1
dhcpHost lower
dhcpHost lower 192.168.0.110
dhcpHost upper 192.168.0.250
dhcpHost upper abc
dhcpHost gateway 10.0.0.9
dhcpHost gateway
dhcpHost gateway 10.0.0
dhcpHost dns 10.0.0.8
dhcpHost dns
dhcpHost dns 10.0.0.256
dhcpHome dns 42.0.0.53
dhcpHome dns 42.0.0
dhcpHome lower 192.168.0.110
dhcpHome gateway 10.0.0.9