Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opening flows in one of many pcap helper apps #1409

Open
philrz opened this issue Feb 2, 2021 · 0 comments
Open

Opening flows in one of many pcap helper apps #1409

philrz opened this issue Feb 2, 2021 · 0 comments

Comments

@philrz
Copy link
Contributor

philrz commented Feb 2, 2021

A community user asked:

If I want to use other programs,not the wireshark,How?eg networkminer.

At the moment, the Packets button in Brim extracts the flow to a temporary file and then opens it up in whatever application the operating system has tied to that file type. On Windows for instance (which happens to be the platform of this particular community user), this app is controlled via Settings > Apps > Default apps > Choose default apps by file type.

image

That means a Brim user today wanting to select a different app would need to toggle that one OS-level setting, which seems fairly rigid. However, those working at the Windows "Explorer" level will be familiar right-click "Open with" option that can allow the selection of an alternative app, and these choices seem to be cached to make it easy to re-select them in the futrue.

image

In a group discussion on 2021-02-02, @jameskerr thought that Electron might offer some way to query the OS to know the list of all apps that might be able to open files of a particular type, such that we could present this list to the user.

Another approach proposed was to instead allow extraction of the flow to a target directory and then trigger an open of the OS's "File Explorer" app on that directory with the file for the extracted flow highlighted, similar to what happens with Slack after downloading an attachment and clicking "Show in Finder" on a Mac. This way the user would have all the flexibility at the OS level to open the app of their choosing, or also work with the files of extracted flows in other ways. #1423 tracks this approach.

@philrz philrz changed the title Offering one of multiple pcap helper apps Opening flows in one of many pcap helper apps Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant