Open nf-brentsaner opened 1 month ago
Describe the bug The ConnectionState.Type is decided by which family it is, e.g.: https://github.com/shirou/gopsutil/blob/master/net/net_linux.go#L456
This is incorrect, as there can be e.g. syscall.SOCK_STREAM types of syscall.AF_UNIX connections.
To Reproduce N/A
Expected behavior This should be determined as reported by the kernel and not a map.
Environment (please complete the following information): (See above example; Linux)
Additional context N/A
Describe the bug The ConnectionState.Type is decided by which family it is, e.g.: https://github.com/shirou/gopsutil/blob/master/net/net_linux.go#L456
This is incorrect, as there can be e.g. syscall.SOCK_STREAM types of syscall.AF_UNIX connections.
To Reproduce N/A
Expected behavior This should be determined as reported by the kernel and not a map.
Environment (please complete the following information): (See above example; Linux)
Additional context N/A