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

Collect IPv6 Networking Information in Log Collector Script #1702

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

jdn5126
Copy link
Contributor

@jdn5126 jdn5126 commented Mar 4, 2024

Issue #, if available:
#1474

Description of changes:
This PR updates the log collector script for Linux nodes to collect IPv6 networking information that will assist in debugging. The following commands are run on IPv4 and IPv6 nodes:

  1. ip6tables --wait 1 --numeric --verbose --list --table mangle
  2. ip6tables --wait 1 --numeric --verbose --list --table filter
  3. ip6tables --wait 1 --numeric --verbose --list --table nat
  4. ip6tables --wait 1 --numeric --verbose --list
  5. ip6tables-save
  6. timeout 75 conntrack -L -f ipv6
  7. timeout 75 ip -6 rule show
  8. timeout 75 ip -6 route show table all

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Testing Done
I ran the updated script against IPv4 and IPv6 Linux nodes and validated that the expected information was collected.

See this guide for recommended testing for PRs. Some tests may not apply. Completing tests and providing additional validation steps are not required, but it is recommended and may reduce review time and time to merge.

Copy link
Contributor

@jaydeokar jaydeokar left a comment

Choose a reason for hiding this comment

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

lgtm

@cartermckinnon cartermckinnon merged commit a5a5ead into awslabs:main Mar 4, 2024
10 checks passed
atmosx pushed a commit to gathertown/amazon-eks-ami that referenced this pull request Jun 18, 2024
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.

3 participants