

Note – If you use named IDs like then you need to enable name resolution in the capture filter dialog box when specifying capture filters. Primitives start with one or more qualifiers (eg.Some examples of simple primitives are shown below: The BPF syntax consists of one or more Primitives that specify a particular type of traffic to capture. Note – WinDump is the Windows version of a Linux/Unix program called TCPDump and hence TCPDump documentation applies to capture filter syntax as used on Windows machines. This syntax is used by the libpcap (in Unix/Linux) and Winpcap (in Windows) libraries that are used by Wireshark to capture network traffic. Wireshark capture filters use the Berkeley Packet Filter (BPF) syntax to specify particular traffic. The following discussion gives a brief explanation of the BPF syntax to help you get started with constructing your own capture filters. Then document and use capture filters to capture specific network traffic.ĭiscussion of Berkeley Packet Filter (BPF) syntax In this section of the assignment you are required to learn the syntax for creating Wireshark Capture Filters. For instance ftp at the server uses ports 20 and 21.įrom the web or any other source determine the well-known port numbers of the following server programs:Īlso find the well know port numbers for 6 other network protocols and describe the function that each protocol performs. In TCP/IP networking IP addresses are used to identify specific computers (or hosts) on the network, clients use ports numbers to specify a particular instance of a client program (for example a specific tab on a web browser) and servers normally use well known port numbers on which to listen for client requests. (Note – switches are the technology used in today’s computer networks) Then explain how switched networks limit the network traffic that is visible to Wireshark in comparison to networks that used hubs. Describe what this means and describe how it could be used for capturing network traffic.ĭescribe the difference between a network switch and a network hub. The Capture > Options dialog allows the Name Resolution of Network Layer names. Describe what the term promiscuous mode means in relation to capturing network traffic with Wireshark and similar network traffic analysers.
