• 沒有找到結果。

Wireshark & Iperf

N/A
N/A
Protected

Academic year: 2022

Share "Wireshark & Iperf"

Copied!
12
0
0

加載中.... (立即查看全文)

全文

(1)

Wireshark & Iperf

NA 有線組 林子傑

(2)

Intro

What is “Wireshark”?

A software tool that sniffs the network traffic transmitted from your own PC.

What is “iperf”?

A software tool that examines the network bandwidth between 2 hosts.

(3)

Get a VM!

Why experiment in VM?

Wireshark needs to privileged mode to do traffic sniffing.

Install any package you want!

Backup & Recovery

How?

Import the VM image provided by TAs.

Install by yourself.

(4)

Import a VM image

(5)

Start the VM

(6)

OS: Trisquel Linux

Browser: Midori

Terminal: LXTerminal

(7)

Our VM Enviroment:

OS: Trisquel Linux (A branch from Ubuntu, light-weight OS)

Account/Password: student/student

Default Browser: Midori (Not Firefox or Chrome!)

Shortcut for Terminal: Ctrl+Alt+T

Install “Wireshark”:

sudo apt-get install wireshark

Install “iperf”:

sudo apt-get install iperf

(8)

Wireshark

Choose a network interface before you start sniffing Start sniffing

(9)

Wireshark

All transmitted packets during sniffing

Layer Information of a selected packet

Binary & ASCII form of a selected packet

(10)

Iperf

It’s a cmd-line utility, Not GUI

Server-side command:

iperf -s

Client-side command:

iperf –c <Server’s IP>

(11)

Exercise 1

Start sniffing the network traffic with Wireshark

Try to login to 104 Job Bank with any string for Account/Password, e.g. your Student ID

Stop sniffing and find the transmitted packet.

Find the Account/Password string you typed previously.

(12)

Exercise 2

Find a partner, and test the bandwidth between your VMs using “iperf”.

In our VM environment, is server-side IP accessible from the client-side?

Hint 1: Adjust your VM’s network interface to “Bridged” not “NAT”!!

Hint 2: Google it or Ask TAs!!

參考文獻

相關文件

!  You have to modify a simple chat server to a multiplexing chat server. !  You don’t have to handle the

(dpkg -S only search installed packages, apt-file search can be used to search what package to install to get the executable).. apt-mark

In this homework, you are asked to implement k-d tree for the k = 1 case, and the data structure should support the operations of querying the nearest point, point insertion, and

[r]

Note that you are NOT allowed to use any ”power rule” you have learnt before.. You need to

MR CLEAN: A Randomized Trial of Intra-arterial Treatment for Acute Ischemic Stroke. • Multicenter Randomized Clinical trial of Endovascular treatment for Acute ischemic stroke in

• To the right of the Draw mode buttons you find push buttons through which you can access all the functions that you need to define and solve the PDE problem: define

(a) In your group, discuss what impact the social issues in Learning Activity 1 (and any other socials issues you can think of) have on the world, Hong Kong and you.. Choose the