https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=16783

            Bug ID: 16783
           Summary: Multiple Files preference "Create new file
                    automatically...after" [time] working incorrectly
           Product: Wireshark
           Version: 3.2.6
          Hardware: x86
                OS: Windows 10
            Status: UNCONFIRMED
          Severity: Normal
          Priority: Low
         Component: Dumpcap
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 17944
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=17944&action=edit
Screenshot after making initial settings and before starting the packet
capture.

Build Information:
Version 3.2.6 (v3.2.6-0-g4f9257fb8ccc) 
Copyright 1998-2020 Gerald Combs <[email protected]> and contributors.
License GPLv2+: GNU GPL version 2 or later
<https://www.gnu.org/licenses/gpl-2.0.html> This is free software; see the
source for copying conditions. There is NO warranty; not even for
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
Compiled (64-bit) with Qt 5.12.8, with WinPcap SDK (WpdPack) 4.1.2, with GLib
2.52.3, with zlib 1.2.11, with SMI 0.4.8, with c-ares 1.15.0, with Lua 5.2.4,
with GnuTLS 3.6.3 and PKCS #11 support, with Gcrypt 1.8.3, with MIT Kerberos,
with MaxMind DB resolver, with nghttp2 1.39.2, with brotli, with LZ4, with
Zstandard, with Snappy, with libxml2 2.9.9, with QtMultimedia, with automatic
updates using WinSparkle 0.5.7, with AirPcap, with SpeexDSP (using bundled
resampler), with SBC, with SpanDSP, with bcg729. 
Running on 64-bit Windows 10 (2004), build 19041, with Intel(R) Core(TM)
i7-4790 CPU @ 3.60GHz (with SSE4.2), with 16300 MB of physical memory, with
locale English_United States.1252, with light display mode, without HiDPI, with
Npcap version 0.9995, based on libpcap version 1.9.1, with GnuTLS 3.6.3, with
Gcrypt 1.8.3, with brotli 1.0.2, without AirPcap, binary plugins supported (19
loaded). Built using Microsoft Visual Studio 2019 (VC++ 14.27, build 29111). 
--
When using multiple files and capturing to a file set, the preference "Start a
new file automatically...after [time period]" works as if you selected "Start a
new file automatically...when time is a multiple of [time period]."

To REPRODUCE

1. Go to Capture Options > Output.

2. Specify a path and base filename in the filename input box.

3. Check "Create a new file automatically..."

4. Check the third preference down, "after,"  and set the time field to 30
seconds.

5. Leave "when time is a multiple of" unchecked, and leave the time period at
the default value of 1 hour. See the first attachment: "Screenshot Before
Capture.jpg"

6. Open a real time clock display on your computer. Click "Start" when the time
is at xx:xx:50 (ten seconds before the next minute). Wireshark will start
capturing. It will close the first file and open the second file after
approximately 10 seconds, and then it will start a new file every 30 seconds
thereafter.

7. Stop the capture and go back to Capture Options > Output. The selected
preference "after [time period]" will now be unchecked and the fourth
preference "when time is a multiple of [time period]" will now be checked and
the value in the time period field will now be 30 seconds, the value that was,
and still is, in the time period field for the third preference. See the second
attachment: "Screenshot After Capture.jpg." However, if you now click the Start
button or the Close button, Wireshark will display this error "Multiple files:
No file limit given. You must specify a file size, interval, or number of
packets for each file."

-- 
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <[email protected]>
Archives:    https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
             mailto:[email protected]?subject=unsubscribe

Reply via email to