Solved

Packet capture on ASA 7.x cli

Posted on 2013-05-26
3
608 Views
Last Modified: 2013-05-28
Hi,

How can I initiate a capture packet on an ASA 7x firewall using the CLI? I'm struggling with this for hours now and I seem to be lost somewhere.

I need to capture data that originates from inside host 10.31.3.103 to outside host 213.55.147.20 > TCP/2000.

Any help would be very appreciated!
0
Comment
Question by:OrcaGroup
3 Comments
 
LVL 15

Assisted Solution

by:max_the_king
max_the_king earned 100 total points
ID: 39198924
Hi,

try the following, create an access-list that permits that traffic, e.g.:

access-list capture_list permit tcp host 10.31.3.103 host 213.55.147.20 eq 2000
access-list capture_list permit tcp host  213.55.147.20 eq 2000 host 10.31.3.103

capture  capture_list access-list  capture_list interface inside

hope this helps
max
0
 
LVL 57

Assisted Solution

by:Pete Long
Pete Long earned 200 total points
ID: 39199365
Is this the problem you are trying to troubleshoot?

Cannot Connect to TCP Port 2000 (Even over VPN)
Pete
0
 
LVL 17

Accepted Solution

by:
Garry-G earned 200 total points
ID: 39200580
Just an addendum to Max' comment ...  I'd always run the capture on both sides of the firewall, also adding a buffer size and increasing the packet size in case you need to look into what actually is happening inside the packets can occasionally help, so:

capture INSIDEDATA access capture_list int inside buf 1024000 packet-length 1500
capture OUTSIDEDATA access capture_list int outside buf 1024000 packet-length 1500

Please note that you may need to extend the access list to match the outside NAT IP of the internal box.

Once you have the capture running, check with "show capture" to see whether any packets have been captured, or "show capture INSIDEDATA" to see what packets have been transfered ... or use the web interface with "https://ASA_IP/capture/INSIDEDATA/pcap" to download a Wireshark-compatible PCAP dump for further analysis ...
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

How to configure Site to Site VPN on a Cisco ASA.     (version: 1.1 - updated August 6, 2009) Index          [Preface]   1.    [Introduction]   2.    [The situation]   3.    [Getting started]   4.    [Interesting traffic]   5.    [NAT0]   6.…
Overview The Cisco PIX 501, PIX 506e, ASA 5505 and ASA 5510 (most if not all of this information will be relevant to the PIX 515e but I do not have a working configuration handy to verify the validity) are primarily used within small to medium busi…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now