arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.2k stars 4.81k forks source link

Tasmota Decies Reboot -> IP SCAN #21794

Closed ChrSch84 closed 3 months ago

ChrSch84 commented 3 months ago

Hello

i have a strange Problem. A few of my Tasmota Devices reboot after making a IP Scan in my network. First i thought my device reboot (behind Tasmota) but after a while i found out if i make a ip scan with "http" in the Programm Advanced IP Scanner. The Tasmota devices reboots.

And the Strange thing is that is not the same Hardware! Mix of "Sonoff Pow", "NOUS A1T","EIGHTREE".

Here are the Settings from Advanced IP Scanner. " image "

Here a short List of my Devices: not all Reboot!

" image "

I could not find any hint why they reboot.

Ideas? Hints?

Thanks for the Help.


PROBLEM DESCRIPTION

A clear and concise description of what the problem is.

REQUESTED INFORMATION

Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!

- [ ] If using rules, provide the output of this command: `Backlog Rule1; Rule2; Rule3`:
```lua
  Rules output here:
- [ ] Set `weblog` to 4 and then, when you experience your issue, provide the output of the Console log:
```lua
  Console output here:

TO REPRODUCE

Steps to reproduce the behavior:

EXPECTED BEHAVIOUR

A clear and concise description of what you expected to happen.

SCREENSHOTS

If applicable, add screenshots to help explain your problem.

ADDITIONAL CONTEXT

Add any other context about the problem here.

(Please, remember to close the issue when the problem has been addressed)

sfromis commented 3 months ago

Primitive tools like IP scanners may hammer the device with calls, and thereby overloading it. Some devices may not be able to power sustained Wifi activity when "spamming" by bad requests.

ChrSch84 commented 3 months ago

But why not all Devices? And why did it work a few months back. Used this Scanner for Years and had no Problem with Tasmota.

And it is a bad thing if Tasmota could not handl wifi Spam and reboot the device!!!

ok if it reboot but only the software stack!

sfromis commented 3 months ago

Some devices have a better internal power supply than others, and can survive your DOS attack. And this is not about what Tasmota can handle, but about what your hardware can handle. Comparing back in time can be random factors, or just that devices degrade with time.

ChrSch84 commented 3 months ago
sfromis commented 3 months ago

An IP scan is effectively a DOS attack. I did not say DDOS.

ChrSch84 commented 3 months ago

ok fine DOS Attack...

Whatever...

but why is the device rebooting. If i make a "ARP" Request from the Router or Switch there is no Reboot. The IP Scan should be the same thing. And as i say its not every Tasmota Device!

So is it possible to Log the event? Or does someone know something about it?

sfromis commented 3 months ago

Well, that depends on what your crude tool is doing when it scans via http. It may be making a lot of requests. Way different from just an ARP request.

And when it is not every Tasmota device, that just supports my hypothesis that it is not about what Tasmota can handle, but about what weak hardware can handle. Thus, is not an "event" that Tasmota knows about, and even if it could log it, that log would be gone immediately when the device croaks.