[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: w, who, finger, last, and netstat and ipv6



On Sat, Jul 23, 2016 at 01:53:07AM +0000, Andy Smith wrote:
> On Fri, Jul 22, 2016 at 11:57:32PM +0100, Michael Grant wrote:
> > netstat does a little better still but not much:
> > 
> > tcp6       0   2640 2600:3c00::ffff:9:22 2a00:23c4:6d10:4d:36663
> > ESTABLISHED 12345/sshd: mgrant
> 
> "--wide" works for me.
> 
> $ netstat --protocol inet6 --wide
> Active Internet connections (w/o servers)
> Proto Recv-Q Send-Q Local Address           Foreign Address         State      
> tcp6       0    164 2001:ba8:1f1:f02c::2:ssh bitfolk.com:60756       ESTABLISHED

Oh, that is showing the local host's own v6 address, not the place I
was coming from. Add "--numeric-hosts" to get that. It isn't
truncated for me as long as I use "--wide".

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting


Reply to: