Displaying 1 result from an estimated 1 matches for "netlink_gen_expr".
2017 Oct 02
3
[Bug 1187] New: SIGABRT: "BUG: unknown expression type prefix"
...t gmail.com
I'm experiencing a SIGABRT when using nft with a particular rule, when I was
expecting a parse error instead.
The rule is:
"iifname ens3 snat to 10.0.0.0/28"
Command output:
# nft -f /etc/nftables.conf
BUG: unknown expression type prefix
nft: netlink_linearize.c:688: netlink_gen_expr: Assertion `0' failed.
Aborted (core dumped)
With the following ruleset file:
#!/usr/bin/nft -f
# ipv4/ipv6 Simple & Safe Firewall
# you can find examples in /usr/share/nftables/
table ip nat {
chain input {
type nat hook input priority 0;
iifname ens3 snat to 10.0.0.0/28
}
}...