solobsd

@solobsd@snac.solobsd.org

FreeBSD and OpenBSD User.

Solène »
@solene@bsd.network

What is the purpose of toor user on FreeBSD?

...
1 ★ 0 ↺

solobsd »
@solobsd@snac.solobsd.org

@solene@bsd.network Metsys eht fo resu repus eht s’tI

vermaden boosted

gyptazy »
@gyptazy@gyptazy.ch

With my service, I provide free VMs (virtual machines) to strangers & open-source projects - and I’m often asked how and why I can do this?!

When people ask me how I can provide such a service, they mostly inly think about the hardware and the costs. Trust me, that’s the least of the problems! Running such a service is more about avoiding and handling service abuses. Free services tend to be abused by people and this is the most difficult part - protection!

But let’s have a short look at the things…

Passion (why?):
The passion and idea behind this project is probably the most interesting part. I can clearly remember the time back in the days when I started in tech and had even then an outdated, slow and rarely working system. It was pure pain to work with it, but luckily it did somehow its job. However, doing more difficult thinks were mostly impossible: Higher loads led into shutdowns - I had to undervolt the system, write kernel modules for undervolting support (which were really appreciated in the community) but also all other resources didn’t gave me the possibility to run more exiting things. Renting a „cheap“ server (back in that day virtual server were not really known and the first implementations based on chroots like OpenVZ were coming years later) was impossible to me. So, learning in real-life scenarios was mostly impossible to me and made everything more difficult. I really know and remember these times where I had to deal somehow with limitations. This is good but also bad. The good thing is, you become really creative into finding solutions and get really nit picky about improving things. The other thing is, it makes your life really hard. With BoxyBSD I want to provide passionated and interested people the opportunity to get at least a system where they can learn and educate. They get a fully usable VM where they can configure, run and use the system how they like (unless they’re not violating the ToS). They have a public IPv6 address (and even a whole additional /64 network) to also learn and practice more complex network solutions. They can run servers, learn how things for their future. Often they quickly find out why a PTR is needed for sending mails (sure, you can also define your reverse DNS at BoxyBSD) but also why firewalling ICMP6 isn’t a great idea (at least you want to have RA & ND active). Things you mostly learn the hard wary in real life setups. But BoxyBSD is also about more - it’s also about supporting the community. BoxyBSD also sponsors opensource projects like , & . And everything at zero costs!

Resources (how?):
Resources are probably the thing that mostly pops up in the mind of people when hearing about this service and yes - it of course requires a lot of resources since I’m providing full VMs for each user without any over provisioning in memory or disk which are too volatile in this project. But the resources are often already present. In this case, I already have my own labs based on and which are built in a fully productional way. This gives me the possibility to provide resource left overs to this project. Also, there are sponsors like Moritz from NerdscaveHosting who sponsors nodes which are dedicated used to this project. Next to this, the question is about another resource - time! The whole infrastructure if fully automated by simply choosing the desired OS and pressing „create VM“ everything else in handled fully automatically. A desired node is obtained by my side project (ProxLB - in a customised version to also support bhyve hosts), the VM created and a the IP address returned. That’s it - easy!

Protection (the real issue):
The real issue is about people that’s going to abuse the service. This was something I had to learn the hard way. In the first iteration it was simply fully based with a very simple interface where you just inserted your SSH pub key and immediately got returned an address of a Jail (if you’re interested, that was the first version: https://www.youtube.com/watch?v=geOS4LTCwok). This was a way too easy and people immediately used it for sending spam mails. I had to take some actions but also didn’t want to block whole ports to make services unusable. Therefore, I had some other ideas which worked out very well, like forcing to use a relay with rate limiting. Today, BoxyBSD grew up, is running ob full fledged VMs providing users and developers the possibility to modify kernel and to have more deep possibilities to learn and test. By only providing images for , and (and / the community and targeted people is smaller than usual. Also software that is written by Scriptkiddies often does not work out of the box on BSD based systems and needs (honestly only small) adjustments. But that’s also often already a reason not to abuse such services. It still may occur that someone is unintentionally doing bad things, generating a lot of traffic (like two weeks ago where someone made 2Gbps traffic for over 12 hours) but usually, this isn’t any problem. Proactive monitoring already notifies me (that’s the only thing where I need to step in) and validate to take actions if someone might be harmed or services affected.

In the end, I like to see that the community is more like a family where things are being used like their own ones. People even come in touch with me and letting me know that they don’t need the VM anymore and to free up the resources for other ones - that’s something I really love to see! Sometimes they come simply back when they need something again and get their new VM. I really love the BSD community and especially the (https://bsd.cafe) and (https://bsd.network). Things can be simple!

PS: At the you can grab some stickers. Just poke me when you see me :)

Ressources:
Call Recording: https://www.youtube.com/watch?v=XEHL4skVq3U&t
BoxyBSD Jail: https://www.youtube.com/watch?v=geOS4LTCwok
Papers: https://cdn.gyptazy.ch/tech-talks/BoxyBSD-A_free_VM_hosting_service_for_education_and_research/BoxyBSD-A_free_VM_hosting_service_for_education_and_research.html
Website: https://boxybsd.com

...

BoxyBSD »
@BoxyBSD@mastodon.bsd.cafe

@gyptazy providing some more insights about the project.

...
0 ★ 0 ↺

solobsd »
@solobsd@snac.solobsd.org

@BoxyBSD@bsd.cafe @gyptazy@gyptazy.ch I still can see new requests are closed.

...

gyptazy »
@gyptazy@gyptazy.ch

Sorry, but where is it written that new requests (signups?) are closed? Even yesterday several new VMs have been deployed.

CC: @BoxyBSD@bsd.cafe @BoxyBSD@bsd.cafe

...

d4gli »
@d4gli@mastodon.bsd.cafe

@gyptazy @solobsd @BoxyBSD

For example - I just got it yesterday :)

0 ★ 0 ↺

solobsd »
@solobsd@snac.solobsd.org

I hit "Submit" button and nothing happens.

CC: @BoxyBSD@bsd.cafe

...

gyptazy »
@gyptazy@gyptazy.ch

@solobsd@snac.solobsd.org @BoxyBSD@bsd.cafe

Yeah but it also tells you what to do?! Please get in touch with me in Matrix chat. And also in the calls, papers and even this post I speak about abusing this service, which is why the web form is simply deactivated. I mean, more than telling what to do is impossible to me 🫣

BoxyBSD »
@BoxyBSD@mastodon.bsd.cafe

@solobsd @gyptazy happy to see you finally on board :) have fun @solobsd

0 ★ 0 ↺

solobsd »
@solobsd@snac.solobsd.org

Hi @solene@bsd.network
I was checking very quickly the Qubes OS site and I have a question.
How you manage to handle many VMs with 16 GB RAM? (I see 16 is the recommended RAM on the requirements page)
Does it work like VirtualBox, that you start using server's RAM or Xen distributes RAM in a different way?
Thanks!

...

Solène »
@solene@bsd.network

@solobsd hi, I even used Qubes OS with 8 GB of memory, it is tight but it works.

All qubes (VMs) are created with a swap, this allows running with a bit less memory if you have a fast drive.

Finally, Xen offers memory ballooning, you can give a minimum memory allocation to each qubes, and a maximum. Depending on the use and required memory, the ballooning will try to allocate the memory where it is required the most until you do not need it. It is not perfect, but it allows to have some margin without allocating a whole chunk for the whole VM lifetime.

Qubes do not need to run everything, so most of the time 1 GB per qube can be enough to run a program in it, there is desktop environment to run within too.

1 ★ 0 ↺
in reply to »

solobsd »
@solobsd@snac.solobsd.org

Yes, cause is more focused on the Desktop, OpenBSD is great but seems to be more oriented to the server. I have an old laptop with OpenBSD as a Desktop but I don't use it much. I don't know if right now it can match FreeBSD for the Desktop. My laptop needs 802.11ac which neither has yet. And I have a MacBook Air too.

0 ★ 0 ↺
in reply to »

solobsd »
@solobsd@snac.solobsd.org

@doerk@nrw.social @solobsd Personally I like it most for servers.

...
1 ★ 0 ↺

solobsd »
@solobsd@snac.solobsd.org

Happpppppyyyyy Bday BSD Café!!! @stefano@bsd.cafe

...
5 ★ 4 ↺

solobsd »
@solobsd@snac.solobsd.org

TuM'Fatig - OpenBSD Workstation for the People https://www.tumfatig.net/2024/openbsd-workstation-for-the-people/

...
0 ★ 0 ↺

solobsd »
@solobsd@snac.solobsd.org

Spider-Man inventing

Spider-Man early comic presenting a humanoid robot that can answer any question.

Alt...Spider-Man early comic presenting a humanoid robot that can answer any question.

1 ★ 0 ↺

solobsd »
@solobsd@snac.solobsd.org

Testing 1 2 3

History