LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-12-2021, 04:21 PM   #1
ardya
Member
 
Registered: Mar 2006
Distribution: Slackware since 1997
Posts: 89

Rep: Reputation: 18
Exclamation slackware current BUG: nft segfaults when -t arg used


When attempting to use terse output mode (-t) nft segfaults, regardless if any sets are defined.

Code:
nft -t list ruleset
table ip filter {
	chain input {
		type filter hook input priority filter; policy drop;
		ct state Segmentation fault
Code:
uname -a
Linux slackware-current.dhcp.ldev 5.15.7 #1 SMP PREEMPT Wed Dec 8 12:53:09 CST 2021 x86_64 Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz GenuineIntel GNU/Linux

slackpkg info nftables
PACKAGE NAME:  nftables-1.0.1-x86_64-1.txz
PACKAGE LOCATION:  ./slackware64/n
PACKAGE SIZE (compressed):  324 K
PACKAGE SIZE (uncompressed):  980 K
 
Old 12-13-2021, 09:10 AM   #2
drumz
Member
 
Registered: Apr 2005
Location: Oklahoma, USA
Distribution: Slackware
Posts: 905

Rep: Reputation: 695Reputation: 695Reputation: 695Reputation: 695Reputation: 695Reputation: 695
I can confirm:

Code:
# nft  list ruleset
table inet firewall {
        chain incoming {
                type filter hook input priority filter; policy drop;
                ct state established,related accept
                iifname "lo" accept
                jump bad_packets
                ip daddr 224.0.0.1 drop
                iifname "vboxnet0" ip saddr 192.168.56.0/24 accept
                iifname "vboxnet0" ip daddr 192.168.56.255 accept
                iifname { "eth0", "eth1", "wlan0" } ip protocol tcp jump tcp_inbound
SNIP
Code:
# nft  -t list ruleset
table inet firewall {
        chain incoming {
                type filter hook input priority filter; policy drop;
                ct state established,related accept
                iifname "lo" accept
                jump bad_packets
                ip daddr 224.0.0.1 drop
                iifname "vboxnet0" ip saddr 192.168.56.0/24 accept
                iifname "vboxnet0" ip daddr 192.168.56.255 accept
                iifname Segmentation fault
Is yours segfaulting in a similar place where you use brackets to define multiple things at once? Probably worth reporting upstream.
 
  


Reply

Tags
bug



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nftables : nft commands throwing " error - Operation not supported" Santoshkb Linux - Networking 2 05-12-2020 07:51 AM
Need help for nftables : nft commands throwing " error - Operation not supported" Santoshkb Linux - Security 1 05-11-2020 07:56 AM
nft chain priority and policy keithwilliamsnp Linux - Security 0 12-01-2018 12:45 PM
[SOLVED] current update causes segfaults on nm-appelt when used with NetworkManager-openvpn bsd1101 Slackware 13 12-23-2017 04:36 AM
[SOLVED] Arg! Virtual machine, sudo won't work, can't log in as root, visudo won't work Arg! edpatterson Linux - Newbie 2 01-03-2012 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration