国产一级一区二区_segui88久久综合9999_97久久夜色精品国产_欧美色网一区二区

掃一掃
關(guān)注微信公眾號(hào)

Juniper防火墻命令行查錯(cuò)工具snoop的使用
2007-04-24   

Snoop的使用舉例如下:
1. 先設(shè)置過濾列表,使得防火墻只對(duì)需要的數(shù)據(jù)包進(jìn)行分析. 即snoop filter命令:
ns208-> snoop filter ?
delete delete snoop filter
ethernet snoop specified ethernet
id snoop filter id
ip snoop ip packet
off turn off snoop filter
on turn on snoop filter
tcp snoop tcp packet
udp snoop udp packet
ns208-> snoop filter ip ?
<return>
direction snoop direction
dst-ip snoop filter dst ip
dst-port snoop filter dst port
interface interface name
ip-proto snoop filter ip proto
port src or dst port
src-ip snoop filter src ip
src-port snoop filter src port
<IPv4 Address> IPv4 Address
offset ip offset
ns208-> snoop info
Snoop: OFF
Filters Defined: 2, Active Filters 2
Detail: OFF, Detail Display length: 96
Snoop filter based on:
id 1(on): IP dir(I)
id 2(on): IP dst-ip 172.27.68.1 dir(B)
2. 開啟snoop 進(jìn)行抓包
ns208-> snoop
Start Snoop, type ESC or 'snoop off' to stop, continue? [y]/n y
3. 發(fā)送測(cè)試數(shù)據(jù)包或讓小部分流量穿越防火墻
4. 停止snoop
ns208-> snoop off
5. 檢查防火墻對(duì)所轉(zhuǎn)發(fā)的符合過濾條件的數(shù)據(jù)包的分析結(jié)果(非采用上面的filter,而是采用另外的filter):
ns208-> get db stream
1.The packet comes into the Netscreen from the Trusted side client.
55864.0: 0(i):005004bb815f->0010db00ab30/0800
10.0.0.36->10.10.10.14/1, tlen=60
vhl=45, id=31489, frag=0000, ttl=32
2.The packet then leaves the Netscreen, on it’s way to the destination host.
55864.0: 1(o):0010db00ab31->00104bf3d073/0800
10.10.10.10->10.10.10.14/1, tlen=60
vhl=45, id=31489, frag=0000, ttl=31
3.The packet then returns to the Netscreen from the host.
55864.0: 1(i):00104bf3d073->0010db00ab31/0800
10.10.10.14->10.10.10.10/1, tlen=60
vhl=45, id=12289, frag=0000, ttl=128
4. Finally, the packet is returned to the client on the trusted side.
55864.0: 0(o):0010db00ab30->005004bb815f/0800
10.10.10.14->10.0.0.36/1, tlen=60
vhl=45, id=12289, frag=0000, ttl=127
5. 清除防火墻緩存的debug結(jié)果:
ns208-> clear db
6. 清除防火墻的snoop過濾設(shè)置
ns208-> snoop filter delete
All filters removed


熱詞搜索:

上一篇:Cisco PIX防火墻配置命令大全
下一篇:Secpath1800F策略路由功能的配置

分享到: 收藏
主站蜘蛛池模板: 古蔺县| 阿鲁科尔沁旗| 囊谦县| 百色市| 沧源| 武安市| 九龙坡区| 平罗县| 龙川县| 丹江口市| 合江县| 调兵山市| 手机| 南城县| 卓尼县| 枞阳县| 淳化县| 调兵山市| 云安县| 巴楚县| 竹北市| 上思县| 顺义区| 仪征市| 广州市| 桃园市| 太康县| 灵丘县| 思茅市| 辽阳市| 锡林浩特市| 云浮市| 巴林左旗| 泰顺县| 石首市| 晋宁县| 禹州市| 大方县| 呼图壁县| 绥阳县| 宁化县|