paulgorman.org

< ^ txt

Mon Dec 23 06:00:01 EST 2019 ======================================== Slept from midnight to nine. Sunny. Highs around 50. Southwest winds 5 to 15 mph. To do: - Wrap presents No. https://serverfault.com/questions/216995/is-it-worth-the-effort-to-block-failed-login-attempts/217066 ``` iptables -I INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m recent --set iptables -I INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m recent --update --seconds 60 --hitcount 4 -j DROP ``` > It prevents more than 4 connection attempts from a single IP to ssh in any 60 second period. https://wiki.nftables.org/wiki-nftables/index.php/Rate_limiting_matchings https://wiki.nftables.org/wiki-nftables/index.php/Matching_connection_tracking_stateful_metainformation Watched Draug on Prime, a Swedish historical horror movie. Well done for its low budget. Thirty-five-minute walk in the late afternoon. Warm! Servings: grains 9/6, fruit 2/4, vegetables 3/4, dairy 7/2, meat 2/3, nuts 0/0.5 Brunch: pineapple, cucumber, coffee Lunch: pierogi Afternoon snack: banana Dinner: pizza 130/77 -22

< ^ txt