-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add state of UDP connection and remote/foreign address #7
Comments
Aah - my #11 seems to be a dup of this. Are you still interested in this functionality? I may try to add it. |
That would be a neat feature to have! That would help with https://github.com/patrickelectric/linux2rest |
I know how to add this for MacOs and Linux but oddly for windows, it's not clear. The main call at https://github.com/ohadravid/netstat2-rs/blob/master/src/integrations/windows/socket_table_extended.rs#L150 does not ever appear to return a remote IP + port, despite the fact that netstat on windows clearly returns that information:
Though some of the IPs appear odd (0.0.0.100!?). Anyone know what's going on here or where this info is coming from? Stackoverflow seems to have some erroneous data in it with respect to "No OS's track remote UDP state because UDP is connectionless", so my research has not found any reasonable answers. [edit] Posted question to stackoverflow in search of wisdom: |
I might be wrong, but I'd think 0.0.0.100 as x.x.x.100 from some address with mask 255.255.255.0, like 192.168.0.100 |
As in
netstat -u
The text was updated successfully, but these errors were encountered: