feat: Add network connection retrieval for AIX platform#1983
Closed
Dylan-M wants to merge 6 commits into
Closed
Conversation
This was referenced Dec 23, 2025
98cc830 to
2e34db0
Compare
2e34db0 to
e24f8fb
Compare
75f1291 to
4f9c81c
Compare
c9c9625 to
753fba3
Compare
4d39083 to
1204bb7
Compare
1204bb7 to
3eedb93
Compare
Owner
|
This PR is relatively small compared to the others, so I could review it. However, there are two concerns:
I'm closing this along with your other open PRs for the reasons described in #1980. I'd welcome resubmission as smaller, focused PRs with the root privilege concern addressed. |
30 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Implement network connection retrieval functionality for AIX platform using netstat and rmsock commands.
Part 5 of splitting #1969: net package
Depends on #1979 #1980 #1981 #1982
Changes
errorsimport for error handlingconnectionsPidMaxWithoutUidsWithContext()to retrieve network connectionsgetAIXConnections()helper function to get all network connectionsgetAIXConnectionsForPid()helper function to get connections for a specific processresolveAIXSockToConnection()helper function to resolve socket addresses to connection infonet_aix_test.goTesting
All new code has been tested with comprehensive unit tests covering:
Platform