#Keeping Secure

1 messages · Page 1 of 1 (latest)

umbral trout
#

Hi.

I have my configuration.yaml http section set up as follows

http:
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem
  ip_ban_enabled: true
  login_attempts_threshold: 5

but i'm getting logs that say concerning things like below - with 20 or more occurrences. Is there any way i can prevent this miscreant from having infinite shots at my security (other than the obvious option of not opening myself up to the internet in the first place)

Thanks

Logger: homeassistant.components.http.security_filter
Source: components/http/security_filter.py:81
integration: HTTP (documentation, issues)
First occurred: 15 November 2024 at 21:22:08 (20 occurrences)
Last logged: 23:14:17

Filtered a request with a potential harmful query string: /index.php?lang=../../../../../../../../usr/local/lib/php/pearcmd&+config-create+/&/<?echo(md5("hi"));?>+/tmp/index1.php
Filtered a request with a potential harmful query string: /index.php?lang=../../../../../../../../tmp/index1
upbeat canopyBOT
#

To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

green mauve
#

Easy answer - fail2ban and a reverse proxy

dire hull
#

welp since i'm seeing action here i'll go ahead and ask; what would be a good solution for managing self signed certs using linux and not exposing to outside world?

umbral trout
green mauve
upbeat canopyBOT
green mauve
#

You're probably better off using a legit wildcard cert for *.internal.example.com, where your domain is example.com and you run your network on internal.example.com

dire hull
#

is that secure?

#

i just don't want my boxes turning on me

green mauve
#

I would however strongly recommend that you don't hijack somebody else's question but start your own 😉

dire hull
#

yeah

green mauve