Re: set with limit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dňa 19. 11. o 19:00 Slavko napísal(a):
On 19. novembra 2024 16:06:17 UTC, Florian Westphal <fw@xxxxxxxxx> wrote:

Looks like 5.10 is too old, listing should show limit expression was
attached, i.e.:

Thanks, i will try with meter tomorrow...

Yes, with meter it works:

    nft list meter inet filter base_log4
    table inet filter {
        meter base_log4 {
                type ipv4_addr
                size 65535
                flags dynamic,timeout
                elements = { 10.60.65.78 limit rate 1/minute burst 2
                             packets timeout 1h expires 59m58s208ms }
        }
    }

thanks again.

--
Slavko
https://www.slavino.sk/





[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux