[Bug 1313] New: proper return codes

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Fri Dec 28 15:31:45 CET 2018


https://bugzilla.netfilter.org/show_bug.cgi?id=1313

            Bug ID: 1313
           Summary: proper return codes
           Product: nftables
           Version: unspecified
          Hardware: x86_64
                OS: Debian GNU/Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: iptables over nftable
          Assignee: pablo at netfilter.org
          Reporter: arturo at debian.org

Original bug report: https://bugs.debian.org/905284

Some iptables utilities are not returning proper error codes.

Specifically:

$ iptables-save
$ echo $?
0
$ sudo iptables-save
# Generated by iptables-save v1.6.0 on Thu Aug  2 16:10:24 2018
*mangle
[...]

So, iptables-save silently fails if called by an unprivileged user.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20181228/8fece672/attachment.html>


More information about the netfilter-buglog mailing list