Skip to content

Commit e26a31e

Browse files
huangqiangxiongchalin
authored andcommitted
PR #467 correct clerical and grammar errors 2020-11-28
also update date
1 parent 1fdeb54 commit e26a31e

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

content/blog/how-to-analyze-grpc-with-wireshark.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ introduce examples later.
2727

2828
The main features about Wireshark Protobuf and gRPC dissectors includes:
2929

30-
- Supports dissecting gRPC messages serialized in Protobuf or JSON format.
30+
- Supports dissecting the gRPC messages serialized in Protobuf or JSON format.
3131

3232
- Supports dissecting the gRPC messages of unary, server streaming, client
3333
streaming, and bidirectional streaming RPC calls.
@@ -38,7 +38,7 @@ The main features about Wireshark Protobuf and gRPC dissectors includes:
3838

3939
- Protobuf fields can be dissected as Wireshark fields that allows user to input
4040
the full name of a Protobuf field or message in the filter toolbar to search
41-
packages containing the field or message.
41+
packets containing the field or message.
4242

4343
- You can register your own subdissectors in the 'protobuf_field' dissector
4444
table, which is keyed with the full names of the fields, for further parsing
@@ -62,7 +62,8 @@ There are many ways to capture the network traffic of a gRPC conversation:
6262

6363
Please refer to [Wireshark User's
6464
Guide](https://www.wireshark.org/docs/wsug_html_chunked/) for how to capture
65-
network packets files that can be recognized by Wireshark.
65+
the network traffic, and store the packets into files that can be recognized
66+
by Wireshark.
6667

6768
Note that now only the capture files that sending gRPC messages in plaintext
6869
mode can be parsed by Wireshark. For example, you have to setup a gRPC client
@@ -85,7 +86,7 @@ There are some examples to show how to use the Wireshark Protobuf and gRPC
8586
dissectors. You can get more details about these examples from [Wireshark
8687
Protobuf wiki page](https://gitlab.com/wireshark/wireshark/-/wikis/Protobuf) and
8788
[Wireshark gRPC wiki page](https://gitlab.com/wireshark/wireshark/-/wikis/gRPC)
88-
pages from Wireshark official website.
89+
on Wireshark official website.
8990

9091
### Sample .proto files
9192

@@ -148,7 +149,7 @@ service PersonSearchService {
148149
}
149150
```
150151

151-
The file `person_search_service.proto` which relies on file `addressbook.proto`.
152+
The file `person_search_service.proto` relies on file `addressbook.proto`.
152153

153154
### Protobuf Search Paths Settings
154155

@@ -192,7 +193,7 @@ Since the `Search` operation is defined as the server streaming RPC mode, the
192193
Person objects can be return back to client one after another:
193194
![wireshark_grpc_protobuf_search_response](/img/wireshark_grpc_protobuf_search_response.png)
194195

195-
You may have noticed that the `portrait_image` of bytes type is parsed into a
196+
You may have noticed that the `portrait_image` of bytes type is parsed as a
196197
PNG data. It's because we register the PNG dissector in the `"protobuf_field"`
197198
dissector table for parsing the value of field `portrait_image` as picture by
198199
putting following Lua script `'protobuf_portrait_field.lua'` into the 'plugins'

0 commit comments

Comments
 (0)