![Avatar](/_next/image?url=https%3A%2F%2Flemmy.sdf.org%2Fpictrs%2Fimage%2Fee22644c-7bce-415f-a9bd-eab6a79ac074.png&w=3840&q=75)
![Avatar](/_next/image?url=%2Flemmy-icon-96x96.webp&w=3840&q=75)
ssm
ssm@lemmy.sdf.org
Joined
7 posts • 169 comments
OpenBSD admin and ports maintainer
5 points
Thank you for posting anti-fascist content!
based, IRC is more based though.
PLAP PLAP PLAP
brb moving to brazil
cropped thumbnail is perfect
/etc/unwind.conf
block list "/var/db/unwind_blocklist"
forwarder { X.X.X.X port X DoT X.X.X.X port X DoT }
preference { DoT }
unwind_blocklist is generated with this script I wrote:
#!/bin/sh
# Blocklists for unwind(8)
blocklist=/var/db/unwind_blocklist
[ ! -f $blocklist ] && \
(umask 117; touch $blocklist && chgrp _unwind $blocklist)
{
ftp -V -o - \
https://blocklistproject.github.io/Lists/alt-version/everything-nl.txt \
http://winhelp2002.mvps.org/hosts.txt \
http://sysctl.org/cameleon/hosts \
https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt \
https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt \
https://raw.githubusercontent.com/Perflyst/PiHoleBlocklist/master/android-tracking.txt
echo twitter.com
echo www.twitter.com
echo www.x.com
echo x.com
echo facebook.com
echo www.facebook.com
} | awk -safe '
!/^M|#|(^|\.)[[:blank:]]*$|^definitely_not_porn$/ {
if ($1 ~ /127\.0\.0\.1|0\.0\.0\.0/) {
$0 = $2
}
if ($0 ~ /[[:upper:]]/) {
print tolower($0)
} else {
print $0
}
}
' | sort -u >$blocklist
rcctl restart unwind
Regenerates occasionally with cron.
This is truly the question of all time
My password manager is
mkdir ~/Account/some.domain
cd $_
genpasswd | openssl some-cipher -k 'really strong encryption password' >pass.enc
echo username >login
#decrypt
cd ~/Account/some.domain
openssl some-cipher -d <pass.enc | xclip
#paste in field
xclip login
#paste in field
Couldn’t be easier, couldn’t be safer.