Hi all, I was asked at Velocity yesterday if there’s an efficient way to summarize incoming and outgoing traffic by subnet using BPF (providing rx and tx byte counts per subnet). The use case is trying to estimate traffic costs for cross-region or cross-availability zone deployments in cloud environments.
For static subnet definitions it would be fairly reasonable to use kprobes like tcptop does, and apply IP bitmasks hardcoded into the BPF program. But what about subnets added dynamically, or for incoming traffic? Any suggestions or pointers would be very appreciated. Thanks, Sasha
_______________________________________________ iovisor-dev mailing list [email protected] https://lists.iovisor.org/mailman/listinfo/iovisor-dev
