Opened 10 years ago

Last modified 9 years ago

#147 new defect

--seed is fully random on some platforms

Reported by: aturner Owned by: aturner
Priority: low Milestone: Future Release
Component: libtcpedit Version: 3.0.beta13
Keywords: Cc:
Operating System: Add to FAQ?: yes
Hardware: All
Output of tcpreplay -V:

Description

currently --seed is just used for srandom() to seed the random generator. On most systems, random() uses a single well defined algorithm, but a few systems (like Win32) use another algorithm. The result is the --seed test fails and the results aren't determnistic.

Honestly, it's probably not that big of a deal, but it is something I would like to see.

Change History (5)

comment:1 Changed 10 years ago by aturner

  • Milestone changed from Future Release to 3.1

comment:2 Changed 10 years ago by aturner

  • Add to FAQ? set

comment:3 Changed 10 years ago by aturner

  • Milestone changed from 3.1 to 3.2

comment:4 Changed 10 years ago by aturner

  • Milestone changed from 3.2 to Future Release

comment:5 in reply to: ↑ description Changed 9 years ago by anonymous

Replying to aturner:

currently --seed is just used for srandom() to seed the random generator. On most systems, random() uses a single well defined algorithm, but a few systems (like Win32) use another algorithm. The result is the --seed test fails and the results aren't determnistic.

Honestly, it's probably not that big of a deal, but it is something I would like to see.

Note: See TracTickets for help on using tickets.