File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ >From the servers perspective:
2
+
3
+
4
+ Receives StartupPacket
5
+ |
6
+ |
7
+ (Is SSL_NEGOTIATE_CODE?) ----------- Normal startup
8
+ | No
9
+ |
10
+ | Yes
11
+ |
12
+ |
13
+ (Server compiled with USE_SSL?) ------- Send 'N'
14
+ | No |
15
+ | |
16
+ | Yes Normal startup
17
+ |
18
+ |
19
+ Send 'S'
20
+ |
21
+ |
22
+ Establish SSL
23
+ |
24
+ |
25
+ Normal startup
26
+
27
+
28
+
29
+
30
+
31
+ >From the clients perspective (v6.6 client _with_ SSL):
32
+
33
+
34
+ Connect
35
+ |
36
+ |
37
+ Send packet with SSL_NEGOTIATE_CODE
38
+ |
39
+ |
40
+ Receive single char ------- 'S' -------- Establish SSL
41
+ | |
42
+ | '<else>' |
43
+ | Normal startup
44
+ |
45
+ |
46
+ Is it 'E' for error ------------------- Retry connection
47
+ | Yes without SSL
48
+ | No
49
+ |
50
+ Is it 'N' for normal ------------------- Normal startup
51
+ | Yes
52
+ |
53
+ Fail with unknown
You can’t perform that action at this time.
0 commit comments