Description
Board
ESP32 (classic)
Device Description
WROOM ESP32
Hardware Configuration
Version
other
IDE Name
PlatformIO
Operating System
Windows 11
Flash frequency
40MHz
PSRAM enabled
yes
Upload speed
115200
Description
When calling web_server.client().remoteIP()
I no longer get the IP-adres of the connected client.
In my project (ESPEasy) I try to block connections not coming from the local subnet.
In some occasions the browser doesn't seem to provide the client IP, so there was an exception for 0.0.0.0 to be allowed.
This has been working fine for years and doesn't seem to be a problem on ESP32-S2/C3
But on the ESP32 classic, I'm now experiencing blocks even with random looking reported remote IP-addresses like 35.0.6.0
. (I'm on the same subnet as my ESP node)
On ESP32-S3/C3 running ESP32 SDK 5.1.1.230920
I noticed I never see the client IP (remoteIP()
) anymore.
On recent builds using the same code build with ESP32 SDK 4.4.5.230614
I can get the client IP just fine.
I use @Jason2866 's packaged platform packages:
- IDF 5.1:
platform = https://github.com/Jason2866/platform-espressif32.git#ae949bcf416213717662095f67cd76d85a810529
- IDF 4.4.5:
platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.10.03/platform-espressif32.zip
platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/1645/framework-arduinoespressif32-release_v4.4_spiffs-e3fc63b439.zip
Sketch
-
Debug Message
-
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.