|
| 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