Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nft commands:
- -----
- % nft add table my_filter_table
- % nft add chain my_filter_table my_input_chain {type filter hook input priority 0\;}
- % nft add set my_filter_table my_ssh_meter { type ipv4_addr\; flags dynamic \;}
- % nft add rule my_filter_table my_input_chain tcp dport 22 ct state new add @my_ssh_meter { ip saddr limit rate 10/second } accept
- Error:
- ---
- Error: syntax error, unexpected saddr, expecting comma or '}'
- add rule filter input tcp dport 22 ct state new @my_ssh_meter { ip saddr limit rate 10/second } accept
- ^^^^^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement