Live data from Hacker News

Dank-selfhosted: automated deployment of email, web, DNS, XMPP, ZNC on OpenBSD

github.com

21–30 of 86 posts

Re: Dank-selfhosted: automated deployment of email, web, DNS, XMPP, ZNC on OpenBSD

#21

Looks good for moving away from the widely used centralization services (CF/aws for DNS, google for email, etc), my only question is how this is #1 on HN with 12 points.

Hacker News uses points, (inverse) time since posting, and (inverse) number of comments to decide the position of an item.

Lots of points in a short time with few or no comments will push an item to the top.

Re: Dank-selfhosted: automated deployment of email, web, DNS, XMPP, ZNC on OpenBSD

#22
post #9

Looks like this is similar to other self hosting projects like FreedomBone and NextCloud. It's great to see more tools to take back control over our data.

Similarly Cloudron.io and Sandstorm.io are very impressive and easy to use projects.

Re: Dank-selfhosted: automated deployment of email, web, DNS, XMPP, ZNC on OpenBSD

#23

I would not put all of this on the same machine. Edit: To clarify - if one line of code is fd in any of the daemons you’re running you’ll lose everything. Practice defense in depth. Minimize the damage possible.

OpenBSD's standard practice is for all daemons to run as unprivileged users in chroots (after using pledge and - nowadays - unveil to restrict themselves further). If one line of code is fd in any of the daemons, it will by default be constrained to that daemon.

Absolutely, and pledge is amazing.

That being said, for example, let’s say pledge or unveil have one line of code that is fd.

Re: Dank-selfhosted: automated deployment of email, web, DNS, XMPP, ZNC on OpenBSD

#25
post #9

Looks like this is similar to other self hosting projects like FreedomBone and NextCloud. It's great to see more tools to take back control over our data.

Using mailcow for hosting your own mail server is a awesome and smooth experience

Re: Dank-selfhosted: automated deployment of email, web, DNS, XMPP, ZNC on OpenBSD

#26
post #9

Looks like this is similar to other self hosting projects like FreedomBone and NextCloud. It's great to see more tools to take back control over our data.

Similarly Cloudron.io and Sandstorm.io are very impressive and easy to use projects.

Sandstorm is great but apps really don't get updated anymore sadly. The founders also now have day jobs with CF, so probably don't get oodles of time to work on it.

Cloudron I've heard is excellent, completely dockerizes and automates everything with a slick webui, has lots of apps, however I just am unwilling to pay $15 a month for it.

Will likely roll my own apps/services with Rancher/haproxy/LE (or traefik as the reverse proxy/SSL term) on my sufficiently beefy Netcup rootserver KVM instance (at 8G should handle everything I want to do, but will likely use up most of it's resources which is fine).

Re: Dank-selfhosted: automated deployment of email, web, DNS, XMPP, ZNC on OpenBSD

#27

I would not put all of this on the same machine. Edit: To clarify - if one line of code is fd in any of the daemons you’re running you’ll lose everything. Practice defense in depth. Minimize the damage possible.

what is `fd` in this context?

Re: Dank-selfhosted: automated deployment of email, web, DNS, XMPP, ZNC on OpenBSD

#28

I would not put all of this on the same machine. Edit: To clarify - if one line of code is fd in any of the daemons you’re running you’ll lose everything. Practice defense in depth. Minimize the damage possible.

what is `fd` in this context?

I think he meant "f'd" as in fucked

Re: Dank-selfhosted: automated deployment of email, web, DNS, XMPP, ZNC on OpenBSD

#29

Earlier quoted context omitted.

OpenBSD's standard practice is for all daemons to run as unprivileged users in chroots (after using pledge and - nowadays - unveil to restrict themselves further). If one line of code is fd in any of the daemons, it will by default be constrained to that daemon.

Absolutely, and pledge is amazing. That being said, for example, let’s say pledge or unveil have one line of code that is fd.

You mean as opposed to your container/virtualization having one line of code that is "fd"?

Re: Dank-selfhosted: automated deployment of email, web, DNS, XMPP, ZNC on OpenBSD

#30
post #7

Heads up you should probably never host your own email on the same server as your web/worker servers if you’re worried about IP leakage. Your IP is exposed on outbound mail. Using SMTP services like SendGrid won’t help, either.

What's the problem with leaking your IP address? If you host a website or any kind of API there, your IP is public anyway?

Not if it's behind a CDN, if you were to host a website that someone might consider a DDoS target (frankly anything can be these days), then it can be wise to keep the host's true IP off the record
Post reply on HN