Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-users: Re: [Wireshark-users] How to disable lua support from command line ?

From: Matt <mattator@xxxxxxxxx>
Date: Tue, 2 Jul 2019 16:22:43 +0900
My bad, I tend to forget about windows but I would like my program to
run on windows too (there is no reason it couldn't apart from this
specific issue).

> If you *really* want the program to run deterministically for all users, you also need a "disable the user's personal configuration" option.
I am inspired by the www.nixos.org philosophy which ensures
reproducibility by being as explicit as possible. In my case, I try to
specify as much as I can when calling tshark so I am not too worried
about any .config/wireshark/config interference.

> you want a "disable all user plugins" option.
To sum up, yes. Might make sense to have a flag for lua and another
for C modules or some kind of enum.

Le mar. 2 juil. 2019 à 15:15, Guy Harris <guy@xxxxxxxxxxxx> a écrit :
>
> On Jul 1, 2019, at 8:34 PM, Matt <mattator@xxxxxxxxx> wrote:
>
> > I want my program to determistically run on other computers as well,
> > thus I can't assume anything in advance about users' lua script. I had
> > not really thought about compiled plugins but that's the same issue,
> > these optional modules may alter the way my program expects tshark to
> > behave.
>
> I.e., you want a "disable all user plugins" option.
>
> If you *really* want the program to run deterministically for all users, you also need a "disable the user's personal configuration" option.
>
> > I believe for my usecase, the best is to wrap the tshark call with an
> > XDG_CONFIG_HOME pointing nowhere or to a vanilla wireshark config. Not
> > sure if there is any difficulty though, I will have a try.
>
> As long as the "other computers" aren't running Windows, where XDG_CONFIG_HOME has no effect....
> ___________________________________________________________________________
> Sent via:    Wireshark-users mailing list <wireshark-users@xxxxxxxxxxxxx>
> Archives:    https://www.wireshark.org/lists/wireshark-users
> Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-users
>              mailto:wireshark-users-request@xxxxxxxxxxxxx?subject=unsubscribe