2023-04-30 21:27:42 +00:00
|
|
|
blocklist_instance_sources = [
|
|
|
|
{ domain = 'mastodon.social' },
|
|
|
|
{ domain = 'mastodon.online' },
|
|
|
|
]
|
|
|
|
|
|
|
|
blocklist_url_sources = [
|
|
|
|
# tier 0
|
|
|
|
{ url = 'https://seirdy.one/pb/tier0.csv', format = 'csv'},
|
2025-01-18 01:01:27 +00:00
|
|
|
{ url = 'https://raw.githubusercontent.com/gardenfence/blocklist/main/gardenfence-fediblocksync.csv', format = 'csv'}
|
2023-04-30 21:27:42 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
allowlist_url_sources = [
|
2023-05-01 00:18:07 +00:00
|
|
|
{ url = 'file:///opt/fediblockhole/blocklists/__allowlist.csv', format = 'csv' },
|
2023-04-30 21:27:42 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
# List of instances to write blocklist to
|
|
|
|
blocklist_instance_destinations = [
|
|
|
|
# { domain = 'eigenmagic.net', token = '<read_write_token>', max_followed_severity = 'silence'},
|
|
|
|
]
|
|
|
|
|
|
|
|
## Store a local copy of the remote blocklists after we fetch them
|
|
|
|
save_intermediate = true
|
|
|
|
|
|
|
|
## Directory to store the local blocklist copies
|
2023-05-01 00:18:07 +00:00
|
|
|
savedir = '/opt/fediblockhole/blocklists/'
|
2023-04-30 21:27:42 +00:00
|
|
|
|
|
|
|
## File to save the fully merged blocklist into
|
2023-05-01 00:18:07 +00:00
|
|
|
blocklist_savefile = '/opt/fediblockhole/blocklists/_unified_max_blocklist.csv'
|
2023-04-30 21:27:42 +00:00
|
|
|
|
|
|
|
## Don't push blocklist to instances, even if they're defined above
|
|
|
|
no_push_instance = true
|
|
|
|
|
|
|
|
## Don't fetch blocklists from URLs, even if they're defined above
|
|
|
|
# no_fetch_url = false
|
|
|
|
|
|
|
|
## Don't fetch blocklists from instances, even if they're defined above
|
|
|
|
# no_fetch_instance = false
|
|
|
|
|
|
|
|
## Set the mergeplan to use when dealing with overlaps between blocklists
|
|
|
|
# The default 'max' mergeplan will use the harshest severity block found for a domain.
|
|
|
|
# The 'min' mergeplan will use the lightest severity block found for a domain.
|
|
|
|
mergeplan = 'max'
|
|
|
|
|
2025-01-13 04:29:47 +00:00
|
|
|
|
2023-04-30 21:27:42 +00:00
|
|
|
## Set which fields we import
|
|
|
|
## 'domain' and 'severity' are always imported, these are additional
|
|
|
|
##
|
2025-01-13 04:29:47 +00:00
|
|
|
#import_fields = ['obfuscate']
|
|
|
|
import_fields = ['public_comment', 'obfuscate']
|
2023-04-30 21:27:42 +00:00
|
|
|
|
|
|
|
## Set which fields we export
|
|
|
|
## 'domain' and 'severity' are always exported, these are additional
|
|
|
|
##
|
|
|
|
export_fields = ['reject_media', 'reject_reports', 'public_comment', 'obfuscate']
|
2025-01-13 04:29:47 +00:00
|
|
|
|
|
|
|
|