|
|
|
|
|
by jcalvinowens
293 days ago
|
|
> Even if you dropped all packets from that client you would need to still process the packets to figure out what client they belong to before dropping the packets? In modern Linux you can write BPF-XDP programs to drop traffic at the lowest level in the driver before any computation is spent on them at all. Nearly the first thing the driver does after getting new packets in the rx ring buffer is run your program on them. |
|