Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Oct 2000 09:30:43 -0400
From:      "Drew Derbyshire" <software@kew.com>
To:        <security@FreeBSD.ORG>
Subject:   sockstat (was Re: cvs commit: src/etc inetd.conf)
Message-ID:  <002101c02f99$a04b6010$94cba8c0@hh.kew.com>
References:  <39D93044.8B0C4E69@ursine.com> <Pine.BSF.4.21.0010030332190.15413-100000@surreal.nl> <20001006153343.B232@ringwraith.office1.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
> And to paraphrase an earlier comment by DES,
> "Funny way to say sockstat | fgrep '*.*'"  :)

Urp!

sockstat seems to truncate port numbers on the FOREIGN ADDRESS under 4.1
release ...

USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
postfix  smtpd    44199    4 tcp4   *.25                  *.*
root     sshd     44004    4 tcp4   192.168.203.135.22    192.168.203.148.13
socks    socks5   43989    5 tcp4   192.168.203.135.10    *.*
socks    socks5   43989    6 tcp4   192.168.203.135.10    192.168.203.145.10
socks    socks5   43989    7 tcp4   24.218.227.234.311    205.188.6.205.5190

Looking at netstat for the ssh connection:

tcp4       0     36  192.168.203.135.22     192.168.203.148.1302
ESTABLISHED





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002101c02f99$a04b6010$94cba8c0>