search for: expr_evaluate_relational

Displaying 7 results from an estimated 7 matches for "expr_evaluate_relational".

2014 Jan 25
7
[Bug 888] New: Assertion errors attempting a statement which (I believe) is grammatically correct.
...grammer file this appears to be valid syntax.. this rule works using a singleton, but declaring it an anonymous set does not. <some basic table initialization..> nft> add rule ip filter input ip saddr != { 192.168.1.0/24 } reject BUG: invalid expression type set nft: src/evaluate.c:955: expr_evaluate_relational: Assertion `0' failed. Aborted Additionally the following also fails; From looking at the source there does not appear to be a set type declared for network blocks and seeing that this works when declared inline as an anonymous set I imagine this behaviour is not desirable. <some basic ta...
2019 Aug 27
3
[Bug 1360] New: BUG: invalid expression type concat on invalid input "iifname . oifname p . q"
...gs.debian.org/cgi-bin/bugreport.cgi?bug=933621 Original message follows: I found a parser bug when experimenting with concatenations: # nft 'flush ruleset; table a; chain a b; a b iifname . oifname p . q; list ruleset' BUG: invalid expression type concat nft: evaluate.c:1726: expr_evaluate_relational: Assertion `0' failed. Aborted (core dumped) # nft 'flush ruleset; table a; chain a b; a b iifname . oifname != p . q; list ruleset' BUG: invalid expression type concat nft: evaluate.c:1726: expr_evaluate_relational: Assertion `0' failed. Aborted (core dumped)...
2013 Jul 20
1
[Bug 834] New: nft crash when invalid meta proto is used
...fffffffd8c0, expr=expr at entry=0x639638) at src/evaluate.c:1035 #1 0x00000000004093ee in expr_evaluate_symbol (expr=0x639638, ctx=0x7fffffffd8c0) at src/evaluate.c:216 #2 expr_evaluate (ctx=ctx at entry=0x7fffffffd8c0, expr=expr at entry=0x639638) at src/evaluate.c:1037 #3 0x0000000000409b8f in expr_evaluate_relational (expr=0x6396a8, ctx=0x7fffffffd8c0) at src/evaluate.c:854 #4 expr_evaluate (ctx=ctx at entry=0x7fffffffd8c0, expr=expr at entry=0x6396a8) at src/evaluate.c:1068 #5 0x000000000040a962 in stmt_evaluate_expr (stmt=0x639660, ctx=0x7fffffffd8c0) at src/evaluate.c:1077 #6 stmt_evaluate (ctx=ctx at ent...
2014 May 07
3
[Bug 923] New: set: It Is not possible invert a set
...AssignedTo: pablo at netfilter.org ReportedBy: anarey at gmail.com Estimated Hours: 0.0 It Is not possible invert a set. Here an example of this bug. $ sudo nft add rule ip test input tcp sport != { 22, 53, 80, 110 } counter BUG: invalid expression type set nft: src/evaluate.c:975: expr_evaluate_relational: Assertion `0' failed. The last commit in Pablo git tree of kernel is "40e6442 netfilter: x_tables: allow to use cgroup match for LOCAL_IN nf hooks" The last commit in libmnl repo is "090a842 examples: use mnl_socket_setsockopt" The last commit in libnftnl repo is "571...
2016 Mar 21
3
[Bug 1059] New: Using wildcard interface names in an anonymous set fails on big endian
...atch: expected big endian, got host endian iifname { "vlan1", "vi-vlan1_*" } ip daddr 33.44.5.6/32 ip protocol 6 tcp dport 222 accept ^^^^^^^ It appears when using a wildcard interface string in an inline set. The error is raised in byteorder_conversion() called from expr_evaluate_relational() in evaluate.c. Inside the OP_LOOKUP case, row 1232. The string should in host byte order, but that is not expected for the lookup (due to the prefix_expr_alloc()?) -- You are receiving this mail because: You are watching all bug changes. -------------- next part -------------- An HTML attachme...
2016 Jul 10
2
[Bug 1079] New: nft-0.6: segfault on add rule ip filter INPUT ip protocol igmp counter accept
...gmentation fault. 0x0000000000417136 in payload_expr_pctx_update (ctx=0x7fffffffe748, expr=0x6767f0) at payload.c:88 88 assert(desc->base <= PROTO_BASE_MAX); #0 0x0000000000417136 in payload_expr_pctx_update (ctx=0x7fffffffe748, expr=0x6767f0) at payload.c:88 #1 0x0000000000413453 in expr_evaluate_relational (ctx=0x7fffffffe708, expr=0x6768c8) at evaluate.c:1436 #2 0x0000000000413a26 in expr_evaluate (ctx=0x7fffffffe708, expr=0x6768c8) at evaluate.c:1584 #3 0x0000000000413a84 in stmt_evaluate_expr (ctx=0x7fffffffe708, stmt=0x676880) at evaluate.c:1593 #4 0x0000000000415289 in stmt_evaluate (ctx=0x7f...
2014 Apr 13
1
[Bug 915] New: segfault in error case : expr_evaluate_payload not checking payload->payload.desc being null
...284 284 return expr_error(ctx->msgs, payload, (gdb) bt #0 0x000000000040d183 in expr_evaluate_payload (ctx=0x7fffffffe438, expr=0x64c740) at src/evaluate.c:284 #1 0x000000000040f71d in expr_evaluate (ctx=0x7fffffffe438, expr=0x64c740) at src/evaluate.c:1071 #2 0x000000000040ee9d in expr_evaluate_relational (ctx=0x7fffffffe438, expr=0x64c7a8) at src/evaluate.c:874 #3 0x000000000040f81f in expr_evaluate (ctx=0x7fffffffe438, expr=0x64c7a8) at src/evaluate.c:1093 #4 0x000000000040f8a5 in stmt_evaluate_expr (ctx=0x7fffffffe438, stmt=0x64c760) at src/evaluate.c:1102 #5 0x000000000040fc50 in stmt_evaluat...