intetsim review (Re: ITP: inetsim)

GengYu Rao zouyoo at outlook.com
Tue Nov 14 15:43:39 UTC 2017


Hi lukas,

  For this tool,actually,people would always launch it from console
instead of run it as a service.
  For instance, if you wanna to test the malware sample against
logical fault with time setting (you may need this if it is scheduled
to run at certain time, or unlock the files after one year)
you can use
    --faketime-init-delta <initial time delta>
    --faketime-auto-delay <delay time>
And it is a lot of options you want to use.


> * A lot of files are now installed to both
>    /usr/share/inetsim/lib/ and /usr/share/perl5, they should only be
>    installed once.
>
> * You changed the location for a lot of files, but the "old" (empty)
>    directories are still part of the package.
>    - The "report" symlink still points to /var/lib/inetsim/report .

> - Install inetsim directly to /usr/bin, drop the helper script
>  - To make sure the correct conf, data and log directories are used by
>   inetsim when started from the init script, add
>       --chdir /usr/share/inetsim

Some files are duplicated to launch it in both way.

The easier way is to add the helper script and cd there,
like the init script. This would avoid many problems.

The other way is to patch the files, the upstream adopt this way
and they cp some files in postinst from /usr/share to /var/lib.

I asked another Debian Maintainer from taiwan for help, who have
wrote perl before.
I don't know which way should we choose.

thanks,
GengYu Rao



More information about the Pkg-security-team mailing list