Skip to contentSkip to conversation

Can someone please review my latest wiki update

RFC Duncan Roe 2 participants 4 messages Dec 16, 2017 – Dec 27, 2017 netfilter

lore
Share & tools
lore
#1 lore raw

Hi 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!

author
#2 lore raw

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.

#3 lore raw
Quoted 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.