I have an idea that is quite possibly stupid and dangerous but I think
it'd be interesting. Setup a tilde and give everyone access to a
container of their own.
[...]
Anyone have any thoughts on this?
On 2021-12-18, b0b <b0b@cosmic.voyage> wrote:
I have an idea that is quite possibly stupid and dangerous but I think
it'd be interesting. Setup a tilde and give everyone access to a
container of their own.
[...]
Anyone have any thoughts on this?
This is a bad idea for a number of reasons.
First, containers encourage isolation and siloing. The entire point of
the tildeverse is to encourage people to socialize and do things
together. Containers encourage the modern view of Unix as more of a
service host than a socialization hub. I didn't have any interest in the tildeverse as a computing platform until I realized the social
possibilities (and then realized how stupid I was); putting everyone in
their own container doesn't help bring them together.
Beyond this, the resource usage would be a problem. Why give people containers when we can just run what we need outside of them? The
resource overhead of containers may be small (especially compared to a
VM), but it's still nonzero. tildeverse machines are typically small
Unix machines that can do a lot with a little because textmode
applications don't require much RAM or disk space or CPU; containers
just add another layer on top of that which makes the system less useful
for everyone.
You call out another problem in your own post, the security problem. The safest way to do this would be to set up resource limitations,
firewalls, and perhaps even network virtualization, limited syscall
access, and filesystem paths for the container processes. I assume you'd
run this on Linux and Linux doesn't have support for the latter features
I've mentioned, so you'd be out of luck there.
In sum, I don't think this is a good fit for a tildeverse system. The
most important problem I see with it is the social one, but the
technical one is what's likely to get you in the most serious trouble.
The goal is admirable, but I don't think it's really necessary here. The point of a tildeverse pubnix is that you can talk with your sysadmins
and build whatever weird things you want with their support instead of putting it in a container. which to me has a quintessential connotation
of a lack of trust. That's not why I'm on a tildeverse machine.
When you want to make a new command available to all users you just
create a firejail profile for it then add that to the passwd profile.
You could combine this with fail2ban rules that detect attempts at
malicious usage, such as port scanning, spinning up bot clusters and the like, to shut that nonsense down right away.
On 12/18/21 10:46 AM, P2P wrote:
The point behind giving people a container was to build a tiny LAN
within the host. I don't think firejail would do that.
Like I'm thinking the machine that runs all the containers could have whatever tools or commands people want.
I just want to build a tiny network inside of a machine and let people
have a machine on it and see what happens
To: b0b
On 12/18/21 10:46 AM, P2P wrote:
The point behind giving people a container was to build a tiny LAN
within the host. I don't think firejail would do that.
Like I'm thinking the machine that runs all the containers could have
whatever tools or commands people want.
I just want to build a tiny network inside of a machine and let people
have a machine on it and see what happens
I kinda see what your getting at .. But maybe calling it a tilde wouldn't really work. Since the working together/social aspect is very much a part of what makes a tilde these days.
--- Synchronet 3.19a-Linux NewsLink 1.113
message from RetroDigtal BBS - telnet://rdnetbbs.com
I have an idea that is quite possibly stupid and dangerous but I think
it'd be interesting. Setup a tilde and give everyone access to a
container of their own.
On 12/18/21 10:46 AM, P2P wrote:
When you want to make a new command available to all users you just
create a firejail profile for it then add that to the passwd profile.
You could combine this with fail2ban rules that detect attempts at
malicious usage, such as port scanning, spinning up bot clusters and the
like, to shut that nonsense down right away.
The point behind giving people a container was to build a tiny LAN
within the host. I don't think firejail would do that.
Like I'm thinking the machine that runs all the containers could have whatever tools or commands people want.
I just want to build a tiny network inside of a machine and let people
have a machine on it and see what happens
Sysop: | deepend |
---|---|
Location: | Calgary, Alberta |
Users: | 255 |
Nodes: | 10 (0 / 10) |
Uptime: | 127:02:13 |
Calls: | 1,718 |
Calls today: | 2 |
Files: | 4,099 |
D/L today: |
1 files (712K bytes) |
Messages: | 392,093 |