-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: udp conntrack for lan interface #699
base: main
Are you sure you want to change the base?
Conversation
e927e7f
to
31dadc7
Compare
Would you like to add some test as part of CI? I'm inclined to cover this in bpf unit test. |
I write some simple python udp server/client for testing the symmetric udp datapath. I don’t know much about the CI for dae or for ebpf part. But I will have a try. |
There is no problem with the code. My unit tests are not working correctly, but I have completed some debugging functions. Since I use ipv6 for testing, my device has multiple addresses, and I have already added the python code for testing in test result section. |
5e79db6
to
e35c1b3
Compare
e35c1b3
to
3f63618
Compare
Background
Previously, the wan interface had implemented udp conntrack
This PR implemented udp conntrack for lan interface.
Checklist
Full Changelogs
Test Result
You can use those python codes for testing,
Try to initiate a request from wan to lan. You should be able to observe that DAE skips the packet instead of routing it.
You could try to have reply packets routed to a node and observe whether
dae0
has the reply packet.server:
client: