This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

how to: launch network sniffer application for asdm on mac

0

I use use the Cisco ASDM firewall management software on my mac quite a lot and all is good. I also use Wireshark to review pcap files exported from Firewalls and routers.

Under Windows ( :-( ) i could launch the wireshark app directly from using the packet capture wizard.

this is set up under 'Preferences' then pointing to the application. it seems a little different on the mac - simply point to wireshark.app doesnt launch the app whatsoever.

i managed to get the ASDM to launch the app by pointing to the following directory (where i have wireshark located): /Applications/Network Apps/Wireshark.app/Contents/MacOS/Wireshark

but this merely launch the app and fails to pull the live data (Capture) from within the ASDM.

hope someone can make sense of this post and assist.

Many thanks Lee

i am running the following:

OS X 10.8.4

Java 1.6.0_51

ASDM Launcher version 1.6(64)

Version 1.10.1 (SVN Rev 50926 from /trunk-1.10)

XQuartz 2.7.4 (xorg-server 1.13.0)

asked 27 Aug '13, 08:34

leekendrick's gravatar image

leekendrick
11112
accept rate: 0%


2 Answers:

0

If you have a capture file corresponding to a capture that's completed (i.e., not a live capture that's in progress), you could try opening it using the open command, if the capture wizard will let you do that; see the man page for it.

answered 27 Aug '13, 10:50

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%

edited 27 Aug '13, 10:51

0

I moved from a Linux environment to Mac. This was really the only remaining issue I had with Mac although there are some fundamental issues that I know that they will not fix. I went to the prompt and typed

which wireshark

and it gave me this path.

/usr/local/bin/wireshark

I added it to my Tools --> Preferences section on ASDM and I was off to the races.

answered 13 Oct '13, 09:24

Manny%20Fernandez's gravatar image

Manny Fernandez
111
accept rate: 0%

Hi Manny,

Many thanks for your reply, I am still unable to 'launch network sniffer appication' from the ASDM. I get the following error after following your steps:

/usr/local/bin/wireshark does not exist. Would you like to open the preferences dialog in order to specify the network sniffer application to use?

here is the output from which wireshark:

sh-3.2# which wireshark

/usr/local/bin/wireshark

sh-3.2# pwd

/usr/local/bin

sh-3.2# ls -l

total 104

lrwxr-xr-x 1 root wheel 48 5 Aug 22:00 bbdiff -> /Applications/BBEdit.app/Contents/Helpers/bbdiff

lrwxr-xr-x 1 root wheel 53 5 Aug 22:00 bbedit -> /Applications/BBEdit.app/Contents/Helpers/bbedit_tool

lrwxr-xr-x 1 root wheel 48 5 Aug 22:00 bbfind -> /Applications/BBEdit.app/Contents/Helpers/bbfind

lrwxr-xr-x 1 root wheel 11 2 Aug 23:06 capinfos -> ./wireshark

lrwxr-xr-x 1 root wheel 11 2 Aug 23:06 dftest -> ./wireshark

lrwxr-xr-x 1 root wheel 11 2 Aug 23:06 dumpcap -> ./wireshark

lrwxr-xr-x 1 root wheel 11 2 Aug 23:06 editcap -> ./wireshark

lrwxr-xr-x 1 root wheel 11 2 Aug 23:06 mergecap -> ./wireshark

lrwxr-xr-x 1 root wheel 11 2 Aug 23:06 randpkt -> ./wireshark

lrwxr-xr-x 1 root wheel 11 2 Aug 23:06 rawshark -> ./wireshark

lrwxr-xr-x 1 root wheel 11 2 Aug 23:06 text2pcap -> ./wireshark

lrwxr-xr-x 1 root wheel 11 2 Aug 23:06 tshark -> ./wireshark

-rwxr-xr-x 1 504 staff 482 16 Jul 18:19 wireshark

sh-3.2#

hope you help.

KR Lee

(15 Oct '13, 01:35) leekendrick

/usr/local/bin/wireshark does not exist

Well, it does exist, as per your "ls" output, so ASDM is not telling the truth.

Perhaps it's just too lazy to report the error as "I was not able to run /usr/local/bin/wireshark".

What happens if you type /usr/local/bin/wireshark from the command line?

(15 Oct '13, 17:02) Guy Harris ♦♦

From your output, it looks like you did it after a 'sudo su'. when I ran mine, it was from under my user account 'Mannys-MacBook-Pro:~ MyUserName$'

As guy pointed out, the output does in fact show that you have it and that the OS will launch from that location. I will look at mine again and get right back.

(15 Oct '13, 17:45) Manny Fernandez