#118 Incorrect capture duration reported

Lezárt
megnyitva ekkor: 6 éve carlos.garcia által · 2 hozzászólás
Carlos Garcia hozzászólt 6 éve

After finishing analyzing and storing the statistics of the pcap file in 1, the reported duration is wrong. The reported statistics are:

PCAP FILE STATISTICS SUMMARY  ------------------------------
Total packet count:     78329145 packets
Recognized packets:     78329145 packets
Unrecognized packets:   0 PDUs
% Recognized packets:   100.0 %
% Unrecognized packets: 0.0 %
Last unknown PDU:       None
Capture duration:       0.4295 seconds
------------------------------------------------------------

Examining the database in query mode, we can see:

SELECT timestampLastPacket FROM file_statistics;
Query returned 1 record:

+----------------------------+
| timestampLastPacket        |
+----------------------------+
| 2018-04-04 07:15:00.331786 |
+----------------------------+
> SELECT timestampFirstPacket FROM file_statistics;
Query returned 1 record:

+----------------------------+
| timestampFirstPacket       |
+----------------------------+
| 2018-04-04 07:00:00.448274 |
+----------------------------+
After finishing analyzing and storing the statistics of the pcap file in [1], the reported duration is wrong. The reported statistics are: ``` PCAP FILE STATISTICS SUMMARY ------------------------------ Total packet count: 78329145 packets Recognized packets: 78329145 packets Unrecognized packets: 0 PDUs % Recognized packets: 100.0 % % Unrecognized packets: 0.0 % Last unknown PDU: None Capture duration: 0.4295 seconds ------------------------------------------------------------ ``` Examining the database in query mode, we can see: ``` SELECT timestampLastPacket FROM file_statistics; Query returned 1 record: +----------------------------+ | timestampLastPacket | +----------------------------+ | 2018-04-04 07:15:00.331786 | +----------------------------+ > SELECT timestampFirstPacket FROM file_statistics; Query returned 1 record: +----------------------------+ | timestampFirstPacket | +----------------------------+ | 2018-04-04 07:00:00.448274 | +----------------------------+ ``` [1]:http://www.fukuda-lab.org/mawilab/v1.1/2018/04/04/20180404.html
Jens Keim hozzászólt 6 éve
Közreműködő

Fixed. Merge into master coming with SMBScan fixes.

Fixed. Merge into master coming with SMBScan fixes.
Jens Keim hivatkozott erre a hibajegyre egy commit-ban ekkor: 6 éve
Jens Keim hivatkozott erre a hibajegyre egy commit-ban ekkor: 6 éve
Jens Keim hozzászólt 6 éve
Közreműködő

Fixed in commit 971df14819.

EDIT: Off-by-one-second error fixed in pull request #131.

Fixed in commit 971df14819410f7f0e351a6dbca9c5ac588af058. EDIT: Off-by-one-second error fixed in pull request #131.
jens.klein lezárta ekkor: 6 éve
Jelentkezzen be hogy csatlakozhasson a beszélgetéshez.
Nincs mérföldkő
Nincs megbízott
2 Résztvevő
Töltés...
Mégse
Mentés
Még nincs tartalom.