WEBVTT - This file was automatically generated by VIMEO

0
00:00:07.700 --> 00:00:10.600
Hello, everybody in this lesson. We

1
00:00:10.600 --> 00:00:13.600
 will describe one of the most important points in

2
00:00:13.600 --> 00:00:16.700
 Wireshark. What is pdu? And

3
00:00:16.700 --> 00:00:19.300
 which part corresponds to which layer

4
00:00:19.300 --> 00:00:20.800
 on the OSI model?

5
00:00:21.500 --> 00:00:25.000
So it is crucial to understand the packet

6
00:00:24.000 --> 00:00:25.300
 details.

7
00:00:27.100 --> 00:00:30.900
First of all, let's see the pdus in each Network layer.

8
00:00:30.900 --> 00:00:33.300
 I mean what station or form of

9
00:00:33.300 --> 00:00:36.700
 the network packets in each one of the layers?

10
00:00:37.500 --> 00:00:41.100
When inspecting a pdu on OSI

11
00:00:40.100 --> 00:00:43.200
 model or the tcp/ip model?

12
00:00:44.400 --> 00:00:48.600
That in mind the concept of uncapsulation.

13
00:00:49.400 --> 00:00:52.900
Is our data flows down the protocol stack each

14
00:00:52.900 --> 00:00:55.400
 layer will encapsulate the data

15
00:00:55.400 --> 00:00:58.200
 of the previous layers in a new

16
00:00:58.200 --> 00:01:01.500
 frame is short as in above bubble or

17
00:01:01.500 --> 00:01:04.300
 in a frame you can

18
00:01:04.300 --> 00:01:07.300
 whatever you want to call

19
00:01:07.300 --> 00:01:10.700
 and this unit in search

20
00:01:10.700 --> 00:01:13.300
 the relevant layering information

21
00:01:13.300 --> 00:01:15.300
 into the pdu's heater.

22
00:01:15.900 --> 00:01:18.800
So this information change depending

23
00:01:18.800 --> 00:01:21.500
 on the level standing on

24
00:01:21.500 --> 00:01:24.900
 each level furthermore. It includes the

25
00:01:24.900 --> 00:01:27.900
 previous layers information, for example

26
00:01:27.900 --> 00:01:30.900
 in the transport layer

27
00:01:30.900 --> 00:01:33.800
 the pdu includes the

28
00:01:33.800 --> 00:01:36.900
 previous layer session layer information

29
00:01:36.900 --> 00:01:39.600
 and this information change

30
00:01:39.600 --> 00:01:43.200
 paneling on the level and it

31
00:01:42.200 --> 00:01:46.400
 also includes operational Flags

32
00:01:45.400 --> 00:01:48.300
 any choices necessary to

33
00:01:48.300 --> 00:01:51.600
 negotiate Communications and the source

34
00:01:51.600 --> 00:01:55.200
 IP or the destination IP addresses and

35
00:01:54.200 --> 00:01:57.600
 the ports and the transport or

36
00:01:57.600 --> 00:02:00.200
 application layer protocols. So it

37
00:02:00.200 --> 00:02:04.200
 is crucial to understand to know that the layer

38
00:02:03.200 --> 00:02:06.300
 progress is down as the layer

39
00:02:06.300 --> 00:02:10.500
 progress down. I mean layer by layer new

40
00:02:09.500 --> 00:02:12.600
 here is added at each

41
00:02:12.600 --> 00:02:15.600
 layer for example on the applic.

42
00:02:15.800 --> 00:02:18.300
Layer rpdu is

43
00:02:18.300 --> 00:02:21.800
 a data when we pass through a

44
00:02:21.800 --> 00:02:24.900
 transport layer, the transport header

45
00:02:24.900 --> 00:02:27.800
 will be added to the to the

46
00:02:27.800 --> 00:02:30.200
 data and it will it will be

47
00:02:30.200 --> 00:02:33.700
 a segment a datagram on the transport

48
00:02:33.700 --> 00:02:36.500
 layer and then we will

49
00:02:36.500 --> 00:02:40.000
 see on the internet layer our segment

50
00:02:39.200 --> 00:02:42.500
 or our datagram, you know

51
00:02:42.500 --> 00:02:45.500
 in the TCP RP due

52
00:02:45.500 --> 00:02:49.100
 is segment and in the UDP, if if

53
00:02:48.100 --> 00:02:51.300
 the ud people call is use

54
00:02:51.300 --> 00:02:54.500
 it in the transport layer are pdu will be

55
00:02:54.500 --> 00:02:55.200
 a datagram.

56
00:02:55.800 --> 00:02:59.700
And when we go to the Internet layer

57
00:02:59.700 --> 00:03:03.000
 or network layer based on the OSI

58
00:03:02.200 --> 00:03:05.900
 model our pdu will change to

59
00:03:05.900 --> 00:03:09.400
 the packet form. So now

60
00:03:08.400 --> 00:03:11.700
 in this layer our PW

61
00:03:11.700 --> 00:03:15.100
 will be called as packet not

62
00:03:14.100 --> 00:03:17.900
 the segment or the datagram because

63
00:03:17.900 --> 00:03:20.800
 it is now a packet and

64
00:03:20.800 --> 00:03:24.100
 we are calling it as packet. So

65
00:03:23.100 --> 00:03:27.100
 let's look at an example about these

66
00:03:26.100 --> 00:03:28.200
 progress.

67
00:03:29.800 --> 00:03:32.900
Here is an example of a

68
00:03:32.900 --> 00:03:35.500
 packet capture in Wireshark with the different

69
00:03:35.500 --> 00:03:39.300
 layers of the OSI model indicated in here.

70
00:03:38.300 --> 00:03:42.400
 So initially, it's worth

71
00:03:41.400 --> 00:03:45.100
 noting its word pay attention

72
00:03:44.100 --> 00:03:47.800
 that breakout in

73
00:03:47.800 --> 00:03:48.300
 Wireshark.

74
00:03:49.400 --> 00:03:52.700
Is in opposite in reverse order

75
00:03:52.700 --> 00:03:55.400
 the first layer, we will be looking at the

76
00:03:55.400 --> 00:03:58.600
 physical layer on the physical layer

77
00:03:58.600 --> 00:04:02.100
 our pdu is bit, you

78
00:04:01.100 --> 00:04:02.100
 know.

79
00:04:02.800 --> 00:04:05.900
And the physical layer is responsible for

80
00:04:05.900 --> 00:04:08.700
 transmitting all data or a

81
00:04:08.700 --> 00:04:11.700
 physical medium such as a copper or

82
00:04:11.700 --> 00:04:14.700
 fiber optic cable. So when we

83
00:04:14.700 --> 00:04:17.400
 look at the physical layer, it corresponds to

84
00:04:17.400 --> 00:04:20.700
 the frame title frame

85
00:04:20.700 --> 00:04:23.800
 part on the packet details

86
00:04:23.800 --> 00:04:27.600
 Pane and when we investigate

87
00:04:26.600 --> 00:04:29.700
 the frame frame section,

88
00:04:29.700 --> 00:04:31.700
 maybe you will remember that.

89
00:04:32.600 --> 00:04:36.100
It corresponds to the bits on the next

90
00:04:35.100 --> 00:04:38.900
 window next pane packet bytes

91
00:04:38.900 --> 00:04:41.500
 pane. When you look at the packet bytes

92
00:04:41.500 --> 00:04:44.900
 pane, you will see the bits or the

93
00:04:44.900 --> 00:04:48.200
 hexadecimal values corresponds to

94
00:04:48.200 --> 00:04:52.800
 the frame Sigma frame sections frame

95
00:04:52.800 --> 00:04:55.600
 part. And so as a

96
00:04:55.600 --> 00:04:59.500
 pdu the bit the bit unit corresponds

97
00:04:58.500 --> 00:05:02.100
 to the frame part on

98
00:05:01.100 --> 00:05:04.600
 the packet details window.

99
00:05:05.400 --> 00:05:08.700
When we look at the next pdu as the

100
00:05:08.700 --> 00:05:11.900
 frame frame corresponds to

101
00:05:11.900 --> 00:05:15.000
 the ethernet header, ethernet

102
00:05:14.700 --> 00:05:17.900
 a part on the pack details and

103
00:05:17.900 --> 00:05:21.300
 ethernet part as you can see we

104
00:05:20.300 --> 00:05:23.300
 have some information about the

105
00:05:23.300 --> 00:05:27.300
 devices on our Network for example, source Mac

106
00:05:27.300 --> 00:05:30.200
 address and as a source Mac address

107
00:05:30.200 --> 00:05:33.900
 the first information the first

108
00:05:33.900 --> 00:05:36.600
 value is the name of the

109
00:05:36.600 --> 00:05:37.100
 device.

110
00:05:37.900 --> 00:05:40.800
You know in the Mac addresses first

111
00:05:40.800 --> 00:05:44.100
 part of the Mac addresses called

112
00:05:43.100 --> 00:05:46.200
 as and use it as

113
00:05:46.200 --> 00:05:49.600
 the company name then which

114
00:05:49.600 --> 00:05:53.000
 produced the this device and the

115
00:05:52.300 --> 00:05:56.900
 next one next information raw

116
00:05:55.900 --> 00:05:58.500
 Mac address, you know,

117
00:05:58.500 --> 00:06:02.300
 the Wireshark can resolve the

118
00:06:02.300 --> 00:06:05.300
 Mac addresses to the name their names

119
00:06:05.300 --> 00:06:08.700
 to human readable format and

120
00:06:08.700 --> 00:06:11.800
 the other important knowledge is

121
00:06:11.800 --> 00:06:13.400
 the destination Mac address.

122
00:06:14.200 --> 00:06:18.000
And here we can see both the

123
00:06:17.900 --> 00:06:20.500
 result Mac address and throw

124
00:06:20.500 --> 00:06:21.300
 me address again.

125
00:06:22.200 --> 00:06:27.100
So the next one is the packet next

126
00:06:26.100 --> 00:06:29.000
 one is the packet pdu.

127
00:06:29.800 --> 00:06:33.000
As a pdu the packet ring and

128
00:06:32.900 --> 00:06:35.400
 in this layer, you know,

129
00:06:35.400 --> 00:06:39.200
 this is the network layer Network layers.

130
00:06:38.200 --> 00:06:42.200
 This is the network layers pdu.

131
00:06:43.300 --> 00:06:47.000
And the network layer is responsible for routing packets

132
00:06:46.300 --> 00:06:49.400
 to their destination. This layer

133
00:06:49.400 --> 00:06:52.900
 is typically represented by the Internet Protocol

134
00:06:52.900 --> 00:06:55.800
 field. And which in

135
00:06:55.800 --> 00:06:59.300
 this case is Internet Protocol version

136
00:06:58.300 --> 00:07:00.100
 4

137
00:07:01.700 --> 00:07:04.400
Because our device on the

138
00:07:04.400 --> 00:07:07.600
 network are using Internet Protocol

139
00:07:07.600 --> 00:07:11.400
 version 4 and we can see on the

140
00:07:10.400 --> 00:07:14.400
 network layers the packet

141
00:07:13.400 --> 00:07:16.800
 information the packet

142
00:07:16.800 --> 00:07:20.000
 information include the source

143
00:07:19.900 --> 00:07:22.600
 IP address at the destination IP

144
00:07:22.600 --> 00:07:25.800
 address and if you expand the expand

145
00:07:25.800 --> 00:07:28.700
 the Internet Protocol header, you

146
00:07:28.700 --> 00:07:31.700
 can see the details about these

147
00:07:31.700 --> 00:07:34.600
 informations again, and the

148
00:07:34.600 --> 00:07:38.900
 next one is the segment or datagram, you

149
00:07:37.900 --> 00:07:40.700
 know, this segment are

150
00:07:40.700 --> 00:07:44.300
 used in the TCP protocol

151
00:07:43.300 --> 00:07:47.300
 as transport protocol if

152
00:07:46.300 --> 00:07:49.500
 they use the UDP

153
00:07:49.500 --> 00:07:53.700
 protocol as the transport protocol we

154
00:07:52.700 --> 00:07:56.000
 called as datagram are pdu.

155
00:07:56.600 --> 00:08:00.400
So this pdu includes some Port

156
00:07:59.400 --> 00:08:03.500
 knowledge Port information.

157
00:08:04.600 --> 00:08:07.400
Source Port what is the source port and

158
00:08:07.400 --> 00:08:09.000
 what is the destination port?

159
00:08:09.600 --> 00:08:12.500
For example here some information

160
00:08:12.500 --> 00:08:16.000
 in detailed Source Port destination

161
00:08:15.300 --> 00:08:17.600
 port at the length.

162
00:08:18.200 --> 00:08:22.300
You know, this is the transport layer.

163
00:08:23.200 --> 00:08:27.100
And on the transport layer some information

164
00:08:26.100 --> 00:08:29.100
 is added.

165
00:08:30.100 --> 00:08:33.400
And these information are associated with

166
00:08:33.400 --> 00:08:36.800
 the source Port destination port and some

167
00:08:36.800 --> 00:08:38.100
 checksum value.

168
00:08:38.900 --> 00:08:41.900
And the last one is the data.

169
00:08:42.600 --> 00:08:46.200
So the date I can be seen under

170
00:08:45.200 --> 00:08:46.700
 this field.

171
00:08:47.500 --> 00:08:50.500
Maybe it's a plain text value

172
00:08:50.500 --> 00:08:54.600
 or encrypted value depending

173
00:08:53.600 --> 00:08:56.900
 on which protocol

174
00:08:56.900 --> 00:08:59.500
 has been used on this packet

175
00:08:59.500 --> 00:09:03.100
 and we can see that it is a TLS which

176
00:09:02.100 --> 00:09:06.200
 is transport layer security at

177
00:09:05.200 --> 00:09:08.900
 the top as a presentation layer

178
00:09:08.900 --> 00:09:11.500
 protocol and under the

179
00:09:11.500 --> 00:09:15.100
 TLs. We are able to see the HTTP as

180
00:09:14.100 --> 00:09:17.500
 the application protocol. Now, let's

181
00:09:17.500 --> 00:09:21.200
 look at an example which contains a

182
00:09:20.200 --> 00:09:24.300
 transport layer security. I

183
00:09:23.300 --> 00:09:28.100
 mean which contains TLS information

184
00:09:27.100 --> 00:09:29.500
 TLS data?

185
00:09:31.100 --> 00:09:34.200
so we can see that is it TLS which is

186
00:09:34.200 --> 00:09:37.300
 transport layer security at the top

187
00:09:37.300 --> 00:09:38.200
 is

188
00:09:39.200 --> 00:09:42.300
Presentation layer protocol and under the

189
00:09:42.300 --> 00:09:46.500
 TLs we are able to see the HTTP as

190
00:09:45.500 --> 00:09:48.000
 the application protocol.

191
00:09:48.700 --> 00:09:52.300
And since the HTTP data is encapsulated

192
00:09:51.300 --> 00:09:55.300
 by TLS. The HTTP

193
00:09:54.300 --> 00:09:57.700
 data is observed under

194
00:09:57.700 --> 00:09:59.100
 of the TLs.

195
00:09:59.700 --> 00:10:02.200
Note that the data is in

196
00:10:02.200 --> 00:10:04.700
 encrypted form in here.

197
00:10:06.400 --> 00:10:09.000
So that's all for now. See you on the next

198
00:10:09.000 --> 00:10:09.300
 video.
