nibbs

joined 3 weeks ago
[–] nibbs@lemmy.zip 1 points 2 days ago

Oh, true. I've read so many infos about different services lately, that I must have confused that with something else.

Thank you.

[–] nibbs@lemmy.zip 1 points 2 days ago (2 children)

Thank you for the very comprehensive write up.

Authentication will be my very next project after I solved another minor problem I've become aware of just yesterday.

It's at least the second time, someone mentioned Anubis in this thread.
I've checked the site but have to do further digging about the concept. Mostly because "AI" isn't something I adore that much, but that's a me problem. :)

[–] nibbs@lemmy.zip 3 points 3 days ago* (last edited 3 days ago)

I was too late for that, unfortunately and got . which also some people don't comprehend.
Although it's the capitol and there are sites from public services which use that TLD as well.

What genuinely pisses me off: Prior to that I got .name, and there are sites, which refuse to accept it as a valid TLD when I try to register with them.

Edit: I got <lastname[with umlauts]>., tho as this was available, but those don't work that well. Or didn't, when I last checked.

[–] nibbs@lemmy.zip 2 points 3 days ago (4 children)

Thanks for the suggestion, I will take a look at Anubis.

There are no SSH ports open to external, as everything I run is locally in my LAN, I do not have use for externals SSH access and don't want to open that vector.

The services that I (want to) offer to the family, are the common selfhosters finest:

  • immich
  • Stirling PDF
  • Jellyfin

As I do not have a authentication provider yet, the services which require an authentication by user/password are prone to brute force attacks, I want to mitigate that first and foremost.
In the mid to long run, I plan to also deploy an authentication provider for those services like Authelia, TinyAuth, PocketID, Authentik or .
As there are so many of them and the opinion of which is best differ wildly, I have not yet decided and am in kind of a analysis paralysis. :)

[–] nibbs@lemmy.zip 1 points 3 days ago (1 children)

Thank you for bringing that up, I was wondering that too. As in: "This one has something to hide. Let's poke harder."

Did you try CrowdSec as someone else suggested? Could that be a mitigation as those IPs could be filtered out in the long run, if I understand the concept of CS correct?

[–] nibbs@lemmy.zip 2 points 4 days ago

Thank you for suggesting the region block on Unifi, that's a good tip.

I have that previously set in place globally under settings -> security -> protection -> region blocking.
So on a less sophisticated level and not as granular as you.
Yours seems to be much better and I will take a look at it later. At the moment I have way too many ideas and projects boiling, to add yet another one... ;)

[–] nibbs@lemmy.zip 1 points 4 days ago

Thanks for bringing it up.

Before I dove into that project, I was checking logs on npm and the service I am already exposing. It seems to me, both only get http GET requests which on npm all get a 404 response.
I don't remember what the service does with those, but I will investigate later. As I didn't panicked, I guess it wasn't that bad.

There are basically no brute force attacks on the service yet and the admin account is only allowed to login from internal IPs.

One initial aspect to further harden the exposed systems were the logs in the UDM which show frequent blocked attempts of varying severity.
This may be security theater and I am not able to assess whether the UDM is a "good enough" protection of the most common attacks.

As I see it, at the moment the UDM already blocks most of the (more sophisticated) attacks and leaves only common requests for the services to handle.

Long story short, as I see it, the UDM has the role of ingress server in my setup.

[–] nibbs@lemmy.zip 1 points 5 days ago (1 children)

Thank you very much for your input. I will look into the third option.
Thought of it, but did forget it over tinkering the last few days. :)

 

Hi there, I am hosting a service for mainly me and also some family members. I want it to become more.

Currently the chain just as follows: interwebz <-> UDM <-> npm <-> services. The services are mostly run in VMs or LXCs, npm runs in docker, accompanied by one Adguard home instance and another AGH instance in an LXC.

I now want to add f2b to this whole chain. I've installed f2b in the OS which runs docker (and therefore npm) (VM1) and also in the OS of my existing service (VM2). Both VMs use Ubuntu as their OS.

What I already figured out thru testing and reading is, that f2b in VM2 acts as expected when the jail is triggered, and sets the block. But nftables/ufw don't block connections coming from external, as they are coming thru npm. f2b sees and uses the public IP for the checks/bans.

So now I am thinking how to solve that.

  1. Keep f2b on VM2 and let it set the bans on VM1 over SSH. That's what some people do or so I've read.
  2. Use f2b on VM1, let it check logs on VM2 and then set the bans. That would also be possible over SSH, I'd guess. But I didn't read up on it yet.

So, what's your opinion? How do you fine folks handle that in your environment? Option 2 seems to be more elegant, as it would be "at the entry" and let's me easily add additional services later. But I don't know, if that's a path worth digging in to.

[–] nibbs@lemmy.zip 3 points 1 week ago (1 children)

As you say, "at the time, a reasonable decision". What I don't understand tho, is, why nobody, for five seconds, maybe thought, how it could be a good idea to just filter this standard address at the SMTP server to be redirected to something sensible inside the org. My best guess is, different departments / sub orgs.

[–] nibbs@lemmy.zip 2 points 2 weeks ago

I enjoy apalrd very much, down to earth, deep dive, no bullshit explanatory videos mostly about networking.

[–] nibbs@lemmy.zip 2 points 2 weeks ago

I don't know about torrent downloads, but for "obviously illegal" streaming and IPTV offerings, customers also will get bonked. For example [German]: https://www.bms-rechtsanwaelte.de/wirtschaftsrecht-blog/illegales-iptv-streaming-strafbarkeit-nutzer

[–] nibbs@lemmy.zip 1 points 3 weeks ago (1 children)

Hi, could you tell me why? I mean, I think I understand the basics of the risk of brute force attacks. My mitigation for the admin account is, not to allow login outside the local network. Users are allowed from anywhere, as my family uses the library. Also my service (there are others) are routed through NGINX.

Do you have tips for external users using, for example, a VPN only for specific addresses / IPs? At least that was an idea I had, but didn't got got around to dig for solutions.

Thanks in advance.

view more: next ›