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

feat(api): show ASN in connection metadata #616

Merged
merged 3 commits into from
Oct 1, 2024
Merged

feat(api): show ASN in connection metadata #616

merged 3 commits into from
Oct 1, 2024

Conversation

ibigbug
Copy link
Member

@ibigbug ibigbug commented Oct 1, 2024

🤔 This is a ...

  • New feature
  • Bug fix
  • Performance optimization
  • Enhancement feature
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Workflow
  • Other (about what?)

🔗 Related issue link

closed #510

💡 Background and solution

support both full or simplified(Country type) ASN mmdb

📝 Changelog

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Changelog is provided or not needed

rv.insert(
"destinationPort".to_string(),
Box::new(self.destination.port()) as _,
);
rv.insert("host".to_string(), Box::new(self.destination.host()) as _);

rv.insert("asn".to_string(), Box::new(self.asn.clone()) as _);
Copy link
Member Author

Choose a reason for hiding this comment

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

@greenhat616 FYI if you'd like to add a new column in the dashboard

Copy link
Collaborator

Choose a reason for hiding this comment

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

👍 Well noted. I could add it after I finished this pr libnyanpasu/clash-nyanpasu#1663

@ibigbug ibigbug merged commit 801972b into master Oct 1, 2024
24 checks passed
@ibigbug ibigbug deleted the api branch October 1, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

show ASN information
2 participants