Techzone/Initial Setup

Initial Setup

2 min readArticle

This video shows how to configure Wireshark after a clean install. We cover creating a profile, adding columns, toggling packet coloring, and basic display filters.

open Wireshark

Screen_Shot_2022-06-17_at_11.08.50.png

right-click on the bottom of the Wireshark screen

Screen_Shot_2022-06-17_at_11.09.09.png

to create a new profile to make sure you save all the configuration and filters

Screen_Shot_2022-06-17_at_11.09.24.png

the default columns that are applied for the new profile are this:

Screen_Shot_2022-06-17_at_11.13.36.png

so let's add some more interesting columns via preferences

Screen_Shot_2022-06-17_at_11.15.38.png

adding a costume column hit on “+”

Screen_Shot_2022-06-17_at_11.16.09.png

select the column from a dropdown list and name it

Screen_Shot_2022-06-17_at_11.18.22.png

adding TCP errors button

shell
TCP.analysis.flags

Click on the “+” button

Screen_Shot_2022-06-17_at_11.21.16.png

name the label and write down the filter

Screen_Shot_2022-06-17_at_11.22.43.png

notice that at the top bottom of Wireshark the interface will show you all the filters that you can filter for and give you the name when you standing on the packet analysis

Screen_Shot_2022-06-17_at_11.30.37.png

Long-Term Capture

for long-term capturing we can add a capture option to automate capturing and saving the pcap files besides we can edit the limit so we can set a limit to a file in seconds or in KB/MB/GB Screen_Shot_2022-06-17_at_13.52.24.png then select the interface Screen_Shot_2022-06-17_at_13.52.35.png then the limit options and where to save the files Screen_Shot_2022-06-17_at_13.53.00.png like this: Screen_Shot_2022-06-17_at_13.56.28.png or we can limit it to a ring buffer so we can limit the number of the file and when Wireshark actually create 10 files it overwrite the first folder : Screen_Shot_2022-06-17_at_13.57.55.png

Filter Out What You Don't Need

shell
!(eth.dst == ff:ff:ff:ff:ff:ff or arp or cdp or lldp or stp)

you can this as a button like we learned before.

Adding Packet Diagram

Screen_Shot_2022-06-25_at_12.19.39.png then click on layout select the layout that you need and in the third on mark the “Packet digram” section. Screen_Shot_2022-06-25_at_12.20.08.png after the diagram been added it will look like this. and to see more detailed details in the diagram simply right click on it and then “show field values”. Screen_Shot_2022-06-25_at_12.25.59.png

Adding Delta Column (or any column).

again go to preferences then column then click on “+” sign Screen_Shot_2022-06-25_at_12.32.10.png then edit then column and name it and choose one from dropdown list Screen_Shot_2022-06-25_at_13.48.59.png

Capture With The Command Line

when you install Wireshark you install with it additional tools that can help you out to capture from the command line like DUMPCAP and TCPDUMP. in your MacOS open terminal then add the Wireshark directory to your $PATH:

javascript
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Wireshark.app/Contents/MacOS

then you can simply type “dumpcap” and start capturing see “dumpcap -h” for help.

techzonesite.comUnlock Your IT Potential