🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.admin.peering
Article #2608

Re: Ping Sysops - New Subscriber Metrics Since Google Groupocalypse?

#2608
From: Adam W.
Date: Fri, 12 Jan 2024 20:14
34 lines
2982 bytes
Retro Guy <retroguy@novabbs.org> wrote:

> Things to consider when running a program as a door on a BBS is stuff like
> "is there a command to drop to shell?" Is my server protected from a rogue
> user?

I think the question should be different. "Let's give this user access to 
shell (or assume he gains access to shell from the newsreader). How do I 
secure it so he can't do anything bad?".

If I had to do something like this, I'd set up two separate virtual 
machines for the task. First one (A) would be available to users and 
second one (B) would act as a firewall for A (giving access only to 
systems I want users to access, like my news server), and as a permanent 
storage, exporting read-only filesystems to A (including rootfs). Only 
home directories on A (or some storage for newsreader's data) would be 
writable.

This way, even if user gained root access on A, he won't be able to access 
the Internet (because it would be blocked on B, and A would only have an 
interface to B), and won't be able to modify system files (because rootfs 
and other filesystems except home would be mounted read-only, enforced by 
B; something like nbd or maybe nfs).

This, plus some ulimits and quotas to prevent the user from disrupting the 
service for others, and some kind of automatic auditing / monitoring to 
detect unwanted changes.

> I messed with lynx for a while on Synchronet, but it seemed too risky. I'm
> paranoid.

It's not paranoia, it's carefulness :) If the system is public then we 
should always expect users to try to hack it for some malicious purposes, 
or just for fun.
Technical Details
Message-ID: <uns6ii$1o2$1$arnold@news.chmurka.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <20240101165350.63ee99fa@dev> <20240111205857.4aef52e4@wibble.sysadmininc.com> <unr7lj$lc9$2$arnold@news.chmurka.net> <8f1bf062675c3d9f5932ca17d13e8233$1@news.novabbs.org> <unrmo3$g60$1$arnold@news.chmurka.net> <df1fea914c3da3a7f147e15dc77c5927$1@news.novabbs.org>

Show Full Headers
Complete Article Headers
Message-ID: <uns6ii$1o2$1$arnold@news.chmurka.net>
Subject: Re: Ping Sysops - New Subscriber Metrics Since Google Groupocalypse?
Date: Fri, 12 Jan 2024 20:14:10 +0000
From: gof-cut-this-news@cut-this-chmurka.net.invalid (Adam W.)
References: <20240101165350.63ee99fa@dev> <20240111205857.4aef52e4@wibble.sysadmininc.com> <unr7lj$lc9$2$arnold@news.chmurka.net> <8f1bf062675c3d9f5932ca17d13e8233$1@news.novabbs.org> <unrmo3$g60$1$arnold@news.chmurka.net> <df1fea914c3da3a7f147e15dc77c5927$1@news.novabbs.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.admin.peering
Organization: news.chmurka.net
Nntp-Posting-Host: s.v.chmurka.net
Injection-Date: Fri, 12 Jan 2024 20:14:10 -0000 (UTC)
Injection-Info: news.chmurka.net; posting-account="arnold"; posting-host="s.v.chmurka.net:172.24.44.20"; logging-data="1794"; mail-complaints-to="abuse-news.(at).chmurka.net"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/6.1.21-v7+ (armv7l))
Cancel-Lock: sha1:Hwk2jQYKPL0MPCyegUsxh5hE/pA= sha1:avDmvvFWGLGeLnR6L0tH0eo4BqA= sha256:JNvAlyuJ5g9mQzwxK5niIwqp4bX3oeKVmtWSnL5/rXg= sha1:MsgXPweO+7pVBq/mnboiV4XgiZM= sha256:KbtnBhYUeyWuyWdACuo1p+Jx3gmONi0D4uh94DpUoI0=