diff options
author | Neale Ranns <nranns@cisco.com> | 2018-11-30 09:15:11 +0000 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2018-11-30 09:19:32 +0000 |
commit | ad5f2de9041070c007cedb87f94b72193125db17 (patch) | |
tree | 2e418bbc29095f8e1645e80091ac0591329c6e89 /src | |
parent | 00adcceaf09db5c94860c2bae8590c3efdd224fd (diff) |
IPSEC-AH: fix packet drop
Change-Id: I45b97cfd0c3785bfbf6d142d362bd3d4d56bae00
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/vnet/ipsec/ah_decrypt.c | 5 | ||||
-rw-r--r-- | src/vnet/ipsec/esp_decrypt.c | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/vnet/ipsec/ah_decrypt.c b/src/vnet/ipsec/ah_decrypt.c index abe2e6f5f80..29c59fdfd24 100644 --- a/src/vnet/ipsec/ah_decrypt.c +++ b/src/vnet/ipsec/ah_decrypt.c @@ -166,11 +166,8 @@ ah_decrypt_node_fn (vlib_main_t * vm, if (PREDICT_FALSE (rv)) { - clib_warning ("anti-replay SPI %u seq %u", sa0->spi, seq); vlib_node_increment_counter (vm, ah_decrypt_node.index, AH_DECRYPT_ERROR_REPLAY, 1); - to_next[0] = i_bi0; - to_next += 1; goto trace; } } @@ -220,8 +217,6 @@ ah_decrypt_node_fn (vlib_main_t * vm, vlib_node_increment_counter (vm, ah_decrypt_node.index, AH_DECRYPT_ERROR_INTEG_ERROR, 1); - to_next[0] = i_bi0; - to_next += 1; goto trace; } diff --git a/src/vnet/ipsec/esp_decrypt.c b/src/vnet/ipsec/esp_decrypt.c index a0eeed464da..7f9be89ee4c 100644 --- a/src/vnet/ipsec/esp_decrypt.c +++ b/src/vnet/ipsec/esp_decrypt.c @@ -185,7 +185,6 @@ esp_decrypt_node_fn (vlib_main_t * vm, if (PREDICT_FALSE (rv)) { - clib_warning ("anti-replay SPI %u seq %u", sa0->spi, seq); vlib_node_increment_counter (vm, esp_decrypt_node.index, ESP_DECRYPT_ERROR_REPLAY, 1); o_bi0 = i_bi0; @@ -330,7 +329,6 @@ esp_decrypt_node_fn (vlib_main_t * vm, next0 = ESP_DECRYPT_NEXT_IP6_INPUT; else { - clib_warning ("next header: 0x%x", f0->next_header); vlib_node_increment_counter (vm, esp_decrypt_node.index, ESP_DECRYPT_ERROR_DECRYPTION_FAILED, 1); |