-
Notifications
You must be signed in to change notification settings - Fork 70
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
support auth of IP #863
base: main
Are you sure you want to change the base?
support auth of IP #863
Conversation
Signed-off-by: weli-l <[email protected]>
Signed-off-by: weli-l <[email protected]>
Signed-off-by: weli-l <[email protected]>
Signed-off-by: weli-l <[email protected]>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
4d4cd92
to
f7e2c6c
Compare
Signed-off-by: weli-l <[email protected]>
f7e2c6c
to
8e4acf1
Compare
struct ip_addr target_addr = {0}; | ||
int ret = convert_ipv6_to_u32(&rule_addr, addrInfo); | ||
if (ret != 0) { | ||
BPF_LOG(ERR, AUTH, "failed to convert ipv6 addr to u32 format\n"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why use AUTH
here when the previous log used KMESH
?
typedef struct bpf_sock_addr ctx_buff_t; | ||
|
||
typedef enum { | ||
TAIL_CALL_CONNECT4_INDEX = 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alignment
What type of PR is this?
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: