# Outgoing
nc -v -u www.google.com 443
# Incoming
nc -v -u 1.1.1.1 443
ip6tables -t mangle -I POSTROUTING -j HL --hl-set 65
iptables -t mangle -I POSTROUTING -j TTL --ttl-set 65
References
URL browser ASCII code ref https://www.w3schools.com/tags/ref_urlencode.ASP
const Str = require('@supercharge/strings')
- Use
curl
to get the JSON response for the latest release - Use
grep
to find the line containing file URL - Use
cut
andtr
to extract the URL - Use
wget
to download it
curl -s https://api.github.com/repos/jgm/pandoc/releases/latest \
| grep "browser_download_url.*deb" \
| cut -d : -f 2,3 \
| tr -d \" \
Error Message
kresd -c /etc/knot-resolver/53/kresd.conf
[system] error: module 'kres_modules.http' not found:
no field package.preload['kres_modules.http']
no file '/usr/lib/knot-resolver/kres_modules/http.lua'
no file '/usr/lib/knot-resolver/kres_modules/http/init.lua'
https://github.com/Schniz/fnm#using-a-script-macoslinux
curl -fsSL https://fnm.vercel.app/install | bash