-
Notifications
You must be signed in to change notification settings - Fork 4
/
gudgeon-slim.yml
58 lines (51 loc) · 1.88 KB
/
gudgeon-slim.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
# ====================================================================
# Minimal configuration for speed/size (mips, low memory arm)
# ====================================================================
gudgeon:
home: ./.gudgeon/
storage:
# using the hash32 storage is small (only 32bits per entry) and
# is faster than the memory-based solution but you lose the
# ability to see the actual matched rule. this is a good trade
# off for embedded systems or other areas where memory is at a
# premium. There is also a chance for false positivies but
# it should be fairly low... to offset that you can use "complex"
# rules in a whitelist. (Non-complex rules would have the same
# false positive issue.)
rules: "hash32"
# disabling the cache means not storing results locally but it
# does mean that you have to reach out to the source each time
# depending on your memory needs and query storage this can save
# a fair amount
cache: false
network:
tcp: true
udp: true
interfaces:
- ip: 0.0.0.0
port: 5354
# since we're disabling the query log and metrics there isn't
# anything for the web ui to do, really, so we disable it
web:
enabled: false
# the query log uses cycles, memory, and disk space
query_log:
enabled: false
# the metrics storage uses cycles, memory, and disk space
metrics:
enabled: false
# use google resolvers
resolvers:
- name: default
sources:
- 8.8.8.8
- 8.8.4.4
# reducing the number of lists helps but since the hash storage scales
# pretty well you can use more lists if required. the hash32 uses 32bits
# for each rule plus some overhead.
lists:
- name: stephen's black list
src: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
- name: disconnect.me ads
src: https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt