Files
d00f 3c8de6da87 httpd: refuse a configuration with a line the replay cannot take
The replay takes a line of at most 126 bytes, so a longer one is skipped
on boot. Neither the upload path nor the editor looked at line length,
so the file the user saved was not the configuration the switch would
come up with.

Reject such a body in config_take(), before the sector is erased, which
the upload path already maps to 400. The editor points at the offending
line and its length, and measures it in bytes rather than characters, so
a name written in a non-ASCII script is counted the way the switch
counts it.
2026-09-18 16:03:16 +02:00

1.2 KiB

Change Log

[0.x] - 2026-xx-XX

Added

  • Web UI
    • Compress the embedded assets (minify + gzip) and switch to a single-page layout. #315
    • Replace the multi-page UI with a themed single-page app: light, dark and Selenized themes following the browser by default, English, Japanese and Chinese, save to flash merges the command log into the startup config and verifies the write, firmware images are checked in the browser before upload. #429

Changed

Fixed

  • Config
    • A startup configuration line longer than the command buffer no longer stops the replay: the offending line is skipped and the following lines are still applied.
    • The web UI and the configuration upload now refuse a line the replay cannot take, instead of writing it to flash.

Breaking changes

  • Config
    • VLAN don't accept port u-suffix anymore. So vlan 1 4u is not valid anymore. Replace it with vlan 1 4.
  • Commands
    • port zero/0 is treated as the CPU_PORT. #326
    • Many commands don't accept the CPU_PORT anymore. See #334. When the CPU_PORT is needed, the command/service will add the CPU_PORT automaticly. Only isolate accept the CPU_PORT as destination port.

[v0.1_aplha] - 2025-11-03

First release.