diff options
| author | Your Name <you@example.com> | 2026-05-17 17:18:43 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-17 17:18:43 +0530 |
| commit | 8071741815f0b0938701e80a63e80b0ec94b2778 (patch) | |
| tree | 2a1511480e0b58f4efb144aa9d10c9fba5eed034 /AGENTS.md | |
| parent | 0c2c67b463d6a90aaa0bb69bf3c91dba1d9ec3ec (diff) | |
refactor: reorganize test suite, add integration tests for NAT filter
- Move integration tests (api, network, phase2, smoke) to tests/integration/
- Move Playwright specs (captive-portal, interop-happy-path) to tests/e2e/
- Move playwright.config.mjs to tests/e2e/
- Fix hardcoded IP fallbacks: 192.168.4.1 → 10.192.45.1
- Add test-reset-auth.mjs: reset→pay→allow→revoke→block cycle
- Add test-session-expiry.mjs: pay→wait 65s→verify blocked (slow test)
- Add test-dns-firewall.mjs: DNS hijack/forward + per-client NAT filter
- Update Makefile with test-unit, test-integration, test-e2e, test-all targets
- Update package.json scripts for new paths
- Fix Playwright video: retain-on-failure instead of always-on
- Update AGENTS.md: per-client NAT filter description
- Update CHECKLIST.md: mark completed items, add Board B identity
- Board B nsec: 9af47906... → SSID TollGate-b96d80, AP IP 10.185.47.1
- 186 unit tests passing
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -51,8 +51,8 @@ nvs_flash_init() | |||
| 51 | - `wifistr.c/h` — kind 38787 event builder + WebSocket relay publish | 51 | - `wifistr.c/h` — kind 38787 event builder + WebSocket relay publish |
| 52 | - `captive_portal.c/h` — HTTP :80 portal, captive detection, grant/reset | 52 | - `captive_portal.c/h` — HTTP :80 portal, captive detection, grant/reset |
| 53 | - `dns_server.c/h` — DNS hijack/forward per-client, DoT reject | 53 | - `dns_server.c/h` — DNS hijack/forward per-client, DoT reject |
| 54 | - `firewall.c/h` — NAPT on/off per-client, MAC resolution | 54 | - `firewall.c/h` — per-client NAT filter via LWIP_HOOK_IP4_CANFORWARD, MAC resolution |
| 55 | - `session.c/h` — time-based sessions, spent-secret tracking | 55 | - `session.c/h` — time-based sessions, MAC tracking |
| 56 | - `cashu.c/h` — Cashu token decode, checkstate, allotment calc | 56 | - `cashu.c/h` — Cashu token decode, checkstate, allotment calc |
| 57 | - `tollgate_api.c/h` — HTTP :2121, payment endpoints, wallet endpoints | 57 | - `tollgate_api.c/h` — HTTP :2121, payment endpoints, wallet endpoints |
| 58 | 58 | ||