[lug] netstat question

Jason Davis mohadib at openactive.org
Tue Oct 26 09:54:20 MDT 2004


On Tue, 2004-10-26 at 09:39, John Hernandez wrote:
> Jason Davis wrote:
> > netstat -tap
> > 
> > i get this ...
> > Proto Recv-Q Send-Q Local Address           Foreign Address        
> > State       PID/Program name
> > tcp        0      0 *:ssh                   *:*                    
> > LISTEN      1263/sshd
> > 
> > tcp        0      0 ::ffff:192.168.1.18:ssh ::ffff:192.168.1.:52509
> > ESTABLISHED 18814/0
> > 
> > 
> > (sorry if above wraps)
> > 
> > So why is netstat using ::ffff instead of the ip or name?
> 
> The ::ffff:1.2.3.4 format is called an IPv4-mapped address.  If your OS 
> and application are IPv6-enabled, you might see this.  If you are 
> interested in the v4 address, just ignore the ::ffff: component.
> 


nice :) thanks
jd




More information about the LUG mailing list