Open6
Arch Linux 秘伝のタレ
ある程度まとまった知見を記事にした
カーネルチューニング
BBR(EN)
Load Module
modprobe tcp_bbr
or
/etc/modules-load.d/bbr.conf
tcp_bbr
Check Module Is Loaded
lsmod | grep bbr
Set Up sysctl Config File
/etc/sysctl.d/bbr.conf
net.core.default_qdisc = cake
net.ipv4.tcp_congestion_control = bbr
Load Config From File
sudo sysctl -p /etc/sysctl.d/bbr.conf
Check Running Config
sysctl net.ipv4.tcp_available_congestion_control
sysctl net.ipv4.tcp_congestion_control
Network tools(EN)
-
dig
(dnsutils) の代用-
drill
(ldns) dog
-
traceroute
whois
TinySSH
軽量SSHサーバー
前準備
早い話、公開鍵認証をやればおk
# macOS
ssh-keygen -t ed25519
cat ~/.ssh/id_ed25519.pub ~/.ssh/authorized_keys | pbcopy
# Arch Linux
mkdir ~/.ssh
:>~/.ssh/authorized_keys
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
nvim ~/.ssh/authorized_keys
やり方
# Arch Linux
yay -S tinyssh
sudo systemctl start tinysshgenkeys.service
sudo systemctl enable tinyssh@22.socket
sudo systemctl disable sshd
sudo reboot
yay -Rsn openssh