Can someone please review my latest wiki update
Hi,
For those who contribute to the wiki:
I updated https://wiki.nftables.org/wiki-nftables/index.php/Flow_tables section "Doing iptables hashlimit with nft" in light of trying the examples.
There's more in the associated discussion page,
Cheers ... Duncan.
Pablo Neira Ayuso
maintainerHi Duncan,
Quoted 8 lines · Duncan Roe
Hi,
For those who contribute to the wiki:
I updated https://wiki.nftables.org/wiki-nftables/index.php/Flow_tables section "Doing iptables hashlimit with nft" in light of trying the examples.
There's more in the associated discussion page,
"Notice also that the translator defaults --hashlimit-htable-expire and --hashlimit-burst to 1000 milliseconds and 5 packets respectively so ''timeout 1s'' and ''burst 5 packets'' are inserted. You may remove either or both of these if you wish."
I think we can just skip printing default values in the translation, I mean, we can "fix" the translation instead.
BTW, this reminds me we should also expose the missing options such as hashlimit-htable-max and hashlimit-htable-gcinterval, those can be exposed too, it just needs some code in nft, I'll add this to my TODO list.
Let us know, thanks for reviewing documentation!
Hi Pablo,
Quoted 21 lines · Pablo Neira Ayuso
Hi Duncan,
Quoted 9 lines · Duncan Roe
Hi,
For those who contribute to the wiki:
I updated
https://wiki.nftables.org/wiki-nftables/index.php/Flow_tables section "Doing iptables hashlimit with nft" in light of trying the examples.There's more in the associated discussion page,
"Notice also that the translator defaults --hashlimit-htable-expire and --hashlimit-burst to 1000 milliseconds and 5 packets respectively so ''timeout 1s'' and ''burst 5 packets'' are inserted. You may remove either or both of these if you wish."
I think we can just skip printing default values in the translation, I mean, we can "fix" the translation instead.
Quoted 6 lines
BTW, this reminds me we should also expose the missing options such as hashlimit-htable-max and hashlimit-htable-gcinterval, those can be exposed too, it just needs some code in nft, I'll add this to my TODO list.
Let us know, thanks for reviewing documentation!
Since there's a patch in the works to fix these spurious defaults, would you mind if I just left it until the fix is committed?
Cheers ... Duncan.
Pablo Neira Ayuso
maintainerQuoted 29 lines · Duncan Roe
Hi Pablo,
Quoted 26 lines · Pablo Neira Ayuso
Hi Duncan,
Quoted 9 lines · Duncan Roe
Hi,
For those who contribute to the wiki:
I updated
https://wiki.nftables.org/wiki-nftables/index.php/Flow_tables section "Doing iptables hashlimit with nft" in light of trying the examples.There's more in the associated discussion page,
"Notice also that the translator defaults --hashlimit-htable-expire and --hashlimit-burst to 1000 milliseconds and 5 packets respectively so ''timeout 1s'' and ''burst 5 packets'' are inserted. You may remove either or both of these if you wish."
I think we can just skip printing default values in the translation, I mean, we can "fix" the translation instead.
BTW, this reminds me we should also expose the missing options such as hashlimit-htable-max and hashlimit-htable-gcinterval, those can be exposed too, it just needs some code in nft, I'll add this to my TODO list.
Quoted 4 lines
Quoted 1 line
Let us know, thanks for reviewing documentation!
Since there's a patch in the works to fix these spurious defaults, would you mind if I just left it until the fix is committed?
No problem.