-
Notifications
You must be signed in to change notification settings - Fork 77
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
UDP filter is always not filtered in sflt_data_in and sflt_data_out #4
Comments
Always false? Let me check it. |
"udp_ipv4_attached" is always false means sflt_attach_udp_ipv4 / sflt_register initialization failed: Can you see the error message from this UDP branch? |
The MacOS version I am using is 10.13.6. It was always true in sflt_attach_udp_ipv4 call back, but whenever it comes to callback sflt_data_in and sflt_data_out, the value becomes false. Well, the tcp call back is right. |
I think you have added some redundant checks in your code when dealing with the udp handling. I found out that in network.c, some native udp request or requests with source port being 0 or dst port being zero. And entry->info.first_in_packet isn't null after the first callback. so this check |
it seems that entry->ump_ipv4_attached is always false in the two call-back functions: sflt_data_in and sflt_data_out
The text was updated successfully, but these errors were encountered: