Comment by ๐Ÿš€ lars_the_bear

Re: "Iโ€™m pondering about self hosting a small gopher hole on myโ€ฆ"

In: s/gopher

@SaveRocks : I would have thought Docker would be a bit of a burden for a Raspberry Pi, although I appreciate that it's supported.

I have mixed feelings about Docker/Podman/LXC for this kind of thing. On the one hand their isolation is pretty strong. On the other, their widespread use in the online services world makes them a viable target for hackers.

Still, I guess if anybody does find a way to subvert docker, they're going to have more lucrative targets than somebody's home gopher server.

๐Ÿš€ lars_the_bear

Apr 16 ยท 3 weeks ago

3 Later Comments โ†“

๐Ÿš€ astrowat [OP] ยท Apr 16 at 17:25:

Re: with docker - you want to make sure you donโ€™t elevate access unnecessarily and have a non-root user to run the process. I know itโ€™s possible to escape the container if itโ€™s not secured.

๐Ÿ™ norayr [mod] ยท Apr 20 at 00:20:

there's old good chroot, back in decades ago people were running servers in chroots when they weren't sure. and chroots could be very small.

if the binary was statically compiled it basically needed just a kernel and its own configs.

but i am much more interested in how do you run a gopher bbs for meshtastic?

can i guess? you have a program that presents itself as socks proxy for your gopher browser. then instead of proxying it talks to a meshtastic device. on the other side a similar program gets a request and passes it to a gopher server.

i am writing such a program, have it half baked, need to concentrate and continue. how do you do this? can you explain what you do?

๐Ÿš€ astrowat [OP] ยท Apr 20 at 11:24:

Iโ€™m using MeshGopher (not mine - https://github.com/jmansell90/meshgopher) which has a very basic gopher server built in, the builtin client chats via DM and will chunk text to get around the 200 byte limit. I was thinking about using gophernicus to add a bit of dynamic content (weather, etc).

Original Post

๐ŸŒ’ s/gopher

๐Ÿš€ astrowat:

Iโ€™m pondering about self hosting a small gopher hole on my raspberry pi. Itโ€™s mostly for #meshtastic (Iโ€™m using it as a BBS), but Iโ€™d like to show it off to people without a mesh of their own. Would it be a bad idea to open port 70 on my firewall? Iโ€™m intentionally avoiding any cgi so the surface area of attack in smallish.

๐Ÿ’ฌ 7 comments ยท 1 like ยท Apr 15 ยท 3 weeks ago