home.social

#ipset — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #ipset, aggregated by home.social.

fetched live
  1. Last week, APIBAN's original iptables client received some updates, including support and an "allowed list" (for notating ips/networks that should never be blocked).

    And of course, APIBAN remains free (as in beer) to help protect your systems against unwanted traffic.

    github.com/apiban/apiban-clien

  2. Каскад на AmneziaWG: собираем два сервера, чтобы российские сайты шли напрямую

    Свой VPN на одном заграничном сервере хорош, пока не открываешь российские сайты: часть из них иностранные адреса просто не пускает - банки, Госуслуги, иногда стриминг. Остальные открываются с лишним крюком и с чужим IP. Разбираю по шагам, как собрать каскад из двух серверов на AmneziaWG: российский трафик уходит в интернет напрямую с сервера-входа, всё остальное - через сервер за границей. Одно подключение на телефоне, вся логика деления на сервере, всё переживает перезагрузку само. И отдельно - грабли: кэши Google на российских адресах, отдача ниже приёма, /32-шлюз у Hetzner.

    habr.com/ru/articles/1056220/

    #amneziawg #vpn #wireguard #каскад #split_tunneling #ipset #маршрутизация #selfhosted

  3. Три слоя защиты сервера: ipset, auto-block и CrowdSec

    Ваши логи забиты попытками входа в .env , .git и wp-login.php ? Пока бот стучится в Nginx, ваш сервер уже тратит драгоценные ресурсы. Я решил перенести фильтрацию в ядро Linux и делюсь рабочим кейсом эшелонированной обороны на базе ipset и CrowdSec .

    habr.com/ru/articles/1019778/

    #WAF #ipset #iptables #CrowdSec #Битрикс #защита_сервера #безопасность #Linux #bashскрипты #информационная_безопасность

  4. If you are struggling with the limits of #fail2ban like I was, you should seriously consider using reaction as an alternative. I upstreamed my optimization developments with #ipset support and the new documentation is now live.

    reaction.ppom.me/actions/ipset

    #security #sysadmin #webdev

  5. If you are struggling with the limits of #fail2ban like I was, you should seriously consider using reaction as an alternative. I upstreamed my optimization developments with #ipset support and the new documentation is now live.

    reaction.ppom.me/actions/ipset

    #security #sysadmin #webdev

  6. Someone wrote a wiki page to ban IPs using ipset.
    If you ban IPs with iptables, consider switching to ipset, as it's much faster!
    reaction.ppom.me/actions/ipset

    #reactionrust #ipset

  7. Ok I just switched reaction's ip bans from plain iptables to ipset.
    This made reaction startup 10 times faster on server 1.
    2,600 ips added in 3s instead of 30s.

    ipset is far superior than plain iptables for big IP lists. I knew this but I'm still surprised now that I see this!

    And the firewall stack must be much faster as well when treating incoming packets!

    #reactionrust #iptables #ipset #performance

  8. i have nothing against the vast majority of chinese but the botnets are really crazy - 80% of my traffic is from china #asn #cidr #ipset #fail2ban

  9. i have nothing against the vast majority of chinese but the botnets are really crazy - 80% of my traffic is from china #asn #cidr #ipset #fail2ban

  10. Прозрачное туннелирование трафика с маршрутизацией на основе геолокации IP-адресов

    В этой статье попробую рассказать как в домашней сети создать еще один шлюз по умолчанию и настроить на нем на выборочную маршрутизацию на основе списка подсетей. Используя в качестве такого списка базу данных геолокации IP-адресов, можно перенаправлять трафик в зависимости от страны назначения.

    habr.com/ru/articles/854112/

    #vpn #iptables #iproute2 #ipset #systemdnetworkd #маршрутизация

  11. I got sick tired of people hammering my web server trying to exploit vulnerabilities on things like or that I don't even run. My list of blocked IPs on was getting out of control, so I took off and nuked the site from orbit (only way to be sure). I blocked ALL IP addresses from China using and

  12. I got sick tired of people hammering my web server trying to exploit vulnerabilities on things like #log4j or #wordpress that I don't even run. My list of blocked IPs on #fail2ban was getting out of control, so I took off and nuked the site from orbit (only way to be sure). I blocked ALL IP addresses from China using #iptables and #ipset

    #firewall #linux #nginx