Hi all,
This issue is not exactly for Polycube, but regarding eBPF/bcc. I am also researching on these topics and thought to ask about the following issue here. It would be really helpful if the team could go through the code and make some suggestions.
I am trying to perform IP routing using tc. I am taking guidance from two repos : lb-from-scratch and ebpf-networking. The client and backend are running in containers on my system and the load balancer(LB) is receiving packets on the docker0 interface.
However, when connection is initiated from client to LB, the client continuously retries sending the first SYN packet. Below is the bpf kernel code:
I'm not sure what I'm missing. For the checksum, I feel using the bpf helper functions bpf_l4_csum_replace and bpf_l3_csum_replace should be sufficient. In another article, I have read not to change the checksum at all.
Hi all, This issue is not exactly for Polycube, but regarding eBPF/bcc. I am also researching on these topics and thought to ask about the following issue here. It would be really helpful if the team could go through the code and make some suggestions. I am trying to perform IP routing using tc. I am taking guidance from two repos : lb-from-scratch and ebpf-networking. The client and backend are running in containers on my system and the load balancer(LB) is receiving packets on the docker0 interface. However, when connection is initiated from client to LB, the client continuously retries sending the first SYN packet. Below is the bpf kernel code:
I'm not sure what I'm missing. For the checksum, I feel using the bpf helper functions bpf_l4_csum_replace and bpf_l3_csum_replace should be sufficient. In another article, I have read not to change the checksum at all.