diff options
| author | Your Name <you@example.com> | 2026-05-15 17:03:40 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-15 17:03:40 +0530 |
| commit | a7d0a672d59bf8985a6fc0e61b49015fabd96513 (patch) | |
| tree | 46814d1757649a640f53805a8d9dfc1b0f354289 /sdkconfig.defaults | |
| parent | 8a2307a5ced6da94cc674602219d5a68a1246264 (diff) | |
Phase 1 working: captive portal, DNS hijack, NAT-based access control
- Fix WiFi init order: netif creation before esp_wifi_init, set mode before set_config
- Replace broken netif input filter with NAPT on/off per authentication state
- NAPT disabled by default, enabled when client granted, disabled on revoke
- Fix test helpers: use -I wlp59s0 for ping, handle nslookup exit code 1
- All 20 API tests pass, all 6 smoke tests pass
Diffstat (limited to 'sdkconfig.defaults')
| -rw-r--r-- | sdkconfig.defaults | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sdkconfig.defaults b/sdkconfig.defaults index fdbf0da..5a80e87 100644 --- a/sdkconfig.defaults +++ b/sdkconfig.defaults | |||
| @@ -2,6 +2,10 @@ | |||
| 2 | CONFIG_ESP_WIFI_ENABLED=y | 2 | CONFIG_ESP_WIFI_ENABLED=y |
| 3 | CONFIG_ESP_WIFI_SOFTAP_SUPPORT=y | 3 | CONFIG_ESP_WIFI_SOFTAP_SUPPORT=y |
| 4 | 4 | ||
| 5 | # Flash size (boards have 16MB) | ||
| 6 | CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y | ||
| 7 | CONFIG_ESPTOOLPY_FLASHSIZE="16MB" | ||
| 8 | |||
| 5 | # NAPT | 9 | # NAPT |
| 6 | CONFIG_LWIP_IP_FORWARD=y | 10 | CONFIG_LWIP_IP_FORWARD=y |
| 7 | CONFIG_LWIP_IPV4_NAPT=y | 11 | CONFIG_LWIP_IPV4_NAPT=y |
| @@ -22,5 +26,10 @@ CONFIG_LOG_DEFAULT_LEVEL_INFO=y | |||
| 22 | CONFIG_HTTPD_MAX_REQ_HDR_LEN=1024 | 26 | CONFIG_HTTPD_MAX_REQ_HDR_LEN=1024 |
| 23 | CONFIG_HTTPD_MAX_URI_LEN=512 | 27 | CONFIG_HTTPD_MAX_URI_LEN=512 |
| 24 | 28 | ||
| 29 | # Partition table | ||
| 30 | CONFIG_PARTITION_TABLE_CUSTOM=y | ||
| 31 | CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv" | ||
| 32 | CONFIG_PARTITION_TABLE_FILENAME="partitions.csv" | ||
| 33 | |||
| 25 | # mbedTLS (needed for HTTPS to mint) | 34 | # mbedTLS (needed for HTTPS to mint) |
| 26 | CONFIG_MBEDTLS_CERTIFICATE_BUNDLE=y | 35 | CONFIG_MBEDTLS_CERTIFICATE_BUNDLE=y |