News for hackers. Stuff that matters.
Re:Ask HN: What do you self-host? by mavidser on Saturday October 12, 2019 @11:18PM (#21238126)
I reworked my servers a while ago to host literally everything through docker, managed via terraform.

All web-services are reverse-proxied through traefik

At home:

    loki + cadvisor + node-exporter + grafana + prometheus
    syncthing
    tinc vpn server
    jackett + radarr + sonarr + transmission
    jellyfin
    samba server
    calibre server
On a remote server:

    loki + cadvisor + node-exporter + grafana + prometheus
    syncthing
    tinc vpn server
    dokuwiki
    firefox-sync
    firefox-send
    vscode server
    bitwarden
    freshrss
    znc bouncer + lounge irc client + bitlbee
    an httptunnel server (like ngrok)
    firefly iii
    monicahq
    kanboard
    radicale
    syncthing
    wallabag
    tmate-server
Re:Ask HN: What do you self-host? by tnsittpsif on Sunday October 13, 2019 @03:09AM (#21238895)
How much do you spend on the remote server on a monthly basis? Also, what's the hardware you use for the home server?
Re:Ask HN: What do you self-host? by mavidser on Sunday October 13, 2019 @03:41AM (#21239034)
Remote server's a 20USD/month DigitalOcean droplet with 4GB memory. Though even half of that would also have specified for these services.

Home server's a Raspberry Pi 4.

Re:Ask HN: What do you self-host? by vaxman on Monday October 14, 2019 @03:13PM (#21251684)
Prefab system images From Russia With Love, including password managers and surfing proxies, spun up on a VPS operated by totally unknown people (probably remoted to the actual DC from some place with bad water)...security nightmare. When I see Statue of Liberty sticking up out of the water on the shoreline, imma scream like Charles Heston! Need Congress/FTC to set guidelines. In mean time, know that you don't get all the benefits of that stack for "free", you're burning down future hours that will be in disaster recovery mode.
Re:Ask HN: What do you self-host? by dkmb on Tuesday October 15, 2019 @05:33AM (#21256867)
I uhh.. what?
Re:Ask HN: What do you self-host? by BrandoElFollito on Saturday October 26, 2019 @04:06AM (#21362418)
I think it means he does not do any self-hosting.
Re:Ask HN: What do you self-host? by vaxman on Sunday October 27, 2019 @06:54AM (#21368962)
opposite of correct
Re:Ask HN: What do you self-host? by mavidser on Sunday October 13, 2019 @06:00AM (#21239526)
s/specified/sufficed
Re:Ask HN: What do you self-host? by vaxman on Monday October 14, 2019 @03:14PM (#21251694)
..and note rPis don't have error checking memory and have disk errors all the time
Re:Ask HN: What do you self-host? by unixhero on Friday October 25, 2019 @03:33PM (#21358452)
Hmmm... With which filesystems?
Re:Ask HN: What do you self-host? by vaxman on Sunday October 27, 2019 @06:47AM (#21368939)
it's an electrical issue (contacts on SD cards, voltage/thermal spikes, etc.)
Re:Ask HN: What do you self-host? by unixhero on Sunday October 27, 2019 @03:29PM (#21371840)
Sure. I still wonder and it would be interesting to find out which filesystems is the most resilient under the conditions you describe there.
Re:Ask HN: What do you self-host? by nerdponx on Sunday October 13, 2019 @02:16AM (#21238691)
Was it hard to set up Firefox-Sync/Send? Last I checked, self-hosting these was undocumented and difficult.
Re:Ask HN: What do you self-host? by mavidser on Sunday October 13, 2019 @03:53AM (#21239091)
Sync's docs were a bit outdated, yes. Had to spend some time to get it up and running.

The config I ended up using - https://0bin.net/paste/gnWY4+Tn-jZ2UMZm#RgQfZ3uD7MIlK7nWKLLX...

It's deployed on docker, proxied through traefik.

Re:Ask HN: What do you self-host? by nerdponx on Sunday October 13, 2019 @05:12AM (#21239360)
Thanks, hopefully I can get this working myself.
Re:Ask HN: What do you self-host? by sdan on Sunday October 13, 2019 @03:28AM (#21238978)
It's not hard when you use Docker. Just spin it up and then use Traefik to route.
Re:Ask HN: What do you self-host? by dmos62 on Sunday October 13, 2019 @12:22PM (#21241209)
I see you're using Bitwarden.

Does anyone have recommendations for password+sensitive-data management?

I'm currently using Keepass and git, but I have one big qualm. You cannot choose to not version-control that one big encrypted (un-diff-able) file.

Re:Ask HN: What do you self-host? by johntash on Tuesday October 15, 2019 @12:23AM (#21255540)
You might like Pass [0] or GoPass [1] which had more features the last I looked at it.

They both store passwords/data in gpg-encrypted files in a git repo. I'm not sure what the state of GUIs/browser plugins are for it, but I'm pretty sure there are some out there.

You can also set up your git config to be able to diff encrypted .gpg files so that the files are diff-able even though they're encrypted.

[0]: https://www.passwordstore.org/

[1]: https://github.com/gopasspw/gopass

Re:Ask HN: What do you self-host? by dmos62 on Tuesday October 15, 2019 @03:24PM (#21262590)
Yeah, I like Pass the most in this space, but it doesn't encrypt the index of logins/items that you're keeping. I.e. it's a folder tree of encrypted files, so you can see the sites, logins and other things that I'm using. That's kind of a deal breaker for me, though I'm pondering if I'm being practical, or just overly cautious.
Re:Ask HN: What do you self-host? by monotux on Monday October 14, 2019 @08:43AM (#21247600)
Bitwarden can be self-hosted and it's server is open source (and security audited, for what it's worth). I've used it for a few years or so and I've had no issues this far.

One other alternative to keepass is pass[1].

[1]: https://www.passwordstore.org/

Re:Ask HN: What do you self-host? by erulabs on Sunday October 13, 2019 @04:39PM (#21242829)
Vault or Bitwarden are great for projects once they get serious - Unfortunately there isn't a one-size-fits all solution that doesn't suck in one way or another. Setting up vault is fairly non-trivial.
Re:Ask HN: What do you self-host? by captn3m0 on Sunday October 13, 2019 @12:43AM (#21238414)
Or stacks look so similar, it’s creepy. Thankfully, not running sync thing now.
Re:Ask HN: What do you self-host? by mavidser on Sunday October 13, 2019 @04:16AM (#21239193)
Yeah, I too have noticed that. Haven't seen a lot of terraform usage for personal services.

What are the issues with syncthing?

Re:Ask HN: What do you self-host? by captn3m0 on Tuesday October 15, 2019 @04:42AM (#21256632)
Now running NextCloud
Re:Ask HN: What do you self-host? by ekianjo on Sunday October 20, 2019 @06:38AM (#21303333)
That is not an issue?
Re:Ask HN: What do you self-host? by drakenot on Sunday October 13, 2019 @02:05AM (#21238647)
What do you use instead?
Re:Ask HN: What do you self-host? by pickdenis on Sunday October 13, 2019 @03:09AM (#21238897)
Not him, but I'm gonna use this as a chance to plug unison[1]. I've been using it for more than a year now to keep files synced across more than 3 computers and it works flawlessly. It gets a tad slow to start propogating changes if you have too many files and a weak server (around 150k files, server has an Atom N2800), but it's not more than 15 seconds.

One nifty thing is that you don't need to run unison on the server ever, just have it installed. I have systemd units that I enable on my client machines and that does all of the syncing; unison connects to the server with ssh and does all the work there over that.

[1]: https://www.cis.upenn.edu/~bcpierce/unison/index.html

Re:Ask HN: What do you self-host? by equalunique on Sunday October 13, 2019 @08:12AM (#21239977)
I've been wanting to give Ocaml a try and Unison source code seems to be one of the most popular reference applications for it.
Re:Ask HN: What do you self-host? by emit_time on Saturday October 12, 2019 @11:30PM (#21238177)
Have you considered moving from tinc to Wireguard?
Re:Ask HN: What do you self-host? by mavidser on Saturday October 12, 2019 @11:52PM (#21238248)
Yes, I've been meaning to give it a go for a while now. Couldn't use it initially because of (then) lack of availability on BSD.
Re:Ask HN: What do you self-host? by masterfooo on Saturday October 12, 2019 @11:49PM (#21238241)
I use both, and one thing I found that is sucky about WG is that it does not work well with the Windows firewall. I need to give full permission to an app to be able to access ip addresses routed by WG. Tinc does not have this problem.
Re:Ask HN: What do you self-host? by LinuxBender on Tuesday October 15, 2019 @10:24AM (#21258690)
WG also doesn't do dynamic mesh routing. With tinc, I can have a network path down, and my mesh will find it's way around it. Tinc is slower than WG, but I will take that hit for the benefit of availability. (my preference anyway)

One thing I noticed with tinc is that it does not take advantage of sysctl network tuning. I had to increase the network buffers for that dynamic routing to not make as much of a noticeable slowdown.

    Cipher = aes-128-cbc
    ClampMSS = yes
    UDPRcvBuf = 81920000
    UDPSndBuf = 81920000
    Compression = 0
Re:Ask HN: What do you self-host? by ekianjo on Sunday October 20, 2019 @06:35AM (#21303323)
How do you like bitlbee?