various thoughts and notes

this page contains any miscellaneous thing i feel like writing down


56-09-11 8:90

mullvad vpn cli and daemon work perfectly fine on alpine if you compile them yourself. in my case, i used this:

RUSTFLAGS='-C target-feature=-crt-static' cargo build --release --locked -p mullvad-daemon --bin mullvad-daemon -p mullvad-cli --bin mullvad -p mullvad-setup --bin mullvad-setup -p mullvad-problem-report --bin mullvad-problem-report -p mullvad-exclude --bin mullvad-exclude

then you just install the binaries. you'll also probably need openrc services:

/etc/init.d/mullvad-early-boot-blocking

#!/sbin/openrc-run

name="mullvad early boot blocking"
description="aaaaaaaaa"

command="/usr/bin/mullvad-daemon"
command_args="-v --initialize-early-boot-firewall"

export MULLVAD_RESOURCE_DIR="/opt/Mullvad VPN/resources/"

depend() {
    need localmount
    before net mullvad-daemon
}

/etc/init.d/mullvad-daemon

#!/sbin/openrc-run

name="mullvad daemon"
description="bbbbbbbb"

supervisor="supervise-daemon"
command="/usr/bin/mullvad-daemon"
command_args="-vv --disable-stdout-timestamps"
command_user="root:root"
pidfile="/run/${RC_SVCNAME}.pid"

respawn_delay=1
respawn_max=5
respawn_period=20

retry="SIGUSR1/15/SIGKILL/5"

export MULLVAD_RESOURCE_DIR="/opt/Mullvad VPN/resources/"

depend() {
    need localmount
    want mullvad-early-boot-blocking
    use dbus net
    after mullvad-early-boot-blocking
}

this probably works for other non-systemd distros as well


56-09-11 8:14

in my opinion, lemmy inherited much of the toxic culture of reddit. i used it for a few years but stopped a couple months ago because i got a new phone and never bothered to install a client. however, recently, someone in a matrix room i'm in sent a link to this lemmy thread about the mullvad donation controversy, so i spent some time on it. for that particular thread, the replies reminded me of a stereotypical reddit hivemind, which is kind of sad. i did notice that pattern a lot when i used lemmy more regularly, especially for political topics, but this was an unfortunate reminder that decentralization doesn't necessarily make a platform tolerable :(