LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   netstat cuts off ip addresses (https://www.linuxquestions.org/questions/linux-networking-3/netstat-cuts-off-ip-addresses-672374/)

saial 09-25-2008 04:19 PM

netstat cuts off ip addresses
 
I have connections shown as ipv6 (I think, They have ::ffff: appended to them) from addresses which are not ipv6 (it shows them as ipv6 when they are not?). They get cut off so I some times have an address like:

::ffff:192.168.1.:5030

in my active connections.

Why does this happen and how can I fix it?

jb_get 09-27-2008 04:03 AM

Try redirecting the stream to an output file and see if everything shows up there.

chort 09-28-2008 12:34 PM

For IPv6 addresses, it's legal to represent consecutive zeros as :: . Google for the rules of IPv6 address notation, you should find an explanation.

saial 09-29-2008 11:50 AM

Yes. But these aren't supposed to be ipv6 addresses. I don't even have a router setup for ipv6.

flahavin 02-08-2015 05:57 PM

netstat options
 
Netstat is cutting off part of the address , try the --wide option:

Example.
netstat --wide -an


All times are GMT -5. The time now is 06:09 PM.