diff --git a/.config/fish/abbreviations.fish b/.config/fish/abbreviations.fish index 4d0241b..6dded37 100644 --- a/.config/fish/abbreviations.fish +++ b/.config/fish/abbreviations.fish @@ -160,3 +160,10 @@ abbr --add banmail "sudo fail2ban-client set amavis banip" abbr --add bancrawler "sudo fail2ban-client set nginx-crawlers banip" abbr --add banbots "while read -la ip; sudo fail2ban-client set nginx-crawlers banip; end" abbr --add bancrawlers "while read -la ip; sudo fail2ban-client set nginx-crawlers banip; end" + +# PF +abbr --add pf-log "multitail -cS pflog -l 'doas tcpdump -n -e -i pflog0'" +abbr --add pf-top "doas pftop -v rules" + +# Nginx +abbr --add nginx-log "doas multitail --mergeall /var/log/nginx/*.log"