看了一些网络安全的视频感觉yersinia这个软件非常强大,心中一阵窃喜.分享一下自己成果.不足之处请指教.yersinia支持的协议如下:

Spanning Tree Protocol (STP): 生成树协议  
Cisco Discovery Protocol (CDP): 思科发现协议  
Dynamic Trunking Protocol (DTP): 动态中继协议 
Dynamic Host Configuration Protocol (DHCP)
Hot Standby Router Protocol (HSRP): 热备份路由器协议
IEEE 802.1Q
IEEE 802.1X
Inter-Switch Link Protocol (ISL): 交换链路内协议  
VLAN Trunking Protocol (VTP): vlan干道协议 
下面先说一下安装.我选的是在虚拟机ubuntu中安装的,因为ubuntu安装在虚拟机中直接选择NAT链接不需要任何配置就能上网,而且安装起来方便.比centos5.红帽 fedora,安装起来方便.不过ubuntu安装完占有硬盘比较大.将近5的G吧.比较心疼空间.虚拟机安装unbuntu就不介绍了.提一点 就是安装完后 打开终端(应用程序-附件-终端)修改一下root的密码.修改的命令是:sudo password root 会提示你输入密码.因为yersinia只能root用户使用. 再说一下安装。很简单 ,下载一个yersinia的安装包(yersinia_0.7.1.orig.tar.gz)拷贝到/tmp中,解压成yersinia文件夹.在终端中运行命令:sudo apt-get install yersinia 然后一路回车.就安装成功了.好了,运行:sudo su 命令切换到root用户.提示输入密码.把你修改的密码打上 就进入了

.root@hejin-desktop:/home/hejin#sudo su

.root@hejin-desktop:/home/hejin# yersinia -h //帮助 呵呵
看显示:Usage: yersinia [-hVGIDd] [-l logfile] [-c conffile] protocol [protocol_options]
       -V   Program version.
       -h   This help screen.
       -G   Graphical mode (GTK).
       -I   Interactive mode (ncurses).
       -D   Daemon mode.
       -d   Debug.
       -l logfile   Select logfile.
       -c conffile  Select config file.
  protocol   One of the following: cdp, dhcp, dot1q, dot1x, dtp, hsrp, isl, stp, vtp.
有图形化界面幺.呵呵

调用出图形化界面,相信大家就能灵活的应用了.我***了自己架设的DHCP服务器很快就OK了.有时间,展示一下STP的***.因为环境需要自己架设.