Support #1882
closedI don't know why the 2nd file TRUNCATED
Description
There are 2 files in the pcap file.
I get the pcap file from test network env. using TAP.
- first file is closed
- second file is truncated
- 2 files(systemd)
- 2 files(systemd)
I don't know why the 2nd file TRUNCATED.
I tried to check the source, stream-tcp-reassemble.c
execution
[root@suricata suricata3]# /opt/suricata3/bin/suricata -c /opt/suricata3/config/suricata.yaml -r log.pcap.1472709340.tcp8080.dport49736.pcap
line 2920,add 3 printf
(stream->seg_list != NULL && /*2*/
SEQ_GT(stream->seg_list->seq, stream->ra_app_base_seq+1) &&
SEQ_LT(stream->seg_list->seq, stream->last_ack)))
printf("ysh-stream->seg_list->seq: %u\n", stream->seg_list->seq);
printf("ysh-stream->ra: %u\n", stream->ra_app_base_seq+1);
printf("ysh-stream->last_ack: %u\n", stream->last_ack);
then printed,
ysh-stream->seg_list->seq: 4098035050
ysh-stream->ra: 4098030962
ysh-stream->last_ack: 4098036510
- depth: 0
- request-body-limit: 0
- response-body-limit: 0
Files