[-] aesir@lemmy.world 7 points 11 months ago

Considering the small audience and purpose, I would not have any problem using the always free offerings of either Oracle or Google (the latter especially if located in the US).

[-] aesir@lemmy.world 8 points 1 year ago

I don't know, wouldn't the Hypervisor be able to track resources usage by itself without anything else?

[-] aesir@lemmy.world 4 points 1 year ago

I forgot to mention, I had plenty of swap available, now I disabled swap to force zram usage. I still need to see what happens running with both, it's hard when each trial takes 12-24 hours to show its result.

[-] aesir@lemmy.world 4 points 1 year ago

Yes, this is a possibility. the ARM VPS is already running something else, but if I manage to run netbird behind a reverse proxy I can also move it there. BTW there are also 1 GB free VPS on azure (for students) and Google Cloud, but you guessed right.

[-] aesir@lemmy.world 4 points 1 year ago

The server is clearly overloaded, as soon as I start using some 10% of CPU frequently for some minutes (due to swap operations), the Hypervisor starts to throttle my instance and this of course makes the thing worse with an avalanche effect. When this happens steal time displayed from top can go literally as high as 90%.

41
submitted 1 year ago by aesir@lemmy.world to c/linux@lemmy.ml

Hi,

Do you have suggestions for kernel tweaks for getting the most out of a RAM limited system?

I am running a service requiring 2GB of RAM (netbird) on a VPS which has just 1 GB of memory. I am doing so because I am a stingy bastard and I use only free VPSs for my personal use so I get what I am paying for.

Because of this hardware limit in about 12 hours from service start I begin swapping a bit too much. This would still be manageable but soon the hypervisor gets really pissed and steals up to 90% of the CPU. So the only solution so far is restarting the docker containers every 12 hours (not great, not terrible).

Looking to improve this, Iam now experimenting with ZRAM and swappiness and it seems some benefit can be achieved by using some of the Linux kernel feaures. Is there anything else I should look into?

[-] aesir@lemmy.world 6 points 1 year ago

If postmarket os works on that device maybe you can go full Linux (alpine), there will be no systemd which might be a problem and I am not even sure about docker compatibility. You can look it up though.

[-] aesir@lemmy.world 4 points 1 year ago

Hi, to check attacks you should look at the logs. In this case auth.log. Being attacked on port 22 is not surprising neither really troublesome if you connect via key pair.

My graph was showing egress traffic, on any kind of server the traffic due to these attacks would have been invisible but on a backup server which has (hopefully) only ingress you can clearly see the volume of connections from attackers from bytes teansmitted

[-] aesir@lemmy.world 8 points 1 year ago* (last edited 1 year ago)

ssh -p 12345 would leave your boxes accessible from anywhere too. Other blocks of IPs receive 10 times or more requests, as scanners can focus on blocks of ips from major providers.

[-] aesir@lemmy.world 4 points 1 year ago

I disagree, you'll have your backups, so even if everything breaks you will have a failsafe. If you get compromised it's still not an issue: Everything server side is encrypted, the safety is in the clients and your master password length.

So, I see no particular differences with other services. Considering I hear of some issues with bitwarden servers that are constantly under attack, selfhosting could even increase the availability.

[-] aesir@lemmy.world 3 points 1 year ago
524

In the past two weeks I set up a new VPS, and I run a small experiment. I share the results for those who are curious.

Consider that this is a backup server only, meaning that there is no outgoing traffic unless a backup is actually to be recovered, or as we will see, because of sshd.

I initially left the standard "port 22 open to the world" for 4-5 days, I then moved sshd to a different port (still open to the whole world), and finally I closed everything and turned on tailscale. You find a visualization of the resulting egress traffic in the image. Different colors are different areas of the world. Ignore the orange spikes which were my own ssh connections to set up stuff.

Main points:

  • there were about 10 Mb of egress per day due just to sshd answering to scanners. Not to mention the cluttering of access logs.

  • moving to a non standard port is reasonably sufficient to avoid traffic and log cluttering even without IP restrictions

  • Tailscale causes a bit of traffic, negligible of course, but continuous.

[-] aesir@lemmy.world 7 points 1 year ago

I see your point, but now I do not think it is FreeDNS fault. DNSChecker.org shows my domain name properly resolved worldwide, and so it has been for months. I also created a second subdomain just now, exactly as the non-working one, and was properly resolved within seconds at my work pc. So I do not blame FreeDNS, I think it is our internal DNS server that is messed up or even hijacked.

26
submitted 1 year ago* (last edited 1 year ago) by aesir@lemmy.world to c/selfhosted@lemmy.world

Hi,

What to do if the domain name of one of my webserver, that me and some lab members use for work related stuff, is no longer resolved by our university DNS? When I first noticed it, I could see no resolution at all while now the domain resolves to a wrong IP. The site can be normally reached on any other network so there is no problem on my side I think.

Should I just wait (now more than 24 hours) or should I try anything? I am entitled to complain to our IT even though the issue is only with this not-really-professional FreeDNS subdomain?

EDIT: apparently some automatism marked this domain as malicious (absolutely it is not, not willingly and not compromised) and somehow DNS resolves to CNAME sinkhole.paloaltonetworks.com.

[-] aesir@lemmy.world 4 points 1 year ago

Here the answer

I’ve got a hacked pyqt5 script that does this, I doubt it’s what you want. Adding mysql support and eventually want to be able to have something like limited math functions so you can add all the values in a tree for stuff like total cost.

If you find something better I’d be real interested, I really want web and preferably app support.

10

Hi,

I am looking since a long time for a selfhosted tool that would allow the user to insert and visualize data in a hierarchycal structure (tree). Ideally custom schemas could be defined so that it can be also regarded as a rudimentary noSQL database. I've looked at the awesome-selfhosted page high and low for anything similar with no luck. Do you happen to know anything that could work? The best example for the functionality I am looking for is the open source desktop app treeline

Thanks for your inputs,

5

Hi,

I am looking since a long time for a selfhosted tool that would allow the user to insert and visualize data in a hierarchycal structure (tree). Ideally custom schemas could be defined so that it can be also regarded as a rudimentary noSQL database. I've looked at the awesome-selfhosted page high and low for anything similar with no luck. Do you happen to know anything that could work? The best example for the functionality I am looking for is the open source desktop app treeline

Thanks for your inputs,

2

Hi, I can spin up for free a Windows VPS (win server 2016 with graphical interface or win server 2022 core version since it has only 1GB of RAM). The problem is that outside of Linux I have absolutely no experience. I would like to try hosting something also on Windows server just to take away some load from other machines or even just to learn something new.

Therefore I have the following questions:

*Is there any starting resource for windows selfhosting you can recommend? I would love if a list like the awesome selfhosted existed for services that can run on windows.

*Is there anything non-enterprise for which a windows server would provide any advantage over Linux?

*Does anyone self hosts on windows server? Can I ask what you use it for?

Thanks

view more: next ›

aesir

joined 1 year ago