Posts Tagged ‘ping’
在Cisco IOS上使用Tcl Script
星期一, 三月 14th, 2011Tcl (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。
Ping返回结果U.U.U
星期五, 二月 11th, 2011Cisco设备上使用Ping命令的时候经常出现U.U.U,是路由器返回的ICMP不可达信息(可参考Ping命令的返回结果)。
|
1 2 3 4 5 6 |
R2#ping 172.16.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
<strong>U.U.U</strong>
Success rate is 0 percent (0/5) |
理论上应该是UUUUU,为什么会出现U.U.U呢? (更多…)
Ping Spoofing
星期三, 六月 9th, 2010“定向广播”特指 IP 主机位全为 1 的数据包,路由器不转发全网广播(255.255.255.255),但是思科路由器可以转发定向广播,只是默认不转发而已,使用 ip directed-broadcast 接口命令来实现转发定向广播。
我们来利用这一特性,在 Linux 下实现 Ping Spoofing 的攻击。
Ping命令的返回结果
星期一, 三月 15th, 2010思科设备上的ping命令的返回结果:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
!
Each exclamation point indicates receipt of a reply
.
Each period indicates the network server timed out while waiting for a reply
U
A destination unreachable error PDU was received
Q
Source quench (destination too busy)
M
Could not fragment
?
Unknown packet type
&
Packet lifetime exceeded |






