[root@mondeo home]# tar zxvf ntop-current.tgz |
[root@mondeo home]# cd ntop-current/gdchart0.94c [root@linux gdchart0.94c]# ./configure . . Do not forget to build: 1. gd-1.8.3/libpng-1.2.1 2. zlib-1.1.4/ |
[root@linux gdchart0.94c]# cd gd-1.8.3/libpng-1.2.1/ [root@linux libpng-1.2.1]# cp scripts/makefile.linux Makefile [root@linux libpng-1.2.1]# make |
[root@linux gdchart0.94c]# cd ../../zlib-1.1.4 [root@linux zlib-1.1.4]# ./configure [root@linux zlib-1.1.4]# make |
[root@linux zlib-1.1.4]# cd .. [root@linux gdchart0.94c]# make |
[root@linux gdchart0.94c]# cd ../ntop/ [root@linux ntop]# ./configure |
[root@linux ntop]# make |
[root@linux ntop]# make install |
[root@linux ntop]# ntop -P /tmp -u nobody |
[root@linux ntop]# nohup ntop -P /tmp -u nobody & |
[root@linux ntop]# intop -- intop 0.0.1 (Jul 1 2002) -- The first interactive ntop program. (C) Copyright 2000 L. Deri and R. Carbone. All rights reserved. It allows you to control the power of ntop using fingers rather than mouse! This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Initializing intop engine.... Please wait. 01/Jul/2002 23:45:24 Initializing IP services... 01/Jul/2002 23:45:24 Initializing GDBM... 01/Jul/2002 23:45:24 Resetting traffic statistics... 01/Jul/2002 23:45:25 Started thread (1026) for network packet analyser. 01/Jul/2002 23:45:25 Started thread (2051) for DNS address resolution. 01/Jul/2002 23:45:25 Started thread (3076) for address purge. Type ? for help. intop> |
intop>sniff -i eth001/Jul/2002 23:47:16 Initializing network devices... 01/Jul/2002 23:47:16 Truncated network size to 1024 hosts (real netmask 255.255.255.0) 01/Jul/2002 23:47:16 Resetting traffic statistics... 01/Jul/2002 23:47:16 Resetting traffic statistics... starting sniffer on eth0 (with no filter enabled)... intop@eth0> |
intop@eth0>top intop 0.0.1 (Jul 1 2002) listening on [eth0]43 Pkts/5.7 Kb [IP 4.9 Kb/Other 828] Thpt: 0.0 /0.0 Host Act -Rcvd- Sent TCP UDP ICMP 192.168.0.2 B 3.7 Kb 1.3 Kb 3.7 Kb 0 0 192.168.0.10 B 1.3 Kb 3.8 Kb 1.1 Kb 162 0 kelly S 0 243 0 0 0 |
歡迎光臨 ADJ網路實驗室 (http://dz.adj.idv.tw/) | Powered by Discuz! 6.0.0 |