bugzilla-daemon at netfilter.org
2018-Dec-28 14:31 UTC
[Bug 1313] New: proper return codes
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>
https://bugzilla.netfilter.org/show_bug.cgi?id=1313 kfm at plushkava.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kfm at plushkava.net -- 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/20190307/1b06f9ff/attachment.html>
https://bugzilla.netfilter.org/show_bug.cgi?id=1313 Pablo Neira Ayuso <pablo at netfilter.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #1 from Pablo Neira Ayuso <pablo at netfilter.org> --- This bug is already fixed upstream. $ /usr/sbin/iptables-nft-save iptables-nft-save v1.8.5 (nf_tables): Could not fetch rule set generation id: Permission denied (you must be root) Thanks for reporting. -- 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/20200722/ee352a16/attachment.html>
Reasonably Related Threads
- [Bug 1393] New: iptables-nft -S hangs if not run as root
- [Bug 1325] New: Reproducible NULL ptr deref upon checking trivial nftables ruleset in Linux 5.0
- [Bug 1451] New: nft add element fails when preceded by nft get element or nft delete element commands
- [Bug 1392] New: nft stalls on EGAIN upon repeatedly flushing and populating a set
- [Bug 1434] New: Usability improvements, enabling creation of complex firewalls