/etc/rspamd/local.d/multimap.conf:
IP_WHITELIST {
type = "ip";
prefilter = true;
map = "/${LOCAL_CONFDIR}/local.d/ip_whitelist.map";
action = "accept";
| // vector.h | |
| #ifndef VECTOR_H_ | |
| #define VECTOR_H_ | |
| #include <stdint.h> | |
| #include "cexception_configured.h" | |
| #define VECTOR_GROWTH_FACTOR 2 |
| sudo openssl x509 -noout -fingerprint -md5 -inform pem -in /some/path/fullchain.pem | |
| sudo openssl x509 -noout -fingerprint -sha1 -inform pem -in /some/path/fullchain.pem | |
| sudo openssl x509 -noout -fingerprint -sha256 -inform pem -in /some/path/fullchain.pem |
| {"lastUpload":"2023-01-13T13:14:51.619Z","extensionVersion":"v3.4.3"} |
| server: | |
| interface: 0.0.0.0 | |
| interface: ::0 | |
| access-control: 192.168.42.0/24 allow | |
| access-control: 127.0.0.0 allow | |
| access-control: 2001:db8:dead:beef::/48 allow | |
| # unbound optimisation | |
| num-threads: 4 |
| server: | |
| ########################################################################### | |
| # BASIC SETTINGS | |
| ########################################################################### | |
| # Time to live maximum for RRsets and messages in the cache. If the maximum | |
| # kicks in, responses to clients still get decrementing TTLs based on the | |
| # original (larger) values. When the internal TTL expires, the cache item | |
| # has expired. Can be set lower to force the resolver to query for data | |
| # often, and not trust (very large) TTL values. | |
| cache-max-ttl: 86400 |
| var crypto = require('crypto'); | |
| // larger numbers mean better security, less | |
| var config = { | |
| // size of the generated hash | |
| hashBytes: 32, | |
| // larger salt means hashed passwords are more resistant to rainbow table, but | |
| // you get diminishing returns pretty fast | |
| saltBytes: 16, | |
| // more iterations means an attacker has to take longer to brute force an |
| for a in $(curl -qs "https://api.github.com/repos/<OWNER>/<REPO>/actions/runs" | jq -r '.workflow_runs[].id'); do curl -X DELETE -H "Accept: application/vnd.github.v3+json" -H "Authorization: token <TOKEN>" "https://api.github.com/repos/<OWNER>/<REPO>/actions/runs/$a"; done |
| # ANSI Start Codes | |
| # Styles. | |
| Normal="\x1b[0m" | |
| Bold="\x1b[1m" | |
| Faint="\x1b[2m" | |
| Italic="\x1b[3m" | |
| Underline="\x1b[4m" | |
| Blink_Slow="\x1b[5m" | |
| Blink_Rapid="\x1b[6m" |