Skip to content

Commit

Permalink
Release/1.6.4 (#262)
Browse files Browse the repository at this point in the history
* support two-way ssl verification (#256)

* fix code style

* support two way ssl validation

* fix ProtocolSwitch

* fix handle illegal packet

* upgrade version to 1.6.3

* feedback results to the caller in time

* support traffic and use option instead of switch

* support extendex channel handler

* Deprecated RpcConfigManager

* Deprecated some cod3e

* fix cr

* fix pmd

* Add Wireshark plugin support (#261)

* add wireshark plugin support

* fix author github id

* fix script path

* add windows install script

* upgrade log4j and junit

* deprecated ConfigurableInstance water mark config

* support record client send time

Co-authored-by: 丞一 <[email protected]>
Co-authored-by: myscm <[email protected]>
Co-authored-by: JervyShi <[email protected]>
  • Loading branch information
4 people authored Aug 24, 2021
1 parent ecf78d0 commit 42e4e3d
Show file tree
Hide file tree
Showing 71 changed files with 2,520 additions and 932 deletions.
49 changes: 49 additions & 0 deletions plugins/wireshark/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Bolt wireshark plugin

How to use it:

* For Mac or Linux:
```
$ sh install.sh
```
* For Windows:
```
$ .\install.bat
```

Then open wireshark and decode package as BOLT.

Bolt package will be decoded like this:

```
Bolt Protocol Data
Header
rpc_trace_context.sofaRpcId: 0
rpc_trace_context.sofaTraceId: 0bxxxx335162832343267634611586
rpc_trace_context.sofaCallerIp: 1.2.3.4
service: com.sofastack.demo.Service:1.0
rpc_trace_context.sofaCallerApp: test-app
sofa_head_method_name: hello
Payload
payload
proto: 2 (BOLTv2)
ver1: 1
type: 1 (request)
cmdcode: 1 (request)
ver2: 1
req_id: 0
codec: 11 (protobuf)
switch: 1
timeout: 3000
class_len: 44
header_len: 691
content_len: 65
classname: com.alipay.sofa.rpc.core.request.SofaRequest
rpc_id: 0
trace_id: 0bxxxx335162832343267634611586
```

For advanced usage, you can search for any property under the bolt protocol, such as:
```
bolt.trace_id == 0bxxxx335162832343267634611586
```
Loading

0 comments on commit 42e4e3d

Please sign in to comment.