Wireshark mailing list archives
Re: does the use a reliable rand pkt generator would makes sense ?
From: Evan Huus <eapache () gmail com>
Date: Sat, 12 Oct 2013 12:20:48 -0400
On Fri, Oct 11, 2013 at 1:25 PM, Toralf Förster <toralf.foerster () gmx de> wrote:
While uploading a 5 MB rand pkt file to bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9264 I was wondering if it is really needed to upload such files - or - if it would be possible to add only the "seed" of the random funtion to the bug (report assuming, that given the seed the same rand pkt file can be identically created later at another system).
Unfortunately you do usually need to upload the file - srand and rand can have different implementations on different systems or even just with different versions of libc on the same system, so the seed doesn't guarantee the ability to recreate the file. Evan ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- does the use a reliable rand pkt generator would makes sense ? Toralf Förster (Oct 12)
- Re: does the use a reliable rand pkt generator would makes sense ? Evan Huus (Oct 12)