[Bug 1451] nft add element fails when preceded by nft get element or nft delete element commands
bugzilla-daemon at netfilter.org
bugzilla-daemon at netfilter.org
Thu Aug 20 17:19:33 CEST 2020
https://bugzilla.netfilter.org/show_bug.cgi?id=1451
--- Comment #2 from Oliver O'Boyle <oliver at urbanotter.com> ---
And just to close the loop, if I insert a nft delete command in between the nft
get and nft add commands, I get an error saying the element doesn't exist but
then the nft add still fails. Logs below (IN REVERSE ORDER, bottom up):
Aug 20 15:16:14 lab-migw bash[861945]: ATTEMPTED ADD OPERATION #1 BELOW - add
13.225.226.203 to report_cb_4
Aug 20 15:16:14 lab-migw bash[863800]:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863800]: add element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863800]: Error: Could not process rule: File
exists
Aug 20 15:16:14 lab-migw bash[863800]: 13.225.226.203
Aug 20 15:16:14 lab-migw bash[863800]:
^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863800]: add element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863800]: Evaluate value
Aug 20 15:16:14 lab-migw bash[863800]: $13.225.226.203
Aug 20 15:16:14 lab-migw bash[863800]:
^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863800]: add element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863800]: Evaluate symbol
Aug 20 15:16:14 lab-migw bash[863800]: $13.225.226.203
Aug 20 15:16:14 lab-migw bash[863800]:
^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863800]: add element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863800]: Evaluate set element
Aug 20 15:16:14 lab-migw bash[863800]: { $13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863800]:
^^^^^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863800]: add element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863800]: Evaluate set
Aug 20 15:16:14 lab-migw bash[863800]:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863800]: add element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863800]: Evaluate add
Aug 20 15:16:14 lab-migw bash[861945]: ATTEMPTED DEL OPERATION #1 BELOW - get
13.225.226.203 from report_cb_4
Aug 20 15:16:14 lab-migw bash[863799]:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863799]: delete element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863799]: Error: Could not process rule: No such
file or directory
Aug 20 15:16:14 lab-migw bash[863799]:
^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863799]: delete element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863799]: Error: interval not found in set
Aug 20 15:16:14 lab-migw bash[863799]: 13.225.226.203
Aug 20 15:16:14 lab-migw bash[863799]:
^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863799]: delete element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863799]: Evaluate value
Aug 20 15:16:14 lab-migw bash[863799]: $13.225.226.203
Aug 20 15:16:14 lab-migw bash[863799]:
^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863799]: delete element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863799]: Evaluate symbol
Aug 20 15:16:14 lab-migw bash[863799]: $13.225.226.203
Aug 20 15:16:14 lab-migw bash[863799]:
^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863799]: delete element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863799]: Evaluate set element
Aug 20 15:16:14 lab-migw bash[863799]: { $13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863799]:
^^^^^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863799]: delete element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863799]: Evaluate set
Aug 20 15:16:14 lab-migw bash[863799]:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863799]: delete element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863799]: Evaluate delete
Aug 20 15:16:14 lab-migw bash[861945]: ATTEMPTED GET OPERATION #1 BELOW - get
13.225.226.203 from report_cb_4
Aug 20 15:16:14 lab-migw bash[863798]:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863798]: get element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863798]: Error: Could not process rule: No such
file or directory
Aug 20 15:16:14 lab-migw bash[863798]: 13.225.226.203
Aug 20 15:16:14 lab-migw bash[863798]:
^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863798]: get element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863798]: Evaluate value
Aug 20 15:16:14 lab-migw bash[863798]: $13.225.226.203
Aug 20 15:16:14 lab-migw bash[863798]:
^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863798]: get element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863798]: Evaluate symbol
Aug 20 15:16:14 lab-migw bash[863798]: $13.225.226.203
Aug 20 15:16:14 lab-migw bash[863798]:
^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863798]: get element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863798]: Evaluate set element
Aug 20 15:16:14 lab-migw bash[863798]: { $13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863798]:
^^^^^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863798]: get element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863798]: Evaluate set
Aug 20 15:16:14 lab-migw bash[863798]:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 20 15:16:14 lab-migw bash[863798]: get element inet filter report_cb_4 {
13.225.226.203 }
Aug 20 15:16:14 lab-migw bash[863798]: Evaluate get
--
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/20200820/27d462ff/attachment.html>
More information about the netfilter-buglog
mailing list