Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 网络安全 > 安全知识 > ntop配置指南
【标  题】:ntop配置指南
【关键字】:ntop
【来  源】:http://blog.chinaunix.net/article.php?articleId=37716&blogId=6797

ntop配置指南

Your Ad Here 很简单,关键是在/etc/ntop.conf 加入
--http-server 3000
--domain hk.newsky.cn
即可

1.下载
ftp://ftp.freshrpms.net/pub/dag/packages/ntop/ntop-3.1-1.1.el3.rf.i386.rpm

2.安装
rpm -ivh ntop-3.1-1.1.el3.rf.i386.rpm

3.配置
#vi /etc/ntop.conf
加入
--http-server 3000
--domain hk.newsky.cn

4.设定admin密码
[root@hkweb root]# ntop -A
Tue Jul 26 15:06:54 2005  Initializing gdbm databases
 
Please enter the password for the admin user:
Please enter the password again:
Tue Jul 26 15:07:06 2005  Admin user password has been set

5.启动
[root@hkweb root]# /etc/init.d/ntop start
Starting ntop:                                             [  OK  ]
注:如果/etc/init.d/ntop start无法启动,则可以用ntop -d命令启动

6.访问
http://202.96.155.37:3000/

参考:http://www.linuxaid.com.cn/articles/7/1/712517868.shtml
     http://www.weithenn.idv.tw/cgi-bin/wiki.pl/Ntop-%e6%b5%81%e9%87%8f%e6%aa%a2%e6%b8%ac%e5%8f%8a%e5%b0%81%e5%8c%85%e8%be%a8%e8%ad%98%e7%9a%84%e7%b6%b2%e7%ae%a1%e8%bb%9f%e9%ab%94

附:我的/etc/ntop.conf文件
[root@hkweb root]# cat /etc/ntop.conf
###  You should copy this file to it's normal location, /etc/etc/ntop.conf
###  and edit it to fit your needs.
###
###       ntop is easily launched with options by referencing this file from
###       a command line like this:
###
###       ntop @/etc/ntop.conf
###
###  Remember, options may also be listed directly on the command line, both
###  before and  after the @/etc/ntop.conf.
###
###  For switches that provide values, e.g. -i, the last one matters.
###  For switches just say 'do things', e..g -M, if it's ANYWHERE in the
###  commands, it will be set.  There's no unset option.
###
###  You can use this to your advantage, for example:
###       ntop @/etc/ntop.conf -i none
###  Overrides the -i in the file.
 
### Sets the user that ntop runs as. 
###  NOTE: This should not be root unless you really understand the security risks.
--user ntop
 
### Sets the directory that ntop runs from.
--db-file-path /var/ntop
 
### Interface(s) that ntop will capture on (default: eth0)
#--interface eth0
 
### Configures ntop not to trust MAC addrs.  This is used when port mirroring or SPAN
#--no-mac
 
### Logging messages to syslog (instead of the console):
###  NOTE: To log to a specific facility, use --use-syslog=local3
###  NOTE: The = is REQUIRED and no spaces are permitted.
--use-syslog
 
### Tells ntop to track only local hosts as specified by the --local-subnets option
#--track-local-hosts
 
### Sets the port that the HTTP webserver listens on
###  NOTE: --http-server 3000 is the default
--http-server 3000
 
### Sets the port that the optional HTTPS webserver listens on
#--https-server 3001
 
### Sets the networks that ntop should consider as local. 
###  NOTE: Uses dotted decimal and CIDR notation. Example: 192.168.0.0/24
###        The addresses of the interfaces are always local and don't need to be specified.
#--local-subnets xx.xx.xx.xx/yy
 
### Sets the domain.  ntop should be able to determine this automatically.
--domain hk.newsky.cn
 
### Sets program to run as a daemon
###  NOTE: For more than casual use, you probably want this.
#--daemon

 

补丁管理最佳安全实践之资产评估:【上一篇】
UPnP™ Device Architecture:【下一篇】
【相关文章】
  • Ntop-流量檢測及封包辨識的網管軟體
  • 安裝ntop,進行網絡流量的分析
  • Ntop 启动又消失的问题
  • 流量统计监控软件ntop安装
  • FreeBSD sntop 网络状况
  • 【随机文章】
  • 立即释放.net下的com组件
  • UNIX系统后门的安放和擦除 - 转载
  • 抢先体验最新版天网防火墙(1)
  • 用VbScript 操作Excel 连接数据库
  • 淘特网新闻管理系统下载
  • PPP 配置协议
  • Eclipse插件收集(一)--模型驱动转换器 QiQu
  • OpenLDAP 2.1 管理员指南
  • 14.5.1 Literals
  • 用XSL.ASP编辑XML文档(1)
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 软讯网络 All Rigths Reserved.