Agnus Dei (jackal) wrote,
Agnus Dei
jackal

tcptrack usage

cd /tmp

wget ftp://rpmfind.net/linux/dag/redhat/el6/en/x86_64/dag/RPMS/tcptrack-1.4.0-1.el6.rf.x86_64.rpm

rpm -ivh tcptrack-1.4.0-1.el6.rf.x86_64.rpm




Connections to port 8443 (dst or src):
[root@0000001 ~]# tcptrack -i eth0 'port (8443)'


Connections from my IP (108.171.110.245):
[root@0000001 ~]# tcptrack -i eth0 'ip src 108.171.110.245 or ip dst 108.171.110.245'


Connections from pound to app server on port 8443 :
[root@0000001 ~]# tcptrack -i eth0 '(ip dst 10.0.2.21 or ip src 10.0.2.21 and port 8443)'
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 0 comments