Commit graph

4 commits

Author SHA1 Message Date
Piero Andreini
b1d7edc1e7 security/fix: Final review corrections for Ethernet runtime config
Security fixes:
- IP validation: bounds checking for octets (0-255)
- ETH.config() return value now checked with distinct logging
- set ip 0.0.0.0 now enables DHCP (was rejected before)

Documentation:
- Fixed typo: 'thevalue' → 'the value'
- Added missing: advert.zerohop command documentation
- Clarified IP configuration behavior (DHCP, ETH_STATIC_IP fallback, reset to DHCP)

All identified issues addressed or documented as out-of-scope.
PR #2260 ready for maintainer review.
2026-04-20 22:21:10 +02:00
Piero Andreini
4542e6c86a feat: Add Ethernet runtime configuration CLI
- Add ip/gw/subnet/dns get/set commands with SPIFFS persistence
- Implement reconfigureEthernet() method for runtime config
- Fix TCP_CONSOLE_PORT conditional compilation
- Update platformio.ini for consistency (USE_ETHERNET)
- Document Ethernet settings and get bridge.type command
- Fixes #2196 #2197 hardware and console dependencies
2026-04-20 22:21:10 +02:00
Piero Andreini
b2be547c33 Add OTA support via Ethernet for T-ETH-Elite 2026-04-20 22:21:10 +02:00
Piero Andreini
de00cebbbb Add LilyGo T-ETH-Elite support (SX1262 and SX1276) 2026-04-20 22:21:10 +02:00