Open QualZyy opened 1 year ago
Mgen releases and nightly builds are available at:
https://github.com/USNavalResearchLaboratory/mgen
RANDOM_FILL is a compile time option.
From: QualZyy @.> Reply-To: USNavalResearchLaboratory/mgen @.> Date: Wednesday, February 22, 2023 at 8:59 AM To: USNavalResearchLaboratory/mgen @.> Cc: Subscribed @.> Subject: [USNavalResearchLaboratory/mgen] Mgen does not update with apt, RANDOM_FILL does not work (Issue #44)
I am running MGEN 5.02b on Ubuntu, I see that 5.02C is the newest version. I have tried updating using apt, but it does not update?
RANDOM_FILL has not worked either. This might be due to me not able to write the option correctly. I am trying to do something like this: 0.0 ON 34 UDP DST 8.8.8.8/123 PERIODIC [2 50] TTL 64 RANDOM_FILL txlog 180.0 OFF 34
But I get the error message: MgenEvent::InitFromString() Error: invalid event option: "RANDOM_FILL" MgenFlow::ParseEvent() event init error Mgen::ParseScript() Error: invalid mgen script line: 1 Mgen::OnCommand() - error parsing script MgenApp::ProcessCommands() OnCommand(input, RandomFillscript.mgn) error mgen: error while processing startup commands
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
As far as I know, NRL is not directly involved at this point with the Ubuntu-supplied apt package, which I believe comes from the Debian source. You could try asking there: https://tracker.debian.org/pkg/mgen -- it seems to be failing to update automatically due to NRL webpage changes from several years ago.
In the meantime, I would suggest getting it from github. It's easy enough to build it, and symlink it to /usr/local/bin to get it in your PATH. You will need to install the apt package libpcap-dev in addition to standard C/C++ build tools.
I am running MGEN 5.02b on Ubuntu, I see that 5.02C is the newest version. I have tried updating using apt, but it does not update?