]> git.ipfire.org Git - thirdparty/snort3.git/commit
Pull request #3247: Define config options precedence
authorMike Stepanek (mstepane) <mstepane@cisco.com>
Tue, 1 Feb 2022 17:56:59 +0000 (17:56 +0000)
committerMike Stepanek (mstepane) <mstepane@cisco.com>
Tue, 1 Feb 2022 17:56:59 +0000 (17:56 +0000)
commita28f8e2ec379f719821414056cbb799f0e95ed53
treee4f515aa98843a64fb69614d5eb25d7fec8200cf
parent40dcce76637c68075651851465552696785f37a1
Pull request #3247: Define config options precedence

Merge in SNORT/snort3 from ~OSHUMEIK/snort3:snort_the_first to master

Squashed commit of the following:

commit 8e80ead518f81e01d5030cd9419c1e9e49aad273
Author: Oleksii Shumeiko <oshumeik@cisco.com>
Date:   Wed Jan 26 10:01:29 2022 +0200

    doc: add notes about CLI/Lua precedence

commit c33f249fbef12ebfbed574054410fb28d4c13f16
Author: Oleksii Shumeiko <oshumeik@cisco.com>
Date:   Tue Jan 25 14:37:10 2022 +0200

    main: remove default values for other-module parameters in snort module

    Snort module is not listed in coreinit.lua as a builtin module,
    thus some of its parameters get their default values elsewhere.

    Adjust the range for snaplen parameter, as in daq.

    Update --daq-batch-size description with a default value.

commit 0ff8c06919d30aace185f197aaa8a7b7c71ea7a5
Author: Oleksii Shumeiko <oshumeik@cisco.com>
Date:   Tue Jan 25 14:26:16 2022 +0200

    packet_io: decrease daq module's parameters priority

    Config parameter priority follows:
    Highest: command-line option
    Lower: snort module config entry (from Lua)
    Lowest: targeted module config entry (from Lua)

commit 948e8a18880395c9b84f3adcfe0c4adf10b0a5a4
Author: Oleksii Shumeiko <oshumeik@cisco.com>
Date:   Mon Jan 24 14:18:52 2022 +0200

    main: ignore Snort module's option if it duplicates CLI option

commit 2a5282cb6d73e513dc04fbd025e439b662b9c3f5
Author: Oleksii Shumeiko <oshumeik@cisco.com>
Date:   Thu Jan 20 15:06:42 2022 +0200

    main: parse snort module before others
doc/user/daq.txt
doc/user/overview.txt
doc/user/params.txt
doc/user/tutorial.txt
src/main/finalize.lua
src/main/snort_module.cc
src/packet_io/sfdaq_module.cc