Skip to content
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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

support auth of IP #863

wants to merge 5 commits into from

Conversation

weli-l
Copy link
Contributor

@weli-l weli-l commented Sep 18, 2024

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?:


Signed-off-by: weli-l <[email protected]>
Signed-off-by: weli-l <[email protected]>
@kmesh-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign kevin-wangzefeng for approval. For more information see the Kubernetes Code Review Process.

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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");
Copy link
Collaborator

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,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alignment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants