分类

  • 软件天地

  • 流量统计监控软件ntop安装详细分析‖
    86/PLD/RPMS/gdome2-0.7.2
    l/vol/d35/ftp.pld-linux.org/
    -1.i586.rpm
    dists/1.1/PLD/i5

      http://puzzle.dl.sou
    rceforge.net/sourceforge/nto
    p/ntop-3.0-0.i386.rpm

      1.下载                                                                     
      cd /tmp                                                               
      wget -c -q ftp://ftp
    /1.1/PLD/i586/PLD/RPMS/g
    .task.gda.pl/vol/d35/ftp.pld
    dome2-0.7.2-1.i586.rpm &
    -linux.org/dists

      wget -c -q http://puzzle.dl.sour
    ntop/ntop-3.0-0.i386.rpm &
    ceforge.net/sourceforge/

      rpm -ivh gdome2-0.7.2-1.i586.rpm             
      rpm -ivh ntop-3.0-0.i386.rpm                     

      2.建立ntop.conf                                                   
      cp /etc/ntop.conf.sample /etc/nt
    op.conf

      3.首次启动(root)                                                     

      /usr/bin/ntop -P /us
    r/share/ntop -u ntop -A
      #-P [directory]指定.db档存放路径                           
      #-u [user]指定service启动user                           
      #-A 设定admin密码,ntop会内建admin管理者帐号于ntop中   

      4.查看首次启动所需动作                                                     
      less /usr/share/doc/ntop-3.0/1ST
    RUN.txt

      5.编修/etc/ntop.conf档                                       
      vi /etc/ntop.conf                                           
      内容如下:                                                                   
      #eth0 是我的单块网卡 lo是回路                                       
      --interface eth0,lo                                       
      #--no-mac                                                           
      #由于我只是一台机器
    自己的
    所以下面的没加,如果您是在路

    由器或网关上请把对应的ip段改成

      --local-subnets 192.168.10.0/24               
      #运行端口                                                                   
      --http-server 3000                                         
      #数据库存放路径                                                             
      --db-file-path /usr/share/ntop                 
      #守护进程方式运行                                                           
      --daemon                                                             
      #用户名                                                                     
      --user ntop                                                       
      #默认运行等级                                                               
      --trace-level 3                                               
      #跳过所有错误                                                               
      --disable-schedyield                                     

      6.启动ntop                                                             
      /etc/init.d/ntop start                                 

      7.查看网络流量                                                             
      http://localhost:3000/                                 

      8.停止为                                                                   
      /etc/init.d/ntop stop                                   

      http://www.ntop.org/
    ntop.html为ntop首页 ,里面有
    相关资料及抓图等
      ntop若是架设在hub下
    除非是开放SPAN的功能否则
    时便能监视到网络上所有的封包
    只能监测给自己的封包。
    。但若是架设在switch环境下时,

      本机测试环境为单机,标准安装。未
    ntop需要监听端口,所以最好用iptables
    配置插件条件下。如有兴趣可自行研究插件 由于
    限定某些ip可以浏览 否则可能带来安全性问题.

    上一页 下一页




    map