Commit Graph

523 Commits

Author SHA1 Message Date
Ming Di Leom d5093b21f4
post(aws-waf): move usage guide to repo
- https://gitlab.com/curben/aws-scripts
2021-08-22 07:43:12 +00:00
Ming Di Leom 2a6f2ebd2a
feat(aws-config): support more rules
- consolidate into a script
2021-08-21 07:19:55 +00:00
Ming Di Leom 6545ab080e
post: aws config 2021-08-15 08:15:13 +00:00
Ming Di Leom b22baa1999
fix: move aws scripts to curben/aws-scripts repo 2021-08-15 08:06:18 +00:00
Ming Di Leom 671cafd086
fix(Caddyfile): http.reverse_proxy.upstream.host placeholder 2021-07-24 02:49:23 +00:00
Ming Di Leom bb1eed3b9e
post(caddy): remove more PII 2021-07-24 02:40:54 +00:00
Ming Di Leom 81df021f5d
post: Calculate Web ACL Capacity Unit (WCU) in AWS WAF 2021-07-23 08:00:02 +00:00
Ming Di Leom ff0dd91b8d
post(caddy): remove PII from error log
- "log" global option
- https://caddyserver.com/docs/caddyfile/options#log
- available in Caddy v2.4.0+
2021-07-16 09:16:10 +00:00
Ming Di Leom 588f65f6d4
fix: update duckduckgo v3 onion
https://teddit.net/r/duckduckgo/comments/oc07wj/news_duckduckgo_search_now_available_via_tor/
2021-07-07 11:32:52 +00:00
Ming Di Leom c59e036d12
post: remove harica file 2021-07-04 03:42:36 +00:00
Ming Di Leom 9b6993fc43
post: Get a ECDSA TLS certificate for your onion service 2021-07-04 03:39:22 +00:00
Ming Di Leom c3c8760977
post: Using custom package in a NixOS module 2021-07-02 22:51:58 +00:00
Ming Di Leom 713fe2d7be
page(about): update date 2021-06-27 11:06:36 +00:00
Ming Di Leom b8ffc84e46
page(about): title typo 2021-06-27 11:03:51 +00:00
Ming Di Leom 9b51c2ae21
page(about): no longer active in Hexo 2021-06-27 10:52:23 +00:00
Ming Di Leom 44342a0ee4
page(about): cloudflared 2021-06-27 10:51:38 +00:00
Ming Di Leom a61e612415
style: spacing 2021-06-27 07:56:44 +00:00
Ming Di Leom 54c63d1b7b
post: Convert AWS WAF ACLs to human-readable format 2021-06-27 07:53:55 +00:00
Ming Di Leom 4bc257c7e7
post(nixos): cloudflared replaced port forwarding & open inbound port 2021-06-20 07:02:48 +00:00
Ming Di Leom d72587094b
page(about): add tracking-filter 2021-06-20 06:53:03 +00:00
Ming Di Leom e7f1e1b2ff
post(free-apps): add Organic Maps, Catima, PDF Viewer
- remove defunct Yelp Store, Maps
2021-06-19 07:17:18 +00:00
Ming Di Leom 319ee042cd
post(microg): add Aurora Droid/Store, Organic Maps, Catima
- remove defunct Yelp Store, Maps
2021-06-19 07:06:02 +00:00
Ming Di Leom fff583c2b4
post(cloudflared): custom config location 2021-06-16 11:19:45 +00:00
Ming Di Leom 7c0d28e988
post(nixos): user must be assigned to a group
- otherwise the home folder will be created/assigned with "nogroup" group
2021-06-15 10:49:03 +00:00
Ming Di Leom 1e1223de2d
post: cf argo on nixos 2021-06-15 10:40:15 +00:00
Ming Di Leom 2bbe0cc629
post: nixos 21.05 upgrade note 2021-06-13 09:42:48 +00:00
Ming Di Leom 1d1bd91266
post(nixos): enable isSystemUser to disable shell 2021-06-13 09:22:57 +00:00
Ming Di Leom 365f937665
post(rsync-nixos): disable createHome to prevent reverting to chmod 700
- retain world-readable/chmod 755
2021-06-13 00:00:57 +00:00
Ming Di Leom 635ddd3f72
post(nixos): isNormalUser/isSystemUser must be set if uid is null
- https://search.nixos.org/options?channel=21.05&show=users.users.%3Cname%3E.isNormalUser&from=0&size=50&sort=relevance&query=isnormaluser
2021-06-12 08:10:26 +00:00
Ming Di Leom 8c2e000d8d
post(nixos): update syntax to 21.05
- https://nixos.org/manual/nixos/stable/release-notes.html#sec-release-21.05
2021-06-12 07:33:38 +00:00
Ming Di Leom ad4b53a5c3
fix(dedup-array): Object.fromEntries() to convert array to object 2021-06-06 07:51:33 +00:00
Ming Di Leom 413a07b646
page(about): add pup-filter 2021-05-29 03:00:16 +00:00
Ming Di Leom eebad4e608
fix(header): add sandbox CSP
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/sandbox
2021-04-26 05:00:41 +00:00
Ming Di Leom b714d9149a
post(python3-venv): mention virtualenv 2021-04-20 11:32:55 +00:00
Ming Di Leom 087efae9ac
post: python3 venv 2021-04-20 11:21:46 +00:00
Ming Di Leom c808b7ed89
post(gnu-busybox): minor correction on zip support 2021-04-20 08:46:07 +00:00
Ming Di Leom ccd0701586
post(gnu-busybox): limitation of gunzip 2021-04-19 10:32:44 +00:00
Ming Di Leom 8647a8e2c8
fix(http-headers): opt-out FLoC
- https://paramdeo.com/blog/opting-your-website-out-of-googles-floc-network
2021-04-16 05:54:38 +00:00
Ming Di Leom 776f16b0bc
fix(http-headers): Feature-Policy renamed to Permissions-Policy
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy
2021-04-14 08:54:00 +00:00
Ming Di Leom 732d467d97
post(snort-suricata): mention RPZ 2021-04-04 18:02:11 +00:00
Ming Di Leom 5256ade567
fix(markdown): ordered list's indent must have 4 spaces
- f8024eb24d/docs/demo/quickref.md (lists)
- fix table syntax
2021-04-04 17:54:45 +00:00
Ming Di Leom 4cea30e514
post(oracle-nixos): boot volume created from backup is not free 2021-04-04 17:42:51 +00:00
Ming Di Leom c4206b2f62
post: urlhaus-filter and phishing-filter available as Snort and Suricata rules 2021-03-20 03:38:35 +00:00
Ming Di Leom 0c569662a1
post(rsync-nixos): specify artifact between jobs 2021-03-15 22:51:56 +00:00
Ming Di Leom 1417d7d408
ci: after_script should only be used for cleanup
- in case of job failure
2021-03-15 11:12:54 +00:00
Ming Di Leom 28c702670f
post: "rsync is surprisingly simple to setup" 2021-03-15 07:01:43 +00:00
Ming Di Leom 77d29cec6c
post(nixos-oracle): mention NixOS-Infect
- https://github.com/elitak/nixos-infect
2021-03-15 03:02:08 +00:00
Ming Di Leom edcadaade0
about: add nitter, bibliogram, teddit darkweb links 2021-03-13 08:09:41 +00:00
Ming Di Leom a2ec3ecdd0
about(architecture): switch to file server 2021-03-13 07:58:59 +00:00
Ming Di Leom 64fd89a9b4
post(hsts): chromium 89 2021-03-11 04:50:28 +00:00
Ming Di Leom 4def850d59
post: Install NixOS on Oracle Cloud 2021-03-08 22:10:33 +00:00
Ming Di Leom ab5b2795d4
post(eepsite): mention reg.i2p 2021-03-07 12:23:19 +00:00
Ming Di Leom 08750be86b
post(caddy): should not add "Clear-Site-Data" header
- incompatible with cloudflare caching
2021-03-03 05:31:33 +00:00
Ming Di Leom 57e5c59097
build: temporary allow web crawler to netlify
- for web crawler to see X-Robots-Tag header
- https://www.bing.com/webmasters/help/?topicid=37c07477
2021-02-27 01:45:37 +00:00
Ming Di Leom c25639a9ea
build(netlify): reset cache header
- no longer applicable to mdleom.com
2021-02-27 01:32:51 +00:00
Ming Di Leom e79f9c044e
build: temporary allow web crawler to netlify
- for web crawler to see X-Robots-Tag header
- https://www.bing.com/webmasters/help/?topicid=37c07477
2021-02-26 22:13:48 +00:00
Ming Di Leom 5cf1d8c96b
build: add note to robots.txt 2021-02-26 21:40:11 +00:00
Ming Di Leom 2170386773
build: add mirror to yandex
- to request url removal from yandex
2021-02-26 21:01:39 +00:00
Ming Di Leom d7bd99ede9
build: add mirror to yandex
- to request url removal from yandex
2021-02-26 20:56:31 +00:00
Ming Di Leom 166cec061d
build: remove netlify mirror from search result 2021-02-26 20:36:28 +00:00
Ming Di Leom 7d249110cf
build: exclude mirrors from web crawlers 2021-02-26 11:10:54 +00:00
Ming Di Leom 0640fbd8f7
build: add special robots.txt for mdleom.com
- will exclude mirror sites from web crawler
2021-02-26 10:56:50 +00:00
Ming Di Leom ca3181d86b
page(about): add linkedin 2021-02-24 02:44:28 +00:00
Ming Di Leom dd51e1ca4c
page(about): architecture diagram 2021-02-24 02:14:57 +00:00
Ming Di Leom bc3823248f
post(nixos-part-1): update to cloudflare pages 2021-02-22 03:17:13 +00:00
Ming Di Leom f169eed4b5
page(about): describe architecture of mdleom.com 2021-02-22 03:14:27 +00:00
Ming Di Leom 097f3b5801
post(cf-pages): more readable paragraph 2021-02-21 10:50:24 +00:00
Ming Di Leom ee9fbc6631
fix(header): remove 'Clear-Site-Data' header
- may cause issue with cloudflare caching
2021-02-21 08:07:23 +00:00
Ming Di Leom c136674136
post(caddy-v2): tls client auth 2021-02-16 00:55:12 +00:00
Ming Di Leom 457cee1eaf
docs: new backend/mirror curben.pages.dev 2021-02-15 09:13:57 +00:00
Ming Di Leom 305ca04029
post: Deploy Hexo to Cloudflare Pages 2021-02-15 09:12:21 +00:00
MDLeom d90ea24a63 fix(about): update hicss paper to published version 2021-01-21 02:26:18 +00:00
MDLeom e7449110c8
fix: update Statically API endpoint
- new endpoint seems easier to cache, especially when cloudflare is configured not to cache query string
  * https://support.cloudflare.com/hc/en-us/articles/218411427#summary-of-page-rules-settings
- Statically doesn't support resizing webp & gif yet
- screenshot API also doesn't support mobile version
  * it was previously working
2021-01-12 03:32:41 +00:00
MDLeom 23d5e3a2fc
post(caddy2-precompressed): minor grammar 2021-01-11 22:31:49 +00:00
MDLeom 7bb2a520f0
fix(favicon): remove legacy attributes
- https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs
2020-12-23 22:32:52 +00:00
MDLeom c7e7b1ce13
post(alpine-binaries): update to 3.12 2020-12-18 16:48:12 +00:00
MDLeom ca58b7901e
post(cloudflare-hsts): mdleom.com is now in preload list
- but not yet deploy to stable
2020-12-17 14:32:45 +00:00
MDLeom 4289211a09
post(caddy): add gitlab pages as alternative upstream 2020-12-12 10:05:16 +00:00
MDLeom ae363a7de0
post(hexo-gitlab): remove warning 2020-12-12 08:15:13 +00:00
MDLeom 23db552776
post(rhythmbox): add 'linux' tag 2020-12-07 03:06:21 +00:00
MDLeom c834bc2d8d
post(nixos-config): utilise malware-blocking dns
- https://1.1.1.1/family/
- add quad9, tls1.3 & enforce dnssec
2020-12-01 10:56:15 +00:00
MDLeom 0a725e9ecf
fix(redirects): update /files/ paths
- 1f70316713
2020-11-29 02:02:34 +00:00
MDLeom 1f70316713
feat(redirects): /files/ reverse proxy
- reduce 3rd-party links for eepsite compatibility
2020-11-29 01:58:26 +00:00
MDLeom 8c5939b5f1
post: Enabling HSTS preload in Cloudflare 2020-11-21 23:08:23 +00:00
MDLeom 3dd6d31b7e
post(tags): add 'cloudflare' 2020-11-21 10:21:24 +00:00
MDLeom 9a7e4c6a9c
post(cloudflare-caching): correction 2020-11-21 10:17:45 +00:00
MDLeom 9b74a5fce3
fix(img): '/img/' prefix is not required 2020-11-21 03:05:59 +00:00
MDLeom 71eb1fc347
post: Cloudflare does not cache html by default 2020-11-21 02:35:14 +00:00
MDLeom a5d41b429a
post(hexo-guide): mirror correction 2020-11-17 04:52:39 +00:00
MDLeom 4794ed5d7e
post(hexo-guide): add 'netlify' tag 2020-11-17 04:50:23 +00:00
MDLeom 996ea52384
post(hexo-guide): link hexo.io guides 2020-11-17 04:49:10 +00:00
MDLeom a0f37396f4
fix(header): remove Content-Language
- incorrect usage
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Language
2020-11-14 00:53:04 +00:00
MDLeom 775566136c
post(caddy-precompressed): warn about testing on browsers 2020-11-13 23:02:37 +00:00
MDLeom d9077aaf1c
fix(assets): remove cache-buster 2020-11-13 05:17:23 +00:00
MDLeom 56992697a7
post(caddy): xml/rss should not be cached for a week 2020-11-12 22:48:03 +00:00
MDLeom d50f580cc5
post(caddy): dedup config 2020-11-12 22:22:26 +00:00
MDLeom 572a716140
post: 'Serving pre-compressed files in Caddy 2' 2020-11-12 06:53:41 +00:00
MDLeom 153ccfe96a
post(nixos-caddy): fix caddyTwo.nix 2020-11-10 03:17:18 +00:00
MDLeom 259c0aa1b1
post(caddy): hsts header typo 2020-11-10 02:14:10 +00:00
MDLeom 53bdc4548e
post(nixos): attach complete configuration.nix 2020-11-09 01:08:18 +00:00
MDLeom a1c0b6b1d0
post(nixos-caddy): update to NixOS 20.09 & caddy 2.1 2020-11-09 00:55:42 +00:00
MDLeom c2d9914916
post(nixos): switch 'magic-wormhole' to 'wormhole-william' 2020-11-08 05:38:06 +00:00
MDLeom c5badae866
post(nixos): mention kernel is LTS 2020-11-08 04:53:57 +00:00
MDLeom 99ac6b142f
post(caddy): systemd start-rate-limit in 21.03
- https://github.com/NixOS/nixpkgs/pull/97512
2020-11-08 00:17:26 +00:00
MDLeom 3fd090b561
post(caddy): NixOS/nixpkgs#97512 is still in progress 2020-10-31 06:20:55 +00:00
MDLeom 64a5d20284
post(onion-location): fix title 2020-10-24 01:02:43 +00:00
MDLeom 62a7c02da2
post(busybox-aws): encrypt ssh key 2020-10-21 09:12:37 +00:00
MDLeom 92153f9189
post(busybox-aws): grammar 2020-10-21 09:04:22 +00:00
MDLeom c52ec4a752
post: 'Using BusyBox httpd in AWS EC2 for testing' 2020-10-21 06:12:52 +00:00
MDLeom 4c2c62d56f
post(tags): add 'busybox' 2020-10-21 01:20:33 +00:00
MDLeom 46deb55264
page(about): add hicss preprint 2020-10-18 02:50:14 +00:00
MDLeom 9cc697b937
post(jest): no longer use module-export to declare config
- ce8c4a145b
2020-09-28 05:52:42 +00:00
MDLeom 778247fff6
post(nixos): add systemd start-rate limit for older nixos 2020-09-12 05:04:37 +00:00
MDLeom 1cb712b5e3
post(nixos): fix systemd start rate-limits
- https://github.com/NixOS/nixpkgs/pull/97512
2020-09-09 08:42:42 +00:00
MDLeom c6ed614570
post(dns-filtering): Safe Browsing testing 2020-09-03 06:39:16 +00:00
MDLeom b889e3d13c
post: "Override smartypants in marked.js renderer" 2020-08-30 09:54:13 +00:00
MDLeom 86c5649e74
post(caddy-2): must use "caddy reload" to reload config
- ce8860dbfe/init/caddy.service (L25)
2020-08-30 09:23:35 +00:00
MDLeom e12bca5baa
post(embed svg): update hexo-yam config 2020-08-29 11:03:02 +00:00
MDLeom bbdfe74b48
post(tags): rename 'node' to 'node.js' 2020-08-19 02:48:37 +00:00
MDLeom 9265c9024b
post: Snap-installed Node.js cannot spawn() a Node.js app 2020-08-19 02:47:57 +00:00
MDLeom a8a23d535c
fix: move theme icons to theme's folder 2020-08-16 03:33:07 +00:00
MDLeom 9b3b9d569d
fix: move logos from theme to site 2020-08-15 13:28:30 +00:00
MDLeom bbe8f0d0da
page(about): add thesis full text 2020-08-12 05:19:39 +00:00
MDLeom 97d59bb2c7
ci(netlify): set default cache-control 2020-08-07 08:08:51 +00:00
MDLeom f32a721921
ci(netlify): fix header syntax 2020-08-07 07:44:22 +00:00
MDLeom ed3c9b7dc0
ci(netlify): add Clear-Site-Data header
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data
2020-08-07 07:11:23 +00:00
MDLeom b75903616a
ci(netlify): enable hsts preload 2020-08-07 06:29:45 +00:00
MDLeom 91ce67e0ac
ci(netlify): set 1-day cache for *.xml 2020-08-07 06:27:25 +00:00
MDLeom 327deb4781
ci(netlify): increase *.svg cache to 1-week 2020-08-05 08:31:56 +00:00
MDLeom 5ffaaec0dc
ci(netlify): increase *.css cache to 1-week 2020-08-05 08:17:06 +00:00
MDLeom 82b006cd95
post(dedup-obj): mention pull request 2020-08-05 08:14:40 +00:00
MDLeom 6f49bd2357
page(about): add phd thesis abstract 2020-08-02 10:20:21 +00:00
MDLeom ed0f5def11
style: tab to space 2020-07-31 09:06:06 +01:00
MDLeom 28e2caefdc
post: dedup array of objects 2020-07-31 02:20:32 +01:00
MDLeom 6dd5b31a89
post(sign-commit): key should not expire 2020-07-21 06:03:07 +01:00
MDLeom 790ca9b505
post: Sign Git commit with Ed25519 key 2020-07-18 09:05:04 +01:00
MDLeom 8111136d74
post(dns-filtering): add delayed test 2020-07-14 03:37:24 +01:00
MDLeom 07f9bad28c
page(about): add OpenPhish to phishing-filter
- e38bc68ada
2020-07-12 08:49:16 +01:00
MDLeom 200c2fdcca
post(dns-filter): update script links 2020-07-12 03:47:32 +01:00
MDLeom c9eb1d7574
post: dns-filtering test 2020-07-11 09:25:04 +01:00
MDLeom 6d66e4ee66
post(phishing-filter): clarify about DShield source 2020-07-11 09:20:54 +01:00
MDLeom 1eff521182
post(onion-location): add guide for nginx & apache 2020-07-09 03:19:44 +01:00
MDLeom b92095ee4e
post(phishing-filter): add csvquote 2020-07-08 10:09:20 +01:00
MDLeom 452d3c27ea
post: phishing-filter 2020-07-07 11:27:06 +01:00
MDLeom 2443f2b13f
page(about): update size of urlhaus-filter
- number of *online* URLs
2020-07-07 07:01:18 +01:00
MDLeom b7a8e98307
page(about): update list format 2020-07-07 02:59:36 +01:00
MDLeom b199e99493
page(about): add phishing-filter and update urlhaus-filter's description 2020-07-07 02:58:34 +01:00
MDLeom 791f845ca3
fix(404): remove from sitemap and web crawler 2020-06-30 14:34:37 +01:00
MDLeom d063b59e3d
chore(webmaster): add yandex 2020-06-30 11:35:52 +01:00
MDLeom d0ac052b59
feat: 'updated_option' config
- post.updated will be null if not set in front-matter
- https://github.com/hexojs/hexo/pull/4278
2020-06-23 05:27:55 +01:00