/
.PyFunceble_production.yaml
338 lines (261 loc) · 8.16 KB
/
.PyFunceble_production.yaml
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
debug:
# Provides everything related to the debug mode.
# Activates the debug/logging.
active: False
# Sets the logging level.
level: info
cli_decoding:
# Provides everything related to the decoding from the CLI.
# Activates the aggressive decoding.
adblock_aggressive: False
# Activates the decoding using the adblock decoder.
adblock: False
# Activates the decoding using the RPZ decoder.
rpz: False
# Activated the decoding using the Wildcard decoder.
wildcard: False
cli_testing:
# Provides everything directly related to the CLI testing.
# Sets the Hosts IP to use while generation the hosts file(s)
hosts_ip: "0.0.0.0"
# Sets the number of maximal workers to use.
# If set to null, the system use: CPU * Cores - 2
max_workers: null
# Activates the automatic continuation after a break or shortage.
autocontinue: False
# Activates the storage and creation of a database of all INACTIVA and INVALID
# subjects for continuous testing.
inactive_db: True
# Activates the storage of some WHOIS information in order to avoid having
# to spam the WHOIS servers.
whois_db: True
# Activates the generation of complements.
complements: False
# Activates the expansion of CIDR to single addresses.
cidr_expand: False
# Sets the cooldown time to apply between each tests.
cooldown_time: 0.0
# Sets the Database Connector type to use.
# Available: csv | mariadb | mysql
db_type: csv
# Sets the filter to apply while reading the given input.
# For example, if you give `\.info`, we will only test the subjects who match
# `\.info`.
file_filter: null
# Activates the mining of data.
mining: False
# Acknowledges that we may test for local network component.
# NOTE: Activating this, will remove the syntax checker completely.
local_network: False
# Activates or disable the preloading of the given input file(s).
# When this is activated, we take the time to pre load and decode the content
# of your file so that we can optimize some of our process regarding the
# auto continue.
#
# Note: This has no effect if the auto-continue is deactivated.
preload_file: False
ci:
# Provides everything related to the Continuous integration.
# Activates the continuous integration mode.
# WARNING: Do not activate without asking or knowing what you are doing.
active: False
# Sets the commit message to apply everytime except for the last one.
commit_message: "PyFunceble - AutoSave"
# Sets the commit message to apply at the very end of the test.
end_commit_message: "PyFunceble - Results"
# Sets the number of minutes to wait before starting to save and stop
# a session.
max_exec_minutes: 15
# Sets the working branch. This is the branch from where we are testing.
branch: master
# Sets the distribution branch. This is the branch that is going to get
# the (final) results.
distribution_branch: master
# Sets the command to execute everytime before each commits except the last
# one.
command: null
# Sets the command to execute before the last commit.
end_command: null
display_mode:
# Provides everything related to the display mode.
# Activates the printing of dots.
dots: False
# Activates the printing of the execution time.
execution_time: False
# Activates the output of the percentage information.
percentage: True
# Activates the quiet mode.
quiet: False
# Activates the output of very few information.
less: True
# Activates the output of all information.
all: False
# Activates the output of the status and it's status (only)
simple: False
# Activates the coloration of stdout.
colour: True
# Sets the status do display to STDOUT.
# NOTE: This does not have any effect with the generated files.
# Available values: ALL | ACTIVE | INACTIVE | INVALID | SANE | MALICIOUS
status: all
testing_mode:
# Provides all available testing modes.
# WARNING: Only one can be used at a time.
# Activates the availability test.
availability: True
# Activates the syntax test.
syntax: False
# Activates the reputation test.
reputation: False
days_between:
# Provides everything which is x days periodic.
# NOT IMPLEMENTED (Anticipation for future usage).
db_clean: 28
# Provides the number of days to wait before retesting subject which were
# stored into the inactive database.
db_retest: 1
sorting_mode:
# Provides all our sorting mode.
# WARNING: The sorting mode is only applied to the files. NOT STDOUT.
# Activates the hierarchical sorting.
hierarchical: False
# Activates the standard sorting.
standard: True
file_generation:
# Provides everything related to the generation of file.
# Deactivates the generation of any status file.
no_file: False
# Activates the generation of the hosts file(s).
hosts: False
# Activates the generation of the plain (or raw) file(s).
plain: True
# Activates the generation of the analytic file(s).
analytic: True
# Activate the generation of an unified file for the copy of what is
# outputted to STDOUT.
unified_results: False
lookup:
# Provides everything related to the lookup.
# Activates the usage of the DNS lookup.
dns: True
# Activates the usage of the HTTP status code lookup.
http_status_code: True
# Activates the usage of the network information socket.
netinfo: True
# Activates the usage of our special rules.
special: True
# Activates the usage of the WHOIS record.
whois: True
# Activates the usage of the reputation data reputation.
reputation: False
# Sets the timeout to apply to each of our lookup tools who support a timeout
# option.
timeout: 5
dns:
# Provides everything related to the DNS lookup.
# Activates the follow-up of the given order.
follow_server_order: true
# Activates the trust mode. Meaning that if one of the DNS give us a negative
# response (without error), we take it as it is.
# When this mode is deactivated (false), when one of the DNS give us a negative
# response (without error), we still ask all other servers.
trust_server: false
# Sets the list of server to communicate with.
# It must be a list.
# As example:
# - first.dns
# - second.dns
#
server: null
# Sets the protocol to use.
# Available: UDP | TCP | HTTPS | TLS
protocol: UDP
# Not Implemented yet. Reserved for future usage and implementation.
share_logs: False
user_agent:
# Provides everything related to the user agent choice.
# Note:
# Please report to https://git.io/JLWe5 for more insight about the
# browser and platform available..
browser: chrome
platform: linux
# Sets the user agent to use.
# WARNING: If given, this will be used systematically.
custom: null
# Activates the verification of the certificate.
verify_ssl_certificate: False
http_codes:
# Provides everything related to the HTTP code lookup interpretation.
# Informs PyFunceble that the end-user (not PyFunceble) is managing this list.
# This means that you won't get any update in this section.
self_managed: False
list:
up:
- 100
- 101
- 102
- 200
- 201
- 202
- 203
- 204
- 205
- 206
- 207
- 208
- 226
- 429
potentially_down:
- 400
- 402
- 404
- 409
- 410
- 412
- 414
- 415
- 416
- 451
potentially_up:
- 000
- 300
- 301
- 302
- 303
- 304
- 305
- 307
- 308
- 403
- 405
- 406
- 407
- 408
- 411
- 413
- 417
- 418
- 421
- 422
- 423
- 424
- 426
- 428
- 431
- 500
- 501
- 502
- 503
- 504
- 505
- 506
- 507
- 508
- 510
- 511
links:
# Provides some of our API links.
# NOTE: Not implemented yet as the underlaying infrastructure will be
# rewritten.
api_date_format: "https://pyfunceble.funilrys.com/api/date-format"
api_no_referrer: "https://pyfunceble.funilrys.com/api/no-referrer"