fangfrisch 1.9.0.dev1__tar.gz → 1.9.0.dev2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fangfrisch-1.9.0.dev1/fangfrisch.egg-info → fangfrisch-1.9.0.dev2}/PKG-INFO +1 -1
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/docs/combined.conf +18 -1
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/docs/example.conf +3 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/docs/fangfrisch.adoc +13 -8
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/docs/fangfrisch.pdf +2431 -1959
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/docs/index.html +69 -15
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/docs/internal.conf +17 -1
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/docs/usage.txt +1 -1
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/fangfrisch/__init__.py +1 -1
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/fangfrisch/config/config.py +8 -1
- fangfrisch-1.9.0.dev2/fangfrisch/config/interserver.py +39 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2/fangfrisch.egg-info}/PKG-INFO +1 -1
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/fangfrisch.egg-info/SOURCES.txt +1 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/setup.cfg +1 -1
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/LICENSE +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/MANIFEST.in +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/README.rst +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/docs/Makefile +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/fangfrisch/__main__.py +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/fangfrisch/config/__init__.py +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/fangfrisch/config/malwarepatrol.py +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/fangfrisch/config/sanesecurity.py +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/fangfrisch/config/securiteinfo.py +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/fangfrisch/config/urlhaus.py +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/fangfrisch/db.py +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/fangfrisch/download.py +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/fangfrisch/dump.py +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/fangfrisch/log.py +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/fangfrisch/refresh.py +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/fangfrisch/util.py +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/fangfrisch.egg-info/dependency_links.txt +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/fangfrisch.egg-info/entry_points.txt +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/fangfrisch.egg-info/requires.txt +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/fangfrisch.egg-info/top_level.txt +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/pyproject.toml +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/tests/test_config.py +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/tests/test_db.py +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/tests/test_download.py +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/tests/test_dump.py +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/tests/test_log.py +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/tests/test_refresh.py +0 -0
- {fangfrisch-1.9.0.dev1 → fangfrisch-1.9.0.dev2}/tests/test_util.py +0 -0
|
@@ -10,6 +10,21 @@ local_directory = /var/lib/clamav
|
|
|
10
10
|
on_update_exec = clamdscan --reload
|
|
11
11
|
on_update_timeout = 42
|
|
12
12
|
|
|
13
|
+
[interserver]
|
|
14
|
+
interval = 1h
|
|
15
|
+
integrity_check = disabled
|
|
16
|
+
max_size = 5MB
|
|
17
|
+
prefix = http://sigs.interserver.net/
|
|
18
|
+
!url_shell_hdb = ${prefix}shell.hdb
|
|
19
|
+
!url_shellb_db = ${prefix}shellb.db
|
|
20
|
+
url_interserver256 = ${prefix}interserver256.hdb
|
|
21
|
+
url_shell_ldb = ${prefix}shell.ldb
|
|
22
|
+
filename_shell_ldb = interservershell.ldb
|
|
23
|
+
url_topline = ${prefix}interservertopline.db
|
|
24
|
+
url_whitelist_fp = ${prefix}whitelist.fp
|
|
25
|
+
filename_whitelist_fp = interserverwhitelist.fp
|
|
26
|
+
enabled = yes
|
|
27
|
+
|
|
13
28
|
[malwarepatrol]
|
|
14
29
|
interval = 1d
|
|
15
30
|
integrity_check = disabled
|
|
@@ -78,7 +93,8 @@ prefix = https://www.securiteinfo.com/get/signatures/${customer_id}/
|
|
|
78
93
|
!url_0hour = ${prefix}securiteinfo0hour.hdb
|
|
79
94
|
!url_old = ${prefix}securiteinfoold.hdb
|
|
80
95
|
!url_securiteinfo_mdb = ${prefix}securiteinfo.mdb
|
|
81
|
-
!
|
|
96
|
+
!url_securiteinfo_pdb = ${prefix}securiteinfo.pdb
|
|
97
|
+
!url_securiteinfo_yara = ${prefix}securiteinfo.yara
|
|
82
98
|
url_android = ${prefix}securiteinfoandroid.hdb
|
|
83
99
|
url_ascii = ${prefix}securiteinfoascii.hdb
|
|
84
100
|
url_html = ${prefix}securiteinfohtml.hdb
|
|
@@ -86,6 +102,7 @@ url_javascript = ${prefix}javascript.ndb
|
|
|
86
102
|
url_pdf = ${prefix}securiteinfopdf.hdb
|
|
87
103
|
url_securiteinfo = ${prefix}securiteinfo.hdb
|
|
88
104
|
url_securiteinfo_ign2 = ${prefix}securiteinfo.ign2
|
|
105
|
+
url_spam_marketing = ${prefix}spam_marketing.ndb
|
|
89
106
|
enabled = yes
|
|
90
107
|
|
|
91
108
|
[urlhaus]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Fangfrisch
|
|
2
2
|
Ralph Seichter <fangfrisch@seichter.de>
|
|
3
|
-
v1.9.0.
|
|
3
|
+
v1.9.0.dev2, {docdate}
|
|
4
4
|
:copyright: © 2020-2024 Ralph Seichter
|
|
5
5
|
:encoding: UTF-8
|
|
6
6
|
:hyphens: en
|
|
@@ -166,15 +166,19 @@ See https://docs.python.org/3.7/library/configparser.html[here] for details abou
|
|
|
166
166
|
|
|
167
167
|
=== Default providers
|
|
168
168
|
|
|
169
|
-
Fangfrisch contains internal defaults for the following providers
|
|
169
|
+
Fangfrisch contains internal defaults for the following providers, listed in alphabetical order:
|
|
170
170
|
|
|
171
|
+
* http://sigs.interserver.net/[InterServer]
|
|
171
172
|
* https://www.malwarepatrol.net[Malwarepatrol]
|
|
172
173
|
* https://sanesecurity.com[Sanesecurity]
|
|
173
174
|
* https://www.securiteinfo.com/services/anti-spam-anti-virus/improve-detection-rate-of-zero-day-malwares-for-clamav.shtml[SecuriteInfo]
|
|
174
175
|
* https://urlhaus.abuse.ch[URLhaus]
|
|
175
176
|
|
|
176
|
-
|
|
177
|
-
|
|
177
|
+
Providers can be enabled by specifiying `enabled = yes` in the desired configuration file sections.
|
|
178
|
+
|
|
179
|
+
IMPORTANT: Please make sure to examine the respective settings for yourself before enabling providers.
|
|
180
|
+
|
|
181
|
+
The defaults may not suit your personal preferences, and some providers require additional configuration, e.g. an access token.
|
|
178
182
|
|
|
179
183
|
----
|
|
180
184
|
include::example.conf[]
|
|
@@ -271,7 +275,7 @@ An example crontab looks like this:
|
|
|
271
275
|
HOME=/var/lib/fangfrisch
|
|
272
276
|
LOG_LEVEL=INFO
|
|
273
277
|
# minute hour day-of-month month day-of-week user command
|
|
274
|
-
*/10 * * * * clamav venv/bin/fangfrisch --conf /etc/fangfrisch.conf refresh
|
|
278
|
+
*/10 * * * * clamav sleep $((RANDOM \% 42)); venv/bin/fangfrisch --conf /etc/fangfrisch.conf refresh
|
|
275
279
|
----
|
|
276
280
|
|
|
277
281
|
== Support
|
|
@@ -330,8 +334,10 @@ See Heather McNamee's blog https://about.gitlab.com/blog/2016/03/03/start-with-a
|
|
|
330
334
|
== Default configuration
|
|
331
335
|
|
|
332
336
|
Fangfrisch contains the following internal configuration settings as defaults.
|
|
333
|
-
|
|
334
|
-
|
|
337
|
+
As a safety measure, all sections are disabled by default.
|
|
338
|
+
Entries with the `!url_` prefix are included for reference only.
|
|
339
|
+
These represent data sources which are not recommended for general use.
|
|
340
|
+
Possible reasons: Some sources have an elevated risk of false positives, are not free to use, or contain legacy data.
|
|
335
341
|
Enabling a section will not enable these specially prefixed entries.
|
|
336
342
|
|
|
337
343
|
----
|
|
@@ -354,7 +360,6 @@ include::combined.conf[]
|
|
|
354
360
|
|
|
355
361
|
While users can technically access the Fangfrisch backend database directly, its structure and content are considered *private*.
|
|
356
362
|
They may change at any time, without notice.
|
|
357
|
-
Related complaints will be filed under https://en.wikipedia.org/wiki/Somebody_else%27s_problem[SEP].
|
|
358
363
|
|
|
359
364
|
=== Accessing mappings
|
|
360
365
|
|