gitea: Blacklist spammer.
This commit is contained in:
parent
02e46e5bcf
commit
aa55da5c62
|
@ -15,4 +15,8 @@
|
|||
61386535353635386339383731323464323135366362613734393833386632393166393261373433
|
||||
61363664376330343465656431316163396533326634643636326537383032323636
|
||||
|
||||
nft_deny_list: |
|
||||
ip saddr 122.161.48.24 counter drop
|
||||
|
||||
|
||||
roles: [common, gitea]
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
|
||||
nft_extra: ""
|
||||
nft_deny_list: ""
|
||||
|
|
|
@ -61,6 +61,7 @@
|
|||
ct state established,related accept
|
||||
icmp type echo-request counter accept
|
||||
icmpv6 type echo-request counter accept
|
||||
{{ nft_deny_list }}
|
||||
ip saddr $V4_NEIGHBORS accept
|
||||
ip6 saddr $V6_NEIGHBORS accept
|
||||
|
||||
|
|
Loading…
Reference in New Issue