Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find plugs with firewalld running #84

Open
smbell1979 opened this issue Mar 25, 2021 · 2 comments
Open

Can't find plugs with firewalld running #84

smbell1979 opened this issue Mar 25, 2021 · 2 comments

Comments

@smbell1979
Copy link

smbell1979 commented Mar 25, 2021

I apologize if this is something obvious, but it's my first time using docker... I can't seem to get my plugs to detect if I start the docker container while firewalld is running. If I disable it, then start the container, it detects the plugs correctly. Then I can start firewalld back up and it continues to work.

Are there additional ports that I need to open or another method to let the container detect the plugs through firewalld? I'm able to access the page perfectly fine using localhost:3000.

I'm running Fedora 33 btw.

@donaldta
Copy link

Not sure if it helps you but, I found this pdf, Storming the Kasa? Security analysis of TP-Link Kasa smart home
devices

It describes some interesting stuff with the TP-Link Smart Plugs, notably...

"They discovered 3 open ports: 80/TCP, 9999/TCP, and 1040/UDP (user datagram protocol). The service listening on port 80 was found to be a fake HTTP server, but the remaining two ports, 9999 and 1040, implemented the TP-Link Smart Home Protocol (TSHP) and TP-Link Device Debug Protocol (TDDP), respectively. Sniffing network traffic indicated that, after booting and connecting to a WLAN, the HS110 would synchronize its time with an NTP server and attempt to connect to a TP-Link cloud server. Stroetmann & Esser noted the plug would regularly attempt to contact the cloud server, even when the device was not configured for remote use."

@Xeroxxx
Copy link

Xeroxxx commented Apr 1, 2021

Hey,
you may check out https://github.com/Xeroxxx/tplink-energy-monitor

We improved the current build form james and currently working (dev-v2.0 branch) on a complete remade and improved version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants