ambrop7
|
f49ecedd13
ncd: NCDModule: remove NCDModuleInst_Backend_SetError() and add NCDModuleInst_Backend_DeadError() instead. Fix modules.
|
13 жил өмнө |
ambrop7
|
2cb7d22401
ncd: move some stuff only used by modules and not the interpreter into extra/
|
13 жил өмнө |
ambrop7
|
c28c0d0819
ncd: NCDVal: don't provide a guarantee that strings are null terminated. Rename NCDVal_StringValue() to NCDVal_StringData() to
|
13 жил өмнө |
ambrop7
|
55cc25ed3e
ncd: NCDModule: get rid of struct NCDModuleInitParams in favor of struct NCDModuleInst_iparams
|
13 жил өмнө |
ambrop7
|
7227efdfe4
ncd: make NCDModule structs non-const (for next commit which will need to modify them)
|
13 жил өмнө |
ambrop7
|
5e10dff851
oops, we need to make struct NCDModule non-const, not struct NCDModuleGroup. So revert previous commit.
|
13 жил өмнө |
ambrop7
|
8ed78cb35d
ncd: make NCDModuleGroup structs non-const (for next commit which will need to modify them)
|
13 жил өмнө |
ambrop7
|
ed95b609d4
ncd: NCDModuleInst: don't store "args" and "method_user" in the NCDModuleInst struct. Instead, pass them at instance
|
13 жил өмнө |
ambrop7
|
641a6bd0ff
ncd: modules: port some modules to func_new2
|
13 жил өмнө |
ambrop7
|
7c571728e8
ncd/modules/net_iptables: make global variable static
|
13 жил өмнө |
ambrop7
|
d7c427733b
fix cosmetic problems find by clang analyzer
|
13 жил өмнө |
ambrop7
|
8f4ede1dbb
ncd: cosmetic changes
|
13 жил өмнө |
ambrop7
|
27c36e7859
ncd: make a new more efficient value storage object NCDVal, and migrate things from NCDValue to NCDVal
|
13 жил өмнө |
ambrop7
|
8df35491bd
ncd: modules: net_iptables: add ebtables commands
|
13 жил өмнө |
ambrop7
|
81de98b4bc
ncd: modules: use NCDModuleInst_Backend_GetUser() to get the base object for in methods
|
14 жил өмнө |
ambrop7
|
3f96e70617
ncd: modules: be aware of strings with null bytes
|
14 жил өмнө |
ambrop7
|
1de3b66b54
ncd: rework object/variable resolution. Rather than working with string object expressions, work with individual
|
14 жил өмнө |
ambrop7
|
abaa48811f
ncd: modules: expect all methods to be called even when the base statement is not up, instead of asserting. This
|
14 жил өмнө |
ambrop7
|
0d99d6a26a
switch to using the New BSD License
|
14 жил өмнө |
ambrop7
|
6b607f8ed6
ncd: NCDModule: replace NCDModuleInst_Backend_Event with NCDModuleInst_Backend_Up,
|
14 жил өмнө |
ambrop7
|
9389536bb7
ncd: modules: net_iptables: add warning about proper lock usage
|
14 жил өмнө |
ambrop7
|
f3d9783c7d
ncd: modules: net.iptables: add net.iptables.lock()
|
14 жил өмнө |
ambrop7
|
7da216a875
ncd: modules: net_iptables: add net.iptables.newchain()
|
14 жил өмнө |
ambrop7
|
91f5d4d922
ncd: modules: net_iptables: try /usr/sbin/iptables after /sbin/iptables; SUSE and Ubuntu need that.
|
14 жил өмнө |
ambrop7
|
cb1485dcd3
rearrange source flow such that 'flow' does not depend on 'system'
|
14 жил өмнө |
ambrop7
|
1e408e6826
ncd: Fix NCDModule to signal module->NCD events directly instead of via jobs. Fixes possible
|
15 жил өмнө |
ambrop7
|
1caa56c976
ncd/modules/command_template: improve interface, use a struct
|
15 жил өмнө |
ambrop7
|
716691f00b
ncd/modules/net_iptables: run all iptables commands synchronously, use BEventLock to achieve that. Otherwise, if two iptables commands are run concurrently, one might
|
15 жил өмнө |
ambrop7
|
32a9dd10af
ncd/modules/net_iptables: add net.iptables.policy
|
15 жил өмнө |
ambrop7
|
2b439110e5
ncd: add iptables module
|
15 жил өмнө |