Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> eBPF & XDP would be much faster than netfilter.

Netfilter is plenty fast, when configured sensibly. You'd probably want script to populate a "hash:net" ipset instead, and have just one iptables rule:

  -A INPUT \
    -m set --match-set geoblock \
    -j DROP
(where "geoblock" is aforementioned set)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: