Displaying 7 results from an estimated 7 matches for "nft_run_cmd_from_filename".
2019 Jul 10
6
[Bug 1351] New: Segfault in v0.9.1
...fffffffe970,
cmd=0x555555593050) at evaluate.c:3496
#8 0x00007ffff7f1140d in cmd_evaluate (ctx=0x7fffffffe970, cmd=0x555555593050)
at evaluate.c:3957
#9 0x00007ffff7f335a2 in nft_evaluate (nft=0x55555555ba20,
msgs=0x7fffffffeb00, cmds=0x7fffffffeb10) at libnftables.c:396
#10 0x00007ffff7f339d8 in nft_run_cmd_from_filename (nft=0x55555555ba20,
filename=0x7fffffffeea2 "/etc/nftables/nftables.conf") at libnftables.c:479
#11 0x00005555555567a2 in main (argc=3, argv=0x7fffffffec78) at main.c:310
(gdb) info r rdi
rdi 0x555555562f40 93824992292672
(gdb) info r rsi
rsi 0x0...
2020 Jul 19
3
[Bug 1444] New: nftables-0.9.6 crashes on some set notations:
...cmd=0x55637f6ec290) at rule.c:2527
#14 0x00007f30cec32bc4 in do_command (ctx=0x7fff2a98d110, cmd=0x55637f6ec290)
at rule.c:2753
#15 0x00007f30cec6faf5 in nft_netlink (nft=0x55637f6e52a0, cmds=0x7fff2a98d1c0,
msgs=0x7fff2a98d1b0, nf_sock=0x55637f6e5f30) at libnftables.c:42
#16 0x00007f30cec70c81 in nft_run_cmd_from_filename (nft=0x55637f6e52a0,
filename=0x7fff2a98eb59 "a.nft") at libnftables.c:512
#17 0x000055637e892f41 in main (argc=4, argv=0x7fff2a98d348) at main.c:459
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was...
2019 Sep 15
3
[Bug 1365] New: nft crashes in chain_print_declaration()
...afef56 in do_command (ctx=0x7ffc919cdfe0, cmd=0x561fc75ec500)
at ../../../nftables/src/rule.c:2572
#9 0x00007fc1b9b363e2 in nft_netlink (nft=0x561fc75eb2a0, cmds=0x7ffc919ce090,
msgs=0x7ffc919ce080,
nf_sock=0x561fc75ebc30) at ../../../nftables/src/libnftables.c:42
#10 0x00007fc1b9b3754a in nft_run_cmd_from_filename (nft=0x561fc75eb2a0,
filename=0x7ffc919cecff "./nft.ruleset") at
../../../nftables/src/libnftables.c:508
#11 0x0000561fc5f6e70e in main (argc=4, argv=0x7ffc919ce1f8) at
../../../nftables/src/main.c:328
valgrind says it's a NULL dereference:
$ valgrind --quiet nft -c -f ./nft.rul...
2019 Aug 27
2
[Bug 1361] New: nft segfault on overlapping intervals
...0007f1d5d9fb39b set_to_intervals (libnftables.so.1)
#1 0x00007f1d5d9dcd2f n/a (libnftables.so.1)
#2 0x00007f1d5d9df2c7 do_command (libnftables.so.1)
#3 0x00007f1d5da02320 n/a (libnftables.so.1)
#4 0x00007f1d5da02cdc nft_run_cmd_from_filename
(libnftables.so.1)
#5 0x00005637f2eaa5f0 main (nft)
#6 0x00007f1d5d73809b __libc_start_main (libc.so.6)
#7 0x00005637f2eaa68a _start (nft)
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next p...
2018 Feb 18
5
[Bug 1228] New: [REGRESSION] nft cannot load big set anymore
...state=0x7fff364094a0, nft=0x5600a2fdba20)
at libnftables.c:47
#9 nft_run (nft=nft at entry=0x5600a2fdba20, nf_sock=0x5600a2fdbb50,
scanner=scanner at entry=0x5600a2fdbb90,
state=state at entry=0x7fff364094a0, msgs=msgs at entry=0x7fff36409490) at
libnftables.c:95
#10 0x00005600a1c817dc in nft_run_cmd_from_filename (nft=0x5600a2fdba20,
filename=0x7fff3640be70 "/etc/nftables.conf")
at libnftables.c:323
#11 0x00005600a1c80799 in main (argc=3, argv=0x7fff36409d58) at main.c:276
===
I think this has something to do with the changes related to checking for
overlapping ranges introduced in v0.8.1.
H...
2020 Apr 09
5
[Bug 1418] New: segfaults when running nft --file foo.nft --echo
...t=err_list at entry=0x7fffffffdf60, num_cmds=num_cmds at entry=161) at
mnl.c:433
#18 0x000055555556b6c5 in nft_netlink (nft=nft at entry=0x55555560c2a0,
cmds=cmds at entry=0x7fffffffe010, msgs=msgs at entry=0x7fffffffe000,
nf_sock=<optimized out>) at libnftables.c:57
#19 0x000055555556bfa8 in nft_run_cmd_from_filename (nft=0x55555560c2a0,
filename=0x7fffffffe4ad "/etc/nftables/init.nft") at libnftables.c:508
#20 0x000055555556acb9 in main (argc=<optimized out>, argv=0x7fffffffe1c8) at
main.c:455
When it is adding the rules and echoing, the output is kind of mangled. A rule
that looks like
table...
2017 Oct 12
0
[ANNOUNCE] nftables 0.8 release
...parameter type of scanner_destroy()
scanner: Make use of yylex_init_extra()
parser: Fix for memleak when commands fail
parser: Fix memleaks for STRING token (and derived ones)
doc: nft: Fix and enhance synopsis section
main: Fix for return of uninitialized variable in nft_run_cmd_from_filename()
monitor: Fix for incorrect debug_mask
rule: Use C99-style initializer in cache_init()
exthdr: Simplify tcp option printing a bit
erec_print: Pass output FILE pointer to netlink_dump_expr()
rule: Refactor chain_print_declaration()
src: get rid of printf
ma...