Networking Forums

Networking Forums > Computer Networking > Linux Networking > Re: what does "::ffff" mean in netstat output?

Reply
Thread Tools Display Modes

Re: what does "::ffff" mean in netstat output?

 
 
Rick Jones
Guest
Posts: n/a

 
      01-27-2010, 09:48 PM
Bennett Haselton <(E-Mail Removed)> wrote:
> When I run "netstat" on my machine I get some lines like:


> tcp 0 0 ::ffff:69.72.177.140:80 ::ffff:<remote ip
> address> TIME_WAIT


> I've read through the netstat man page, and several pages of Google
> hits for "netstat output", and I can't find an answer to this: What
> does the "::ffff" mean in front of an IP address in the netstat
> output?


> Some lines list a connection and its state, with the "::ffff" in
> front of the source and destination IP, and some list connections
> without the "::ffff". I just want to know what the difference is
> between the lines that have it and the lines that don't.


::ffff is the IPv6 prefix for an IPv4 address mapped into IPv6 space
(something along those lines).

--
the road to hell is paved with business decisions...
these opinions are mine, all mine; HP might not want them anyway...
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
 
Reply With Quote
 
 
 
 
Pascal Hambourg
Guest
Posts: n/a

 
      01-28-2010, 10:50 AM
Hello,

Rick Jones a écrit :
> Bennett Haselton <(E-Mail Removed)> wrote:
>> When I run "netstat" on my machine I get some lines like:

>
>> tcp 0 0 ::ffff:69.72.177.140:80 ::ffff:<remote ip
>> address> TIME_WAIT

>
> ::ffff is the IPv6 prefix for an IPv4 address mapped into IPv6 space
> (something along those lines).


And it means that it is an IPv6 socket that is used for IPv4
communication. Application and socket-wise, it is IPv6 but network and
packet-wise it is IPv4. This is allowed as a transition mechanism if
net.ipv6.bindv6only=0 and the application didn't set the socket option
IPV6_V6ONLY.

It seems that some recent OSes disable this option by default so that
IPv6 sockets can handle only real IPv6 communications.
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: what does "::ffff" mean in netstat output? David W. Hodgins Linux Networking 0 01-27-2010 07:29 PM
interpreting "input ICMP message failed" / netstat skendric@fhcrc.org Linux Networking 0 04-23-2009 05:56 PM
netstat -s output: "packets pruned" and "packets collapsed" roybatty Linux Networking 0 07-20-2007 08:44 PM
"Transmit timeout, status ff ffff ffff media ff" Lo'oris Linux Networking 2 06-06-2007 08:03 PM
What Causes TCP Send Queue to Grow ("netstat" -an output)? John Davis Linux Networking 4 08-14-2003 03:23 PM



1 2 3 4 5 6 7 8 9 10 11