TCP handshake for decrypted traffic disables IP fragmentation
This commit is contained in:
@@ -2001,6 +2001,14 @@ void handle_decryption_packet_from_tap(const char *data, int len, void *args)
|
||||
|
||||
struct session_node *node = session_table_search_by_addr(thread->session_table, &inner_addr);
|
||||
if (node == NULL) {
|
||||
if (thread->ref_acceptor_ctx->debug)
|
||||
{
|
||||
char *str = addr_tuple4_to_str(&inner_addr);
|
||||
uint16_t ipid = raw_packet_parser_get_most_inner_ipid(&raw_parser);
|
||||
TFE_LOG_ERROR(logger, "decypted packet from tap %s (ipid: %u) miss session table", str, ipid);
|
||||
free(str);
|
||||
}
|
||||
|
||||
throughput_metrics_inc(&packet_io_fs->decrypt_rxdrop, 1, len);
|
||||
return;
|
||||
}
|
||||
@@ -2082,7 +2090,7 @@ void handle_raw_packet_from_tap(const char *data, int len, void *args)
|
||||
{
|
||||
char *str = addr_tuple4_to_str(&inner_addr);
|
||||
uint16_t ipid = raw_packet_parser_get_most_inner_ipid(&raw_parser);
|
||||
TFE_LOG_ERROR(logger, "packet from tap %s (ipid: %u) miss session table", str, ipid);
|
||||
TFE_LOG_ERROR(logger, "raw packet from tap %s (ipid: %u) miss session table", str, ipid);
|
||||
free(str);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user