<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.nftables.org/wiki-nftables/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dlakeland</id>
	<title>nftables wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.nftables.org/wiki-nftables/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dlakeland"/>
	<link rel="alternate" type="text/html" href="http://wiki.nftables.org/wiki-nftables/index.php/Special:Contributions/Dlakeland"/>
	<updated>2026-05-12T12:47:20Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>http://wiki.nftables.org/wiki-nftables/index.php?title=Stateful_objects&amp;diff=358</id>
		<title>Stateful objects</title>
		<link rel="alternate" type="text/html" href="http://wiki.nftables.org/wiki-nftables/index.php?title=Stateful_objects&amp;diff=358"/>
		<updated>2019-01-10T17:55:57Z</updated>

		<summary type="html">&lt;p&gt;Dlakeland: /* Resetting stateful objects */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Since Linux Kernel 4.10 and nft v0.8 nftables supports stateful objects.&lt;br /&gt;
&lt;br /&gt;
Stateful objects group stateful information of rules, the supported types are: counters and quotas. Stateful objects are attached to tables and have a unique name, defined by the user.&lt;br /&gt;
&lt;br /&gt;
= Creating stateful objects =&lt;br /&gt;
&lt;br /&gt;
You can create a counter with the command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft add table filter&lt;br /&gt;
% nft add counter filter https-traffic&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These rules create a table named &#039;&#039;filter&#039;&#039;, then a counter named &#039;&#039;https-traffic&#039;&#039; and attaches it to &#039;&#039;filter&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Creating a quota is similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft add quota filter https-quota 25 mbytes&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A quota named &#039;&#039;https-quota&#039;&#039; is attached to the table &#039;&#039;filter&#039;&#039;, notice that you must specify the quota&#039;s size on creation.&lt;br /&gt;
&lt;br /&gt;
= Referencing stateful objects in rules =&lt;br /&gt;
&lt;br /&gt;
Stateful objects are referenced in rules by their names. They act as both actions and in the case of quotas also matches the simplest way is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft add chain filter output { type filter hook output priority 0 \; }&lt;br /&gt;
% nft add rule filter output tcp dport https counter name https-traffic&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These rules create a chain named &#039;&#039;output&#039;&#039; in the table &#039;&#039;filter&#039;&#039;, then a rule to counter the &#039;&#039;https&#039;&#039; packets generated by your machine and display them in the counter &#039;&#039;https-traffic&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
They can also be used with maps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft add rule filter output counter name tcp dport map { \&lt;br /&gt;
          https : &amp;quot;https-traffic&amp;quot;, \&lt;br /&gt;
          80 : &amp;quot;http-traffic&amp;quot;, \&lt;br /&gt;
          25 : &amp;quot;foo-counter&amp;quot;, \&lt;br /&gt;
          50 : &amp;quot;foo-counter&amp;quot;, \&lt;br /&gt;
          107 : &amp;quot;foo-counter&amp;quot; \&lt;br /&gt;
  }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, dynamic maps can be used:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft add map filter ports { type inet_service : quota \; }&lt;br /&gt;
% nft add rule filter output quota name tcp dport map @ports&lt;br /&gt;
% nft add quota filter http-quota over 25 mbytes&lt;br /&gt;
% nft add quota filter ssh-quota 10 kbytes&lt;br /&gt;
% nft add element filter ports { 80 : &amp;quot;http-quota&amp;quot; }&lt;br /&gt;
% nft add element filter ports { 22 : &amp;quot;ssh-quota&amp;quot; }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When using quotas, the packet will be counted towards the quota, and if the quota matches (either up-to or over depending on quota type) the remaining actions will take place, otherwise not.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
table inet foo {&lt;br /&gt;
   quota example { over 100 mbytes used 0 bytes }&lt;br /&gt;
&lt;br /&gt;
   chain dropafterquota { &lt;br /&gt;
      type filter hook postrouting priority 0; policy accept;&lt;br /&gt;
      udp port 5060 quota name &amp;quot;example&amp;quot; drop&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will count all udp port 5060 packets towards the quota and drop all packets once the quota hits its &amp;quot;over 100 mbytes&amp;quot; threshold.&lt;br /&gt;
&lt;br /&gt;
= Listing stateful objects =&lt;br /&gt;
&lt;br /&gt;
You can list the stateful information of objects individually via:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft list counter filter https-traffic&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, it&#039;s possible to list all stateful objects of the same type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft list quotas&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And list all stateful objects of a type in a table:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft list counters table filter&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Resetting stateful objects =&lt;br /&gt;
&lt;br /&gt;
Resetting an object will atomically dump and reset its content:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft reset quota filter https-quota&lt;br /&gt;
table ip filter {&lt;br /&gt;
	quota https-quota {&lt;br /&gt;
		25 mbytes used 217 kbytes&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
% nft list quota filter https-quota&lt;br /&gt;
table ip filter {&lt;br /&gt;
	quota https-quota {&lt;br /&gt;
		25 mbytes&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Other usages are similar to the command list, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft reset counters&lt;br /&gt;
% nft reset quotas table filter&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At the moment (Jan 2019) resetting quotas does not reset anonymous quotas such as used in rules without names, see [https://bugzilla.netfilter.org/show_bug.cgi?id=1314 bug #1314]&lt;/div&gt;</summary>
		<author><name>Dlakeland</name></author>
	</entry>
	<entry>
		<id>http://wiki.nftables.org/wiki-nftables/index.php?title=Stateful_objects&amp;diff=357</id>
		<title>Stateful objects</title>
		<link rel="alternate" type="text/html" href="http://wiki.nftables.org/wiki-nftables/index.php?title=Stateful_objects&amp;diff=357"/>
		<updated>2019-01-10T17:46:42Z</updated>

		<summary type="html">&lt;p&gt;Dlakeland: /* Referencing stateful objects in rules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Since Linux Kernel 4.10 and nft v0.8 nftables supports stateful objects.&lt;br /&gt;
&lt;br /&gt;
Stateful objects group stateful information of rules, the supported types are: counters and quotas. Stateful objects are attached to tables and have a unique name, defined by the user.&lt;br /&gt;
&lt;br /&gt;
= Creating stateful objects =&lt;br /&gt;
&lt;br /&gt;
You can create a counter with the command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft add table filter&lt;br /&gt;
% nft add counter filter https-traffic&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These rules create a table named &#039;&#039;filter&#039;&#039;, then a counter named &#039;&#039;https-traffic&#039;&#039; and attaches it to &#039;&#039;filter&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Creating a quota is similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft add quota filter https-quota 25 mbytes&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A quota named &#039;&#039;https-quota&#039;&#039; is attached to the table &#039;&#039;filter&#039;&#039;, notice that you must specify the quota&#039;s size on creation.&lt;br /&gt;
&lt;br /&gt;
= Referencing stateful objects in rules =&lt;br /&gt;
&lt;br /&gt;
Stateful objects are referenced in rules by their names. They act as both actions and in the case of quotas also matches the simplest way is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft add chain filter output { type filter hook output priority 0 \; }&lt;br /&gt;
% nft add rule filter output tcp dport https counter name https-traffic&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These rules create a chain named &#039;&#039;output&#039;&#039; in the table &#039;&#039;filter&#039;&#039;, then a rule to counter the &#039;&#039;https&#039;&#039; packets generated by your machine and display them in the counter &#039;&#039;https-traffic&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
They can also be used with maps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft add rule filter output counter name tcp dport map { \&lt;br /&gt;
          https : &amp;quot;https-traffic&amp;quot;, \&lt;br /&gt;
          80 : &amp;quot;http-traffic&amp;quot;, \&lt;br /&gt;
          25 : &amp;quot;foo-counter&amp;quot;, \&lt;br /&gt;
          50 : &amp;quot;foo-counter&amp;quot;, \&lt;br /&gt;
          107 : &amp;quot;foo-counter&amp;quot; \&lt;br /&gt;
  }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, dynamic maps can be used:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft add map filter ports { type inet_service : quota \; }&lt;br /&gt;
% nft add rule filter output quota name tcp dport map @ports&lt;br /&gt;
% nft add quota filter http-quota over 25 mbytes&lt;br /&gt;
% nft add quota filter ssh-quota 10 kbytes&lt;br /&gt;
% nft add element filter ports { 80 : &amp;quot;http-quota&amp;quot; }&lt;br /&gt;
% nft add element filter ports { 22 : &amp;quot;ssh-quota&amp;quot; }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When using quotas, the packet will be counted towards the quota, and if the quota matches (either up-to or over depending on quota type) the remaining actions will take place, otherwise not.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
table inet foo {&lt;br /&gt;
   quota example { over 100 mbytes used 0 bytes }&lt;br /&gt;
&lt;br /&gt;
   chain dropafterquota { &lt;br /&gt;
      type filter hook postrouting priority 0; policy accept;&lt;br /&gt;
      udp port 5060 quota name &amp;quot;example&amp;quot; drop&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will count all udp port 5060 packets towards the quota and drop all packets once the quota hits its &amp;quot;over 100 mbytes&amp;quot; threshold.&lt;br /&gt;
&lt;br /&gt;
= Listing stateful objects =&lt;br /&gt;
&lt;br /&gt;
You can list the stateful information of objects individually via:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft list counter filter https-traffic&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, it&#039;s possible to list all stateful objects of the same type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft list quotas&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And list all stateful objects of a type in a table:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft list counters table filter&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Resetting stateful objects =&lt;br /&gt;
&lt;br /&gt;
Resetting an object will atomically dump and reset its content:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft reset quota filter https-quota&lt;br /&gt;
table ip filter {&lt;br /&gt;
	quota https-quota {&lt;br /&gt;
		25 mbytes used 217 kbytes&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
% nft list quota filter https-quota&lt;br /&gt;
table ip filter {&lt;br /&gt;
	quota https-quota {&lt;br /&gt;
		25 mbytes&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Other usages are similar to the command list, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft reset counters&lt;br /&gt;
% nft reset quotas table filter&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dlakeland</name></author>
	</entry>
	<entry>
		<id>http://wiki.nftables.org/wiki-nftables/index.php?title=Stateful_objects&amp;diff=356</id>
		<title>Stateful objects</title>
		<link rel="alternate" type="text/html" href="http://wiki.nftables.org/wiki-nftables/index.php?title=Stateful_objects&amp;diff=356"/>
		<updated>2019-01-10T17:40:23Z</updated>

		<summary type="html">&lt;p&gt;Dlakeland: /* Referencing stateful objects in rules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Since Linux Kernel 4.10 and nft v0.8 nftables supports stateful objects.&lt;br /&gt;
&lt;br /&gt;
Stateful objects group stateful information of rules, the supported types are: counters and quotas. Stateful objects are attached to tables and have a unique name, defined by the user.&lt;br /&gt;
&lt;br /&gt;
= Creating stateful objects =&lt;br /&gt;
&lt;br /&gt;
You can create a counter with the command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft add table filter&lt;br /&gt;
% nft add counter filter https-traffic&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These rules create a table named &#039;&#039;filter&#039;&#039;, then a counter named &#039;&#039;https-traffic&#039;&#039; and attaches it to &#039;&#039;filter&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Creating a quota is similar:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft add quota filter https-quota 25 mbytes&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A quota named &#039;&#039;https-quota&#039;&#039; is attached to the table &#039;&#039;filter&#039;&#039;, notice that you must specify the quota&#039;s size on creation.&lt;br /&gt;
&lt;br /&gt;
= Referencing stateful objects in rules =&lt;br /&gt;
&lt;br /&gt;
Stateful objects are referenced in rules by their names. They act as both actions and in the case of quotas also matches the simplest way is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft add chain filter output { type filter hook output priority 0 \; }&lt;br /&gt;
% nft add rule filter output tcp dport https counter name https-traffic&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These rules create a chain named &#039;&#039;output&#039;&#039; in the table &#039;&#039;filter&#039;&#039;, then a rule to counter the &#039;&#039;https&#039;&#039; packets generated by your machine and display them in the counter &#039;&#039;https-traffic&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
They can also be used with maps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft add rule filter output counter name tcp dport map { \&lt;br /&gt;
          https : &amp;quot;https-traffic&amp;quot;, \&lt;br /&gt;
          80 : &amp;quot;http-traffic&amp;quot;, \&lt;br /&gt;
          25 : &amp;quot;foo-counter&amp;quot;, \&lt;br /&gt;
          50 : &amp;quot;foo-counter&amp;quot;, \&lt;br /&gt;
          107 : &amp;quot;foo-counter&amp;quot; \&lt;br /&gt;
  }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, dynamic maps can be used:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft add map filter ports { type inet_service : quota \; }&lt;br /&gt;
% nft add rule filter output quota name tcp dport map @ports&lt;br /&gt;
% nft add quota filter http-quota over 25 mbytes&lt;br /&gt;
% nft add quota filter ssh-quota 10 kbytes&lt;br /&gt;
% nft add element filter ports { 80 : &amp;quot;http-quota&amp;quot; }&lt;br /&gt;
% nft add element filter ports { 22 : &amp;quot;ssh-quota&amp;quot; }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When using quotas, the packet will be counted towards the quota, and if the quota matches (either up-to or over depending on quota type) the remaining actions will take place, otherwise not.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
table inet foo {&lt;br /&gt;
   quota example { over 100 mbytes used 0 bytes }&lt;br /&gt;
&lt;br /&gt;
   chain dropafterquota { &lt;br /&gt;
      type filter hook postrouting priority 0; policy accept;&lt;br /&gt;
      udp port 5060 quota example drop&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will count all udp port 5060 packets towards the quota and drop all packets once the quota hits its &amp;quot;over 100 mbytes&amp;quot; threshold.&lt;br /&gt;
&lt;br /&gt;
= Listing stateful objects =&lt;br /&gt;
&lt;br /&gt;
You can list the stateful information of objects individually via:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft list counter filter https-traffic&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also, it&#039;s possible to list all stateful objects of the same type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft list quotas&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And list all stateful objects of a type in a table:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft list counters table filter&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Resetting stateful objects =&lt;br /&gt;
&lt;br /&gt;
Resetting an object will atomically dump and reset its content:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft reset quota filter https-quota&lt;br /&gt;
table ip filter {&lt;br /&gt;
	quota https-quota {&lt;br /&gt;
		25 mbytes used 217 kbytes&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
% nft list quota filter https-quota&lt;br /&gt;
table ip filter {&lt;br /&gt;
	quota https-quota {&lt;br /&gt;
		25 mbytes&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Other usages are similar to the command list, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% nft reset counters&lt;br /&gt;
% nft reset quotas table filter&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dlakeland</name></author>
	</entry>
</feed>