T M B

Windows上循环Ping的批处理代码

三月 16th, 2011

最近受日本地震影响,连接SSH服务器非常的不稳定(为什么要买SSH,你懂得)。SSH服务商将我的账号升级成一号通,可以在多个服务器上登陆,也可以选择最快的来登录,于是就有了下面的Windows下的批处理代码,可以循环测试多个域名或IP的连通性,选择最佳的,域名改成你想测试的地址,把下面的代码保存到记事本中,并以后缀.bat结尾,很方便。

这让我想到了之前写的一篇关于Cisco IOS中使用Tcl脚本快速测试连通性文章:-)

Loop Ping

Loop Ping

Read the rest of this entry »

BackTrack 5 Release Date and Tool Suggestions

三月 16th, 2011
BackTrack 5

BackTrack 5

BackTrack官方宣布了最新版BT5的发布日期:2011年5月11日,目前正在征集大家对支持软件的建议,要是你有什么想法或是好的软件推荐,可以去这里提出。

BackTrack系列也是我喜欢的一个Linux发行版之一,专门用于安全实验和渗透测试,结合VMWare、GNS3、IOU以及WVRP,是非常的方便。之前也写了关于BackTrack系列工具的文章,陆续更新中,喜欢的可以去尝试下。

新版BackTrack 5将会基于Ubuntu Lucid(10.04LTS)开发,同时支持32位和64位,并且有多种桌面环境供使用:KDE 4、Gnome和Fluxbox,非常的期待。

在Cisco IOS上使用Tcl Script

三月 14th, 2011

Tcl (Tool Command Language) is a very powerful but easy to learn dynamic programming language, suitable for a very wide range of uses, including web and desktop applications, networking, administration, testing and many more. Open source and business-friendly, Tcl is a mature yet evolving language that is truly cross platform, easily deployed and highly extensible.–摘自Tcl官网

Cisco IOS已经在12.3(2)T以后的IOS中集成了Tcl,让路由器更加富有创造性和灵活性。

要在IOS中使用Tcl,需要有一定的编程基础,同时Cisco也有提供现成的Tcl脚本做测试,这里就是一个例子:voice.tcl同时EEM也支持Tcl。

EEM & TCL

EEM & TCL

Read the rest of this entry »

Tools页面添加EIGRP Metric计算器

三月 11th, 2011

是不是不知道EIGRP Metric是如何计算的?

Blog的Tools页面新增EIGRP Metric计算器,大家无聊可以试试。 :-)

STP防护机制介绍

三月 10th, 2011

BPDU Guard:如果接口启用STP PortFast特性,那么当该接口接收到任何BPDU的时候,BPDU Guard能够使其进入“err-disable”状态,需要配置errdisable recovery后才可自动恢复。

SW(config)#[no] spanning-tree portfast bpduguard default //所有配置了PortFast的端口启用BPDU Guard
or
SW(config-if)#spanning-tree portfast
SW(config-if)#spanning-tree bpduguard enable | disable

%SPANTREE-2-RX_PORTFAST: Received BPDU on PortFast enabled port. Disabling FastEthernet0/2.
%PM-4-ERR_DISABLE: bpduguard error detected on Fa0/2, putting Fa0/2 in err-disable state

SW(config)#errdisable recovery cause bpduguard
SW(config)#errdisable recovery interval 30 //30秒后恢复

%PM-4-ERR_RECOVER: Attempting to recover from bpduguard err-disable state on Fa0/2

STP Protect

STP Protect

Read the rest of this entry »

Google Chrome离线下载地址

三月 10th, 2011

Google Chrome正式版已经更新到10了(版本号10.0.648.127),作为一名Google Fan,第一时间更新了,此次的更新还是很多的,除了性能和安全上的大幅更新,最大的变化应该就是在选项设置上,变得更为漂亮,同时支持信息同步密码和Google Account密码分离。

Google Chrome

Google Chrome

离线下载链接的规则记不住,每次都为了更新,要找好半天。为今后方便下载离线版本,特留此日志!

Google Chrome下载:

http://dl.google.com/chrome/install/[版本号后两位]/chrome_installer.exe

要想离线下载Chrome,必须先确定要下载的版本号,然后取版本号第二个小数点后的数字,比如10.0.648.127的下载地址就是:

http://dl.google.com/chrome/install/648.127/chrome_installer.exe