Skip to content

Commit 18658be

Browse files
committed
doc: upgrade notes for changes to ike output
1 parent fd6a7f4 commit 18658be

2 files changed

Lines changed: 148 additions & 0 deletions

File tree

doc/userguide/upgrade.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,15 @@ also check all the new features that have been added but are not covered by
3434
this guide. Those features are either not enabled by default or require
3535
dedicated new configuration.
3636

37+
Upgrading to 9.0.0
38+
------------------
39+
40+
Logging Changes
41+
~~~~~~~~~~~~~~~
42+
- The format of IKEv1 proposal attributes has been changed to handle
43+
duplicate attribute types. See :ref:`IKE logging changes
44+
<9.0-ike-logging-changes>`
45+
3746
Upgrading to 8.0.1
3847
------------------
3948

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
:orphan: Referenced from upgrade notes, not a toctree
2+
3+
Suricata 9.0 Logging Changes
4+
############################
5+
6+
.. _9.0-ike-logging-changes:
7+
8+
IKE
9+
***
10+
11+
IKE attributes are now logged as an array of objects instead of a map
12+
keyed by the attribute type. This allows for multiple attributes of
13+
the same type to be logged.
14+
15+
The affected field names include:
16+
17+
* alg_auth
18+
* alg_auth_raw
19+
* alg_dh
20+
* alf_dh_raw
21+
* alg_enc
22+
* alg_enc_raw
23+
* alg_hash
24+
* alg_hash_raw
25+
* sa_key_length
26+
* sa_key_length_raw
27+
* sa_life_duration
28+
* sa_life_duration_raw
29+
* sa_life_type
30+
* sa_life_type_raw
31+
32+
Example - Attributes in "ike" object
33+
====================================
34+
35+
**Suricata 8.0**
36+
37+
.. code-block:: json
38+
39+
"ike": {
40+
"alg_enc": "EncAesCbc",
41+
"alg_enc_raw": 7,
42+
"sa_key_length": "Unknown",
43+
"sa_key_length_raw": 128
44+
}
45+
46+
**Suricata 9.0**
47+
48+
.. code-block:: json
49+
50+
"ike": {
51+
"attributes": [
52+
{
53+
"key": "alg_enc",
54+
"value": "EncAesCbc",
55+
"raw": 7
56+
},
57+
{
58+
"key": "sa_key_length",
59+
"value": "Unknown",
60+
"raw": 128
61+
}
62+
]
63+
}
64+
65+
Example - Client Proposal
66+
=========================
67+
68+
**Suricata 8.0**
69+
70+
.. code-block:: json
71+
72+
"ikev1": {
73+
"client": {
74+
"proposals": [
75+
{
76+
"alg_enc": "EncAesCbc",
77+
"alg_enc_raw": 7,
78+
"sa_key_length": "Unknown",
79+
"sa_key_length_raw": 128,
80+
"alg_hash": "HashSha",
81+
"alg_hash_raw": 2,
82+
"alg_dh": "GroupAlternate1024BitModpGroup",
83+
"alg_dh_raw": 2,
84+
"alg_auth": "AuthPreSharedKey",
85+
"alg_auth_raw": 1,
86+
"sa_life_type": "LifeTypeSeconds",
87+
"sa_life_type_raw": 1,
88+
"sa_life_duration": "Unknown",
89+
"sa_life_duration_raw": 86400
90+
}
91+
]
92+
}
93+
}
94+
95+
**Suricata 9.0**
96+
97+
.. code-block:: json
98+
99+
"ikev1": {
100+
"client": {
101+
"proposals": [
102+
{
103+
"key": "alg_enc",
104+
"value": "EncAesCbc",
105+
"raw": 7
106+
},
107+
{
108+
"key": "sa_key_length",
109+
"value": "Unknown",
110+
"raw": 128
111+
},
112+
{
113+
"key": "alg_hash",
114+
"value": "HashSha",
115+
"raw": 2
116+
},
117+
{
118+
"key": "alg_dh",
119+
"value": "GroupAlternate1024BitModpGroup",
120+
"raw": 2
121+
},
122+
{
123+
"key": "alg_auth",
124+
"value": "AuthPreSharedKey",
125+
"raw": 1
126+
},
127+
{
128+
"key": "sa_life_type",
129+
"value": "LifeTypeSeconds",
130+
"raw": 1
131+
},
132+
{
133+
"key": "sa_life_duration",
134+
"value": "Unknown",
135+
"raw": 86400
136+
}
137+
]
138+
}
139+
}

0 commit comments

Comments
 (0)