tcp session record last packet tcp payload length used to calculate seq of injected RST packets
This commit is contained in:
@@ -293,6 +293,7 @@ static void tcp_update(struct session_manager *mgr, struct session *sess, enum s
|
||||
half->flags |= flags;
|
||||
half->seq = tcp_hdr_get_seq(hdr);
|
||||
half->ack = tcp_hdr_get_ack(hdr);
|
||||
half->len = tcp_layer->pld_len;
|
||||
|
||||
if (!mgr->opts.tcp_reassembly_enable)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user