asa 防火墙拦截了https_思科ASA防火墙下抓包方法

配置要抓包的数据流

access-list tac_capture permit ip host 59.42.158.1 host 172.16.99.1

access-list tac_capture permit ip host 172.16.99.1 host 59.42.158.1

capture pix_dmz_capture_1 access-list tac_capture buffer 10000000 interface dmz

capture pix_inside_capture_1 access-list tac_capture buffer 10000000 interface inside

capture tac_dmz_capture intreface dmz

capture tac_inside_capture interface inside

显示一些配置

show clock

show conn local 172.16.99.1

show conn foreign 59.42.158.18

show local-host 172.16.99.1

show local-host 59.42.158.1

show xlate local 172.16.99.1

show xlate global 59.42.158.1

show capture

拷贝capture 到tftp服务器上。

copy capture:pix_dmz_capture_1 tftp://172.16.1.200/pix_dmz_capture.cap pcap

copy capture:pix_inside_capture_1 tftp://172.16.1.200/pix_inside_capture.cap pcap

取消capture

clear capture tac_capture

no capture pix_dmz_capture_1

no capture pix_inside_capture_1

配置要抓包的数据流

access-list tac_capture permit ip host 59.42.158.1 host172.16.99.1

access-list   tac_capture permit ip host 172.16.99.1 host 59.42.158.1

capture asa_capture_inside_1 type raw-data access-list tac_capture buffer 10000000 interface inside

capture asa_capture_outside_1 type raw-data access-list tac_capture buffer 10000000 interface outside

capture tac_capture_inside access-list tac_capture interface inside

capture tac_capture_outside access-list tac_capture interface outside

c)

show clock

show conn address 172.16.99.1

show conn address 59.42.158.1

show local-host 172.16.99.1

show local-host 59.42.158.1

show asp drop

show xlate

show capture

d)拷贝capture到tftp服务器上

copy /pcap capture:asa_capture_inside_1 tftp://172.16.1.201/asa_inside_capture.cap

copy /pcap capture:asa_capture_outside_1 tftp://172.16.1.201/asa_outside_capture.cap

e)取消capture

no capture asa_capture_inside_1

no capture asa_capture_outside_1

clear capture asa_capture_inside_1

clear capture asa_capture_outside_1

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值